On Thu, 2002-07-04 at 00:06, Paul Davis wrote:

> You handle MIDI I/O in its own thread. You use a lock-free
> buffer/fifo/queue between this thread and the one that executes
> process() (or LADSPA's run()) callback. The queue should contain an
> abstract description of recent MIDI events, preferably in some format
> not tied to MIDI because of its poor handling of pitch. The process()
> callback will then pay attention to the events in the
> queue/fifo/buffer, and change the synthesis accordingly.
> 
> The MIDI I/O can be done anyway you want: ALSA sequencer, ALSA
> rawmidi, or raw file descriptors. 
> 
> If its not obvious, I've thought about this a great deal, but I have
> no time to code it :)
> 
> I'd recommend JACK for this. LADSPA is a bit too limited to support
> this because of the GUI issues, unless you use LCP, which might be
> still not be enough and is not supported by any notable LADSPA hosts
> at this time (mea culpa).

Scarey..

http://pkl.net/~node/misc/sequencer-plans-1-scan-small.png
http://pkl.net/~node/misc/sequencer-plans-2-scan-small.png


-- 
Bob Ham: [EMAIL PROTECTED]  http://pkl.net/~node/

My music: http://mp3.com/obelisk_uk
GNU Hurd: http://hurd.gnu.org/

Reply via email to