abcjs icon indicating copy to clipboard operation
abcjs copied to clipboard

Add effect to sounds

Open ehsansh opened this issue 2 years ago • 2 comments

Hi I replaced my own mp3 files instead of the files in FluidR3_GM folder. The problem is that my files sound is clear and nice but when abcjs plays my mp3 files the sound is distorted. How could I fix that?

ehsansh avatar Dec 31 '22 09:12 ehsansh

I guess that means that your sounds are louder? You can test that by putting !ppp! at the beginning of an ABC string and seeing if that helps. In the place where you specify soundFontUrl you can also specify soundFontVolumeMultiplier. That has a default value of one. Try putting 0.5 in and seeing what that does.

paulrosen avatar Jan 08 '23 17:01 paulrosen

Sorry that I didn't explain well. I am not talking about volume of the sound. I mean the kind of sound that abcjs produces is different from the original mp3 files. The kind of sound that I hear from abcjs library is like a artificial musical instrument. I don't know which property of the sound changes after rendering to look not real and unusual instrument sound.

Describing sound of the musical instruments is difficult. Imagine we have two pianos one of them has crystal nice sound which players love it the other one is not enjoyable to play and its sound does not feel good.

ehsansh avatar Jan 08 '23 19:01 ehsansh