> > What about 'internal clipping', how can i reproduce this? > > I notice that when playing many notes of an instrument it starts > sounding clipped, but the output going to the sound card is not full > output. Lowering the synth.gain parameter of course helps this. It > just seems like FluidSynth is rather sensitive to gain problems. I'm > curious how other synthesizers usually handle this. Having something > like automatic gain, would likely cause issues too.
Output volume should by: float out = 0; for (i=0; i < num_notes; i++) out += note_vol[i] ; out *= gain; If we want press five keys together without any clipping, we should set gain=0.2. Right? Or fluidsynth have case, when out < 1, but you hear clipping? _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/fluid-dev