[gmpi] Re: Ramps

  • From: David Olofson <david@xxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Sun, 9 Jan 2005 12:51:50 +0100

On Sunday 09 January 2005 10.31, Jeff McClintock wrote:
[...]
> I suspect you are not comfortable with the small latency introduced
> by ramps.  The inevitable result of obeying the rules of sampling
> theory. The alternative, jagged, stepped output (and also lagged),
> is far worse.

BTW, there is one more, rather serious problem with point events and 
the line of thinking that usually follows: Unless you add a fixed 
delay of at least one audio buffer, you'll actually *generate* random 
jitter when feeding the events into the (audio driven) graph.

So, at least one audio buffer's worth of delay is required anyway, no 
matter how dense the MIDI event stream is. Latency (within reasonable 
limits) doesn't make softsynths unplayable, whereas jitter does, and 
it doesn't take much of it when dealing with percussive sounds.

Finally, remember that sound doesn't travel all that fast... The 
"magic" 3 ms correspond to the distance from your near field monitors 
to your ears.

That said, the latency and jitter issues with softsynths is pretty 
much only about NoteOn events and percussive sounds. Translating CCs 
into ramp events isn't nearly as sensitive to latency, though it's 
probably *more* sensitive to jitter, since timing jitter when 
sampling a signal translates into noies on the value axis.


//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: