Sending and receiving audio via OSC/UDP

Feb 3, 2007 at 2:29pm

Sending and receiving audio via OSC/UDP

Does this work? I will be on a local network (computer-to-computer) so
there will be minimal traffic. Pointers to documentation and examples
appreciated.

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

#30097
Feb 3, 2007 at 2:41pm

No, this will not work.

You’ll have to think in terms of streaming to transfer audio or video over a network.

I am afraid I don’t have much practical experience with audio streaming over the net, so I don’t have any ready pointers to documentation.

Mattijs

#95475
Feb 3, 2007 at 3:50pm

There are Jitter objects (jit.broadcast, jit.qt.broadcast,
jit.net.send/recv) and third-party objects (icecast~) optimized for
audio and video streaming.
Of course, if you use OSC instead, you need to send large packets and
buffer the audio samples. It’s probably wise to downsample the audio
data first.
You may also want to consider streaming spectral data created by
fiddle~ and synthesizing the sounds on the receiver. I’ve done it in
past with acceptable results.

Georg

On Feb 3, 2007, at 3:29 PM, Gary Lee Nelson wrote:

> Does this work? I will be on a local network (computer-to-
> computer) so
> there will be minimal traffic. Pointers to documentation and examples
> appreciated.
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> http://www.timara.oberlin.edu/GaryLeeNelson
>
>

#95476
Feb 3, 2007 at 4:03pm

Where do I get icecast~? It is not found in maxobjects.com.

On 2/3/07 10:50 AM, “Georg Hajdu” wrote:

> There are Jitter objects (jit.broadcast, jit.qt.broadcast,
> jit.net.send/recv) and third-party objects (icecast~) optimized for
> audio and video streaming.
> Of course, if you use OSC instead, you need to send large packets and
> buffer the audio samples. It’s probably wise to downsample the audio
> data first.
> You may also want to consider streaming spectral data created by
> fiddle~ and synthesizing the sounds on the receiver. I’ve done it in
> past with acceptable results.
>
> Georg

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

#95477
Feb 3, 2007 at 4:45pm

http://akustische-kunst.org/maxmsp/index.html

see under section “shoutcast”

lg,P

Gary Lee Nelson wrote:
> Where do I get icecast~? It is not found in maxobjects.com.
>
>
> On 2/3/07 10:50 AM, “Georg Hajdu” wrote:
>
>> There are Jitter objects (jit.broadcast, jit.qt.broadcast,
>> jit.net.send/recv) and third-party objects (icecast~) optimized for
>> audio and video streaming.
>> Of course, if you use OSC instead, you need to send large packets and
>> buffer the audio samples. It’s probably wise to downsample the audio
>> data first.
>> You may also want to consider streaming spectral data created by
>> fiddle~ and synthesizing the sounds on the receiver. I’ve done it in
>> past with acceptable results.
>>
>> Georg
>
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> http://www.timara.oberlin.edu/GaryLeeNelson
>
>

#95478
Feb 5, 2007 at 8:14pm

Mattijs Kneppers wrote:
> No, this will not work.

I have seen an example external at the ICMC in Barcelona which streamed
Audio thru the airport with udp. That means it is possible, I forgot who
made it, it wasn’t public at that time, but it worked… (I’ll dig for
it…)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#95479
Feb 6, 2007 at 9:51am

Quote: Stefan Tiedje wrote on Mon, 05 February 2007 21:14
—————————————————-
> Mattijs Kneppers wrote:
> > No, this will not work.
>
> I have seen an example external at the ICMC in Barcelona which streamed
> Audio thru the airport with udp. That means it is possible, I forgot who
> made it, it wasn’t public at that time, but it worked… (I’ll dig for
> it…)

Hey, that’s interesting. But it was not OSC, I assume. One packet header for every 64 samples, a float type indicator for every sample? ;)

Mattijs

>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
—————————————————-

#95480

You must be logged in to reply to this topic.