Re: [LAD] AMS to Ingen: VC to PCM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Sunday, September 25, 2011 - 10:10 am

On Sun, Sep 25, 2011 at 09:52:23AM +0100, Aurélien Leblond wrote:

> I'm porting the AMS internal modules to LV2 plugins to be used in Ingen.

?? You seem to be confusing some things.

AMS modules can have 3 types of ins/outs

1. Audio in/out ports. These are just blocks of samples, same
as e.g. Jack buffers. Some call this 'PCM' but that is a
misnomer.

2. Control in/out ports. These are technically identical to
audio ports (full sample rate), but the signals carried
on them are normally not meant to be audio. How they are
interpreted depends on the module and the particular port.
Frequency control inputs can be linear or log, in the latter
case that means 1/octave. Gain controls can be linear or log,
there is AFAIK no fixed conversion factor for the latter. For
example the VCA module uses 80dB/1 in exponential mode, but
other gain controls may be different.

Control ports are audio rate, but most modules/plugins subsample
some or most of them. They either just use the first value in a
block, or recompute internal paramters based on the last value
in a block and then interpolate them linearly.

Since control signals are (at least officially) at audio rate,
LADPSPA plugins designed to be used in AMS (e.g. mine) will
declare their control inputs as audio inputs.

3. Input ports corresponding to GUI widgets. These are control rate,
read once per block. They can be int or float. For continuous values
the sliders of built-in modules are always linear, any log/exp
conversion is done internally. For plugins this is different, as
a LADSPA can request the host to use a log/exp slider.

Ciao,

--
FA

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 8:52 am)
[LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 1:28 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:01 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Mon Sep 26, 1:37 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Loki Davison, (Mon Sep 26, 2:15 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Thorsten Wilms, (Mon Sep 26, 2:11 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 2:39 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 3:07 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:09 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Thorsten Wilms, (Sun Sep 25, 3:18 pm)
[LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM), David Robillard, (Sun Sep 25, 9:50 pm)
Re: [LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM), Stefano D'Angelo, (Mon Sep 26, 10:22 am)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:11 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 10:02 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 10:20 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Mon Sep 26, 9:08 am)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Mon Sep 26, 1:13 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 10:10 am)
Re: [LAD] AMS to Ingen: VC to PCM, Gabriel Beddingfield, (Sun Sep 25, 1:53 pm)