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 - 2:15 pm

--Apple-Mail-1-518904479
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii

On 19 Feb 2010, at 13:47, Fons Adriaensen wrote:

> On Fri, Feb 19, 2010 at 04:20:19PM +0300, alex stone wrote:

If the receiving application is going to smooth the data back up to =
audio rate anyway then what's the point? If the sender has already got =
audio-rate data then this is a big *lose* efficiency wise, with the =
sender spending cycles decimating a buffer that's going to be upsampled =
as soon as it arrives. Even if the sender hasn't got audio-rate data, it =
might as well do the smoothing itself rather than push the cost into =
*all* the apps that receive the data.

"control rate" optimisations make more sense when you're NOT going to =
smooth the data, eg when you don't want to update your filter parameters =
every sample. In this case (as I just said in another post) the receiver =
can skip down an audio buffer at control rate jumps with no help from =
anybody.

--Apple-Mail-1-518904479
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii

On 19 Feb 2010, at 13:47, Fons Adriaensen =
wrote:On Fri, Feb 19, 2010 at 04:20:19PM +0300, alex stone =
wrote:The use case i'm thinking of is =
a crescendo or decrescendo using gainin a continuous stream of data. Will 1/16 reduce =
the......"smoothness"?No, the DSP code has to =
perform smoothing anyway, no matterwhat the source of the control =
data is. Does your GUI faderprovide smooth audio rate updates ? Of =
course not, you'd belucky if it updates 25 times per =
second.If =
the receiving application is going to smooth the data back up to audio =
rate anyway then what's the point? If the sender has already got =
audio-rate data then this is a big *lose* efficiency wise, with the =
sender spending cycles decimating a buffer that's going to be upsampled =
as soon as it arrives. Even if the sender hasn't got audio-rate data, it =
might as well do the smoothing itself rather than push the cost into =
*all* the apps that receive the data."control =
rate" optimisations make more sense when you're NOT going to smooth the =
data, eg when you don't want to update your filter parameters every =
sample. In this case (as I just said in another post) the receiver can =
skip down an audio buffer at control rate jumps with no help from =
anybody.=

--Apple-Mail-1-518904479--

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)