Re: [LAD] CV data protocol in apps.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Friday, February 19, 2010 - 12:50 pm

On Fri, Feb 19, 2010 at 03:51:22AM +0100, torbenh wrote:

> On Thu, Feb 18, 2010 at 06:09:42PM +0100, fons@kokkinizita.net wrote:

Apps using this may have a preference, but I see no difficulty
in defining the a fixed control/audio ratio of 1/16.
The intended use is to patch control signals, e.g. source
positions in a spatialisation system, or more classical
automation data such as gains and filter paramaters.
1/16 would provide a bandwidth of 1500 Hz (for a sample
rate of 48000) which is some overkill in many cases, but
otherwise good to have.

> if we dont mandate that a jack period is always an integer multiple

With a ratio of 1/16 you can just define the first sample
of control buffer to coincide with the first sample of
the current audio period.

> hmm... its not completely obvious to me how it could survive

You're close, see below.

> i am a bit wary because this still seems a lot more expensive than

It's not meant as a replacedment for generic timestamped events.
I just mentioned it to make the point that a lower sampling rate
does not limit timing precision.

If your 'perfect' control signal would be a digital one
using -1,+1 at e.g. audio rate, and the transitions
always have a minimal distance, then downsampling it
preserves all information. You can later upsample it
again, and the zero-crossings will be at the original
position.

Exactly the same thing can be done if the original
signal consists of singe-sample triggers (Dirac
impulses). In that case, the peaks of the resulting
waveform will be at the original positions.

Now suppose you have audio tracks at 48 kHz and
control tracks at 3 Khz, and you need to resample
the audio to 44.1 kHz. Resampling the control
tracks to the same ratio will again preserve all
information.

Using full-quality resampling algos for this is of
course just a wast of resources. You could just use
cubic interpolation. In that case each impulse or
transition would required four 'samples', and they
could even overlap a bit. So at 44.1 or 48kHz / 16
you could roughly have one transition or impulse
each millisecond, with 'infinite' resolution.

Ciao,

--
FA

O tu, che porte, correndo si ?
E guerra e morte !
_______________________________________________
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] CV data protocol in apps., alex stone, (Thu Feb 18, 9:54 am)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 11:19 am)
Re: [LAD] CV data protocol in apps., Jörn Nettingsmeier, (Thu Feb 18, 11:38 am)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 12:15 pm)
Re: [LAD] CV data protocol in apps., torbenh, (Thu Feb 18, 11:33 am)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 11:47 am)
Re: [LAD] CV data protocol in apps., torbenh, (Thu Feb 18, 11:26 am)
Re: [LAD] CV data protocol in apps., Jörn Nettingsmeier, (Thu Feb 18, 10:13 am)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 10:32 am)
Re: [LAD] CV data protocol in apps., Julien 'Lta' BALLET, (Thu Feb 18, 10:30 am)
Re: [LAD] CV data protocol in apps., , (Thu Feb 18, 4:36 pm)
Re: [LAD] CV data protocol in apps., Paul Davis, (Thu Feb 18, 4:43 pm)
Re: [LAD] CV data protocol in apps., , (Thu Feb 18, 5:14 pm)
Re: [LAD] CV data protocol in apps., torbenh, (Fri Feb 19, 2:50 am)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 12:50 pm)
Re: [LAD] CV data protocol in apps., torbenh, (Sat Feb 20, 6:30 am)
Re: [LAD] CV data protocol in apps., , (Sat Feb 20, 12:27 pm)
Re: [LAD] CV data protocol in apps., Paul Davis, (Sat Feb 20, 12:46 pm)
Re: [LAD] CV data protocol in apps., alex stone, (Fri Feb 19, 1:05 pm)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 1:44 pm)
Re: [LAD] CV data protocol in apps., nescivi, (Sat Mar 6, 5:10 pm)
Re: [LAD] CV data protocol in apps., torbenh, (Sat Feb 20, 5:14 am)
Re: [LAD] CV data protocol in apps., alex stone, (Fri Feb 19, 1:20 pm)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 1:48 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 2:15 pm)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 2:53 pm)
Re: [LAD] CV data protocol in apps., alex stone, (Fri Feb 19, 1:31 pm)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 5:32 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 2:00 pm)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 2:32 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 2:56 pm)
Re: [LAD] CV data protocol in apps., Fons Adriaensen, (Fri Feb 19, 3:31 pm)
Re: [LAD] CV data protocol in apps., Nick Copeland, (Sat Feb 20, 12:20 am)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 4:30 pm)
Re: [LAD] CV data protocol in apps., Paul Davis, (Fri Feb 19, 4:41 pm)
Re: [LAD] CV data protocol in apps., Jörn Nettingsmeier, (Fri Feb 19, 6:34 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 7:44 pm)
Re: [LAD] CV data protocol in apps., , (Fri Feb 19, 8:59 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 9:01 pm)
Re: [LAD] CV data protocol in apps., , (Fri Feb 19, 9:07 pm)
Re: [LAD] CV data protocol in apps., Simon Jenkins, (Fri Feb 19, 9:39 pm)
Re: [LAD] CV data protocol in apps., , (Fri Feb 19, 10:15 pm)
Re: [LAD] CV data protocol in apps., alex stone, (Fri Feb 19, 9:09 pm)
Re: [LAD] CV data protocol in apps., , (Fri Feb 19, 5:34 pm)
Re: [LAD] CV data protocol in apps., Paul Davis, (Fri Feb 19, 5:39 pm)
Re: [LAD] CV data protocol in apps., , (Fri Feb 19, 6:29 pm)
Re: [LAD] CV data protocol in apps., Paul Davis, (Thu Feb 18, 5:38 pm)
Re: [LAD] CV data protocol in apps., Julien 'Lta' BALLET, (Thu Feb 18, 7:34 pm)
Re: [LAD] CV data protocol in apps., torbenh, (Thu Feb 18, 10:52 am)
Re: [LAD] CV data protocol in apps., alex stone, (Thu Feb 18, 10:39 am)
Re: [LAD] CV data protocol in apps., Nick Copeland, (Thu Feb 18, 1:40 pm)