-
romulovieira-me
@whale-av You are welcome. I hope to help those who faced the same problem as me
-
romulovieira-me
@whale-av SOLVED
Thanks for the usual help.
-
I used the Pure data patch you posted and made some changes. In short, it was enough to use mrpeach and write the objects with their default name (patch: test_send_hello.pd )
-
to create the server in python, I used the base code of python-osc, available at: https://pypi.org/project/python-osc/
I made the necessary changes so that I could send the messages in the format I wanted (code available at: osc_server.py ) -
to see the active server, I ran the python file on a linux terminal (I imagine it works the same on WIndows or Mac)
I really appreciate the help.
-
-
romulovieira-me
@whale-av Thanks for answer.
it's because I had some doubts about the OSC message. At first, I was unable to send the word "Hello" over the network using OSC. Now, I find myself unable to send OSC messages other than using mrpeach.In Python, I don't know how to indicate that it should receive the message from Pure Data.
Oh gosh ... this is hard -
romulovieira-me
@alexandros Hello, thanks for the reply.
I am sending OSC messages using mrpeach. Python 3, more specifically in version 3.8 -
romulovieira-me
Dear community,
I created a patch on Pure data (test_hello_in_string_with_osc.pd ) capable of sending the word "Hello" over the network via the OSC protocol. Now, I want to send it to a Python script. How do I do this?Through my research, I found works that send a message from Python to Pure data, but I want the opposite.
I appreciate the help.
-
romulovieira-me
@whale-av Solved
-
I had to put the two computers that were going to exchange messages on the same multicast address. This link was helpful https://low-orbit.net/linux-how-to-join-multicast-group
-
[ggee/streamout~] didn't really work. I used [mrpeach/net/udpsend ~].
Thus, my code was as follows:
[connect 239.255.255.250 8080]
|
|
[dac~]
|
|
[mrpeach/net/udpsend~ 8080 2]So, I sent the audio from the microphone connected to one computer to another, via the network and using multicast
-
-
romulovieira-me
@whale-av Thanks for the answer. I tried address 224.0.0.1 and got multicast access to OSC information. But the audio still doesn't work.
Should I join a multicast group? -
romulovieira-me
Dear community,
I am trying to send multicast audio from one computer to another as follows:
[connect 224.0.0.0 8080]
|
|
|
[ggee/streamout~]Pure data log returns the message: "connecting to a multicast address", but the audio is still not received.
Can you help me?
Thanks
-
romulovieira-me
SOLVED
it was enough to add .local to the end of the hostname on the target machine. So the code looks like this
[connect r-inspiron3442.local 8000]
|
|
|
[ggee/streamout~]Thanks for the help!!!
-
romulovieira-me
@whale-av Both computers are running Linux Ubuntu Studio 20.04