Re: [LAU] Online resources/books for programming sound synthesis software?

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Apr 13 2007 - 14:57:34 EEST

Damon Chaplin wrote:
> On Thu, 2007-04-12 at 15:40 +0200, Robin Gareus wrote:

>> minor detail - in the jack_process callback:
>>
>> add jack_port_get_total_latency(..) to Note[i].oscillator_offset;
>
> Can you explain that a bit more - why is it needed?

imagine you "pipe" the output of your synth thru an effect that
introduces a latency (delay).

It might seem insignificant - but: if you use two of those synths with
different Effects afterwards, you get phasing effects!

similar if you have multiple output ports:
http://jackaudio.org/files/docs/html/jack_8h.html#a38

[JACK]MIDI allows to timestamp midi-events. - So the synth-osc's
themselves could be in sync. - try to start two of them, invert the
polarity of one and check if the resulting signal is zero. (bitscope)

If it is, add a LADSPA DJ-EQ (1901) to one of the channels, IIRC that
introduces a latency of 3 samples on that channel and you should hear
some phased signal.

#robin
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Fri Apr 13 16:15:02 2007

This archive was generated by hypermail 2.1.8 : Fri Apr 13 2007 - 16:15:02 EEST