Welcome to %s forums

BrainModular Users Forum

Login Register

VSTs to communicate over LANs

General Discussion about whatever fits..
Post Reply
bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 09 Oct 2007, 12:28

Found on KVR: Maybe interesting for some of you with more than one machine: http://www.tuppesoft.com/audiotunnel.html
Bjørn S

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 09 Oct 2007, 14:19

interesting.
I have discover a small bug in the transmission of audio data with the osc modules.
Now it works so the osc layer of usine can do a good job for that!
next release

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 29 Feb 2008, 18:47

I want to try to send audio flow from my computer to an other by OSC. But i am not very proud with networks job ...

So i conect the audio out from a sampler to OSC SEND data1. On the over computer i connect the OSC receive data1 to Audio Out ..... ????
Is it OK ?

OSC is active on the two computer. One of them has the IP adress 192.168.1.60 and the other one 192.168.1.135. They are connected to my livebox at home.

But No sound transmit ????


Is there any job to do with port number ?

Did someone could explain to me how to do that ?

Thank you

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 29 Feb 2008, 20:38

normally it's simple:
with usine you don't need to deal with IP adr or ports; they are only available for precises & complex routings

we suppose that computer1 sends and computer2 receives

1)activate osc on both computers
2) on the computer1 take a osc send modulex2 and set the TYPE to array(b)
3) set the osc addr to something like /usine/audio1 or what ever
4) on the computer2 verify that yoy receive osc packets over the lan: open osc setup windows;. Normally it will display osc packets. If nothing hapend on cpt2 it because your lan is not well configured; welcome to the Windows lan setup....
5) on cp2 take a osc receivex2 and the addr to /usine/audio1 (see point 1)
6) data1 data2 outlets sends the audio flows.

that's all!!!

grego mondo
Member
Posts: 466
Location: 22110 Rostrenen
Contact:

Unread post by grego mondo » 29 Feb 2008, 20:54

adress must be between //
lets call your audio flow : audio
address : /audio/
ip : 192.168.1.60 ou 192.168.1.135 (anyway the other computer's IP)

I didn't try to send audio yet, only synchro (tempo, beats per bar, cycle and cycle start) and datas ... in the "Punch In Weird" Adds On, the patch on track 9 is the one I used)

may be it took me too long to answer (had to turn on Usine computer and started writting in french (it took me about five minutes to realize it)
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 29 Feb 2008, 21:17

You're right if we want to respect osc specifications but it works with any string with Usine!
But it's better to fill something like /usine/audio1/
and normally you don't have to deal with the IP adr:

- as a server (send osc) Usine sends in 'broadcast' mode by default. It means that all computers connected to the network receive the data's at the same time. you don't need to specify any particular IP except if you want for example send some data's to a computer and other dats's to another computer.

- as a client, Usine take every incoming osc msg from all the computers, Internet etc... Every thing. Except if you specify an IP adr, so usine apply filters to get data's only from this particular computer.

So in a basic "2 computers" network you can forget IP's!

And also it's recommended to use precise IP's on stage: IP are generated dynamically, it means that an adr can change over the time, especially if you switch off a computer for any reason (like a bug).

Ho yes I know usine is supposed to never crash, but we never know...

I forgot, I plan to create a set of modules to be able to play in "Lan Live Sessions" with Usine:
- audio compression/decompression to send audio over the net
- auto synchronization
- etc.

not really a priority but soon I hope.

grego mondo
Member
Posts: 466
Location: 22110 Rostrenen
Contact:

Unread post by grego mondo » 29 Feb 2008, 21:35

I forgot, I plan to create a set of modules to be able to play in "Lan Live Sessions" with Usine:

Waouh !!
that would be nice
time is never fast enought
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX

User avatar
cmodica
Member
Posts: 606
Location: Pélissanne
Contact:

Unread post by cmodica » 01 Mar 2008, 16:32

OK .... I think i understand. So it works well and very simple if i connect the two computers by LAN Cable. But impossible to work in wifi mode. Nothing arrived in USINE. Just a few TCP and 2 or 3 UDP information but no maters with my data sended !!!!!!

I will be crazy !! I don't understand what is the problem !! I can shared files on the two computers by wifi, it seems to be something IN and OUT in my fire wall, it is the same problem without firewall .....

I need to stop before my brain crash .....

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 01 Mar 2008, 17:49

normally any packet received by the computer is sent to Usine.
so check your installation and take care of your brain....

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests