List Info

Thread: Re: Online resources/books for programming sound synthesis software?




Re: Online resources/books for programming sound synthesis software?
country flaguser name
Netherlands
2007-04-13 06:57:34

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-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )