Forums > MaxMSP

voip-like phone using Max

May 1, 2014 | 8:05 pm

Hi all,

I’ve searched the forums to no avail.

I’m trying to create a patch that is like a voip phone but within max. i.e. there is a phone plugged into one computer and another phone plugged into a second computer and folk can talk to eachother over the network.

I have no difficulty sending audio from one computer to another using jit.net.send, etc. but when I try to send it in both directions I’m getting a feedback loop. I have selected different ports to send the audio from each computer.

And this is over a LAN so no connection to the web is necessary.

and i’m using headphones with mic like the ones that come with the iphone.

Hopefully, someone has done this before?

Cheers,

Carey

  • This topic was modified 4 months by  dodgeroo.
  • This topic was modified 4 months by  dodgeroo.

May 2, 2014 | 5:31 am

Hard to say without looking at your patch.


May 2, 2014 | 2:58 pm

below is the patch. there is one of these on each computer with the changing of the send and receive ports to match. it’s a bit messy as it’s a work in progress.

my main question is… is it possible to both send and receive audio between computers on a LAN?

Cheers,

Carey

– Pasted Max Patch, click to expand. –

May 3, 2014 | 11:27 am

Hi,

I found solution. There must have been an audio feedback loop internally somewhere in my previous patch? A lesson in keeping patches tidy ;)

Attached are simple patches that can be used to send and receive audio over a network.

I’m surprised I couldn’t find this on the forums. Maybe I wasn’t looking in the right place?

Anyway, I think this could be useful for a variety of applications.

Cheers,

Carey


May 3, 2014 | 12:51 pm

I am still getting feedback?

attached are some updated patches that work for my phone application but it would be great to have the ability to send and receive audio over a LAN without feedback within Max. maybe something to do with the ‘localhost’. I’m not versed enough in network stuff to troubleshoot the issue.

Cheers,

Carey


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