Re: [LAU] open hw soundcard

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Karl Hammar <karl@...>
Cc: <linux-audio-user@...>
Date: Sunday, November 15, 2009 - 5:57 pm

On Sun, Nov 15, 2009 at 6:38 AM, Karl Hammar wrote:

OSC is not a new thing - its been around for more than a decade. It is
widely known that its text-based format represents significant,
measurable overhead when the message rate is high, primarily calls to
strcmp (or any equivalent function that you want to write - one way or
another, you have to do byte-by-byte comparisons to identify the
message and its destination). OSC is a remarkably flexible protocol
that has many potential uses, but as fons noted if you increase the
message rate to the level that would be needed for some kinds of less
conventional control, and the text based format is demonstrably a
*proven performance issue*. does that mean that OSC is useless? far
from it. this is much less of an issue than the lack of any clear
semantics. but its still an issue to be aware of depending on the use
case.

> ...

actually, the "lo" in liblo stands for "lightweight OSC", and is very
specifically NOT a full implementation of the protocol. steve chose to
implement just the parts that seemed actually useful. i have not come
across anything that liblo can't handle, but its a mistake to think
that its the whole thing. it is, though, as fons notes, more expensive
than a custom designed codebase that delivers primarily preformatted
messages to a socket.

> Ok, I'll try liblo first, if that is to slow, I'll implement it

i strongly suggest that you spend time defining precisely what you
want the control protocol to be able to do before you start this kind
of experiment.
_______________________________________________
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)