Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

output sound is very low #1

Open
joobian opened this issue Apr 23, 2020 · 4 comments
Open

output sound is very low #1

joobian opened this issue Apr 23, 2020 · 4 comments

Comments

@joobian
Copy link

joobian commented Apr 23, 2020

the program is marvelous! But I cannot really get it to work because the output volume is very very low. It indeed captures the MIDI to Wav with the specified samplerate, but I am not sure why it is not working as expected. any idea?

I also tried switching default soundcards but the results did not change...

@alcomposer
Copy link

alcomposer commented Apr 23, 2020

Can you test with:

<region> sample=*sine

Post your output here, and the MIDI file.

@joobian
Copy link
Author

joobian commented Apr 23, 2020

very good suggestion. I created a test instrument as follows:

<global>
<group>
<region> sample=*sine lokey=0 hikey=127 pitch_keycenter=64

The wav file was loud. at some parts, it was too loud, causing loud clicks in the wav file, that could be avoided if there was a volume option, similar to Sforzando.

But the problem remain with literally my piano samples... very confusing... sfizz_jack loads the instruments without a problem. There seem to be a problem causing the volume drop somewhere. For example, rain piano sfz renders it very fine but my other piano libraries have the extreme low volume problem! strange.

@paulfd
Copy link
Member

paulfd commented Apr 24, 2020

Hi,

You can use a volume opcode to tweak the sound. There is a good chance that the clicks are more due to abruptly ending the waveform since there is no release envelope applied by default---Sforzando applies a small relase envelope in all cases.

We can check more what's happening to your piano but for this we would need the sfz and midi file you are using 🙂

@joobian
Copy link
Author

joobian commented Apr 26, 2020

let me explain it in this way. If i load the SFZ with sfizz and capture the JACK output, I will end up with a very different audio file than using sfizz-render. There are some factors influencing the rendered audio that should be tweakable by additional options. But I am not sure what these factors are.

For examle, the clicks I mentioned do not appear in sfizz, but appear in sfizz-render because the audio file is too loud or too low. is there a way to ckeck what is going on?

I can, for example use a free Piano SFZ from the internet to demonstrate and reproduce the error, if that'd be of help to you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants