fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right


From: Josh Green
Subject: Re: [fluid-dev] some notes of Cadenza.sf2 don't sound right
Date: Mon, 19 Mar 2007 11:25:57 +0000

On Sun, 2007-03-18 at 23:47 +0200, Mihail Zenkov wrote:
> > > 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?
> 

As long as that seems like a normal way of handling clipping, then I
suppose its OK.  I was just curious if there are any more elegant
solutions.  Unfortunately I'm no DSP expert, but I get by OK :)  Cheers!
        Josh






reply via email to

[Prev in Thread] Current Thread [Next in Thread]