Re: [LAU] open hw soundcard

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: <fons@...>
To: <linux-audio-user@...>
Date: Sunday, November 15, 2009 - 11:17 am

On Sun, Nov 15, 2009 at 10:03:24AM +0100, Karl Hammar wrote:

This 'telnet style' has existed for almost as long unix has,
and clearly there was a need for something more efficient in
some types of application.

A typical use for OSC is as an the interface between a
composition language and a real-time sysnthesis engine.
For example SuperCollider works this way. If you send 1000
messages per second to 25 granular synthesis channels each
(i.e. 25k messages/s) then the printf(),scanf() overhead
is not trivial at all. And you certainly don't want to
read all of them.

In many cases (if only a limited set of commands is required,
no wildcards, no timed commands) OSC encoding/decoding can be
done almost 'zero-copy' and using just a few lines of very
simple code. The biggest error you can make in such cases, if
efficienty is an issue, is to use a general purpose 'full'
implementation such as e.g. liblo.

Ciao,

--
FA

Io lo dico sempre: l'Italia รจ troppo stretta e lunga.

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

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

Messages in current thread:
Re: [LAU] open hw soundcard, Karl Hammar, (Sat Nov 14, 1:04 pm)
Re: [LAU] open hw soundcard, Joshua Boyd, (Wed Nov 25, 4:42 am)
Re: [LAU] open hw soundcard, Karl Hammar, (Wed Nov 25, 2:58 pm)
Re: [LAU] open hw soundcard, Paul Davis, (Sat Nov 14, 2:34 pm)
Re: [LAU] open hw soundcard, Folderol, (Sat Nov 14, 4:36 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Sat Nov 14, 10:42 pm)
Re: [LAU] open hw soundcard with ext. codec, Martin Homuth-Rosemann, (Tue Nov 17, 10:04 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Wed Nov 18, 5:37 pm)
Re: [LAU] open hw soundcard with ext. codec, Martin Homuth-Rosemann, (Thu Nov 19, 10:06 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Fri Nov 20, 12:56 am)
Re: [LAU] open hw soundcard with ext. codec, Folderol, (Thu Nov 19, 10:30 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Fri Nov 20, 1:01 am)
Re: [LAU] open hw soundcard with ext. codec, Folderol, (Fri Nov 20, 8:36 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Sat Nov 21, 11:26 am)
Re: [LAU] open hw soundcard with ext. codec, Folderol, (Sun Nov 22, 6:47 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Mon Nov 23, 1:40 pm)
Re: [LAU] open hw soundcard with ext. codec, Patrick Shirkey, (Sat Nov 21, 3:06 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Mon Nov 23, 1:45 pm)
Re: [LAU] open hw soundcard with ext. codec, Folderol, (Sun Nov 22, 6:52 pm)
Re: [LAU] open hw soundcard with ext. codec, Patrick Shirkey, (Sun Nov 22, 10:13 pm)
Re: [LAU] open hw soundcard with ext. codec, Karl Hammar, (Mon Nov 23, 3:08 pm)
Re: [LAU] open hw soundcard with ext. codec, Folderol, (Tue Nov 17, 10:20 pm)
Re: [LAU] open hw soundcard, Folderol, (Sun Nov 15, 5:50 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Sun Nov 15, 9:54 pm)
Re: [LAU] open hw soundcard, Folderol, (Sun Nov 15, 11:22 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Mon Nov 16, 12:32 pm)
Re: [LAU] open hw soundcard, Martin Peach, (Sun Nov 15, 10:52 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Mon Nov 16, 9:56 am)
Re: [LAU] open hw soundcard, Folderol, (Mon Nov 16, 9:14 pm)
Re: [LAU] open hw soundcard, Folderol, (Mon Nov 16, 10:26 pm)
Re: [LAU] open hw soundcard, , (Sat Nov 14, 10:20 pm)
Re: [LAU] open hw soundcard, Folderol, (Sat Nov 14, 10:31 pm)
Re: [LAU] open hw soundcard, , (Sat Nov 14, 10:54 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Sun Nov 15, 9:04 am)
Re: [LAU] open hw soundcard, , (Sun Nov 15, 11:17 am)
Re: [LAU] open hw soundcard, Karl Hammar, (Sun Nov 15, 11:38 am)
Re: [LAU] open hw soundcard, Paul Davis, (Sun Nov 15, 5:57 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Sun Nov 15, 7:06 pm)
Re: [LAU] open hw soundcard, Folderol, (Sun Nov 15, 6:54 pm)
Re: [LAU] open hw soundcard, Hans Wilmers, (Mon Nov 16, 1:25 pm)
Re: [LAU] open hw soundcard, Karl Hammar, (Sat Nov 14, 10:51 pm)