On Mon, 15 Jul 2002 12:00:37 +0200
J�rgen Zimmermann <[EMAIL PROTECTED]> wrote:

> Hello,

Hi

> I just joined the "linux-audio-dev" list a few days ago,
> and after some time studying the ladspa.h file, I have
> still some questions left:
> 
> 1. Must the buffers assigned to audio input and audio output ports 
>    have the same length? Where is this stated???
>    The sample implementations suggest so, though...

Yes, they must. It isn't stated anywhere explicity AFAIK, but the run()
function is only passed one value for the sample count, so this would
have to indicate the size of all buffers. The buffer size need not be
constant for every call to run(), though.

> 2. Is there any range constraint applied to the audio content
>    communicated by the audio input/audio output ports?
>    VST e.g. does restrict the range from -1.0 to +1.0.

I'd say that if the audio ports are carrying audio data (as in,
something that would eventually come out of speakers), this range would
be the suggested constraint (I think there has been discussion about
this before, but before I got here...)

However, it is possible that you may use ports of type LADSPA_PORT_AUDIO
to carry other types of data - I've made plugins that use
LADSPA_PORT_AUDIO ports for e.g. frequency inputs, as CONTROL type ports
don't always have the resolution needed (try doing a cutoff sweep on a
filter using a control port, and you'll hear what I mean!).

> 
> So long,
>   J�rgen
> 
> -- 
> ----------------------------------------------------------------
>  J�rgen Zimmermann               Department of Computer Science
>  [EMAIL PROTECTED]   University of Kaiserslautern
>  Phone: +49 631 205 3280         P.O. Box 3049
>  Fax:   +49 631 205 3299         67653 Kaiserslautern, Germany
>  WWW:   http://wwwdbis.informatik.uni-kl.de/staff/Zimmermann/
> ----------------------------------------------------------------

-- 
Myk

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.comm

Reply via email to