Re: [linux-audio-dev] protux, stereo and interleaving

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

Subject: Re: [linux-audio-dev] protux, stereo and interleaving
From: David Olofson (david_AT_gardena.net)
Date: Fri Feb 09 2001 - 13:19:49 EET


On Friday 09 February 2001 11:57, Iain Sandoe wrote:
> > - the time to [de]interleave data is a knats-p in a
> > millpond compared to doing 600+ FFTs in real-time...
>
> Agreed.... and one can apply this argument to many facets of the
> process... unfortunately you then end up with 10**N gnats... which
> is one hell of a lot of p.

Yep, another good argument. That's another reason why I'm not just
throwing the pitch in.

BTW, this pitch value is more easy to use than it may seem. From the
Host perspective, it's just a matter of telling a Plugin how many
physical channels a buffer has when connecting one of the Plugin's
Buffer Slots to it. (Pitch is effectively # of channels * sample
frame size in any normal buffer.) Use the channel number to index the
buffer pointer when calculating the pointer to pass to the Plugin.

The Plugin POV? Well, just make sure to store the argument whenever
you get a pitch event, just as you store the pointer when you get a
new buffer address. And use that pitch when indexing the buffer, of
course. :-)

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david_AT_linuxdj.com -'


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

This archive was generated by hypermail 2b28 : Fri Feb 09 2001 - 13:38:55 EET