Re: [linux-audio-dev] Plugin APIs (again)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Plugin APIs (again)
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Sun Dec 08 2002 - 12:58:15 EET


On Sat, Dec 07, 2002 at 09:00:46 -0800, Tim Hockin wrote:
> Do we want to provide a suggested range of values for MIDI compatible
> controls. For example Controls that are labelled CONTROL_AFTERTOUCH should
> expect values between 0 and 1.0, and the host can map MIDI onto that? Or 0
> and 127, like MIDI? or 0 and MAX_INT and let the synth blow up when you
> pass a VELOCITY of 10000, and it expects 127?

I think they should be normalised to [0,1], theres nothing special about
MIDI.
 
> I had been assuming a single event-queue per instance. Two questions: why
> would a plugin (assuming not multi-timbral for now) have more than one
> event-queue? Assuming we do support multi-timbral synths, is there an
> advantage to having events per-channel event-queues? Do you envision each
> Channel getting the ->run() method seperately, or does ->run() loop? If it
> is looping anyway, is there an advantage to multiple event-queues?

If we support multi timbrality a the API level then there is no point
having multiple queues (I think), you can just have "timbre" and "voice"
values in the struct (wow, multi-timbral really makes no sense does it ;)

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 08 2002 - 13:05:19 EET