Re: [fluid-dev] About some default values.

2018-05-17 Thread Carlo Bramini
Hello, thank you for the replies. > 1) A gain of 1 might easily result in clipping for loud Soundfonts and > > MIDIs that use many voices. > I see. > > But the question remains: Why would you need 192kHz? > I was interested to try the highest frequency allowed by the DAC that I'm u

Re: [fluid-dev] About some default values.

2018-05-16 Thread Tom M.
1) A gain of 1 might easily result in clipping for loud Soundfonts and MIDIs that use many voices. 2) Not sure. It could be that the interpolation routines of fluid_rvoice_dsp.c are not capable of upsampling (any low) sample rate by that high factor, so one has chosen a "lower" limit of 96kHz. Ofc

[fluid-dev] About some default values.

2018-05-16 Thread Carlo Bramini
Hello, I was wondering if there is a particular or historical reason because: 1) synth.gain is set to 0.2f instead of 1: https://github.com/FluidSynth/fluidsynth/blob/04930d62d16657348deac0213b3338d7189ed4d2/src/synth/fluid_synth.c#L206 2) maximum value for synth.sample-rate is 96000, this makes