Forums > MaxMSP

Sending and receiving audio via OSC/UDP

February 3, 2007 | 2:29 pm

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


February 3, 2007 | 2:41 pm

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


February 3, 2007 | 3:50 pm

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
>
>


February 3, 2007 | 4:03 pm

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


February 3, 2007 | 4:45 pm

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
>
>


February 5, 2007 | 8:14 pm

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


February 6, 2007 | 9:51 am

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
>
>
—————————————————-


Viewing 7 posts - 1 through 7 (of 7 total)