• romulovieira-me

    Hello,
    I have this mic patch mic.pd . How do I put an ON/OFF switch on it?

    Thanks!!!

    posted in technical issues read more
  • romulovieira-me

    Try to install "OpenJDK". After this, "double click" on MobMuPlat Editor. If that doesn't work, open a terminal in the same folder as the file and type "java -jar MobMuPlatEditor.jar"

    posted in technical issues read more
  • romulovieira-me

    @kobe Try something like this:

    answer.png

    posted in technical issues read more
  • romulovieira-me

    @whale-av Hello! Glad to see you again.

    Yes, my patches work fine and I can send audio over the network.
    I just wanted to send the "connect" message through a python script, not needing to do this via Pd.

    I will read the tutorials you sent me and run new tests.

    Thank you for your help

    posted in technical issues read more
  • romulovieira-me

    @alexandros Look, I have this mic patch (mic.pd) and this speaker patch (speaker.pd ). I would like to send the microphone audio over the network (note I use an IP address and a destination port) controlling it in Python, without Pd GUI.
    It is possible?

    thanks!!!

    posted in technical issues read more
  • romulovieira-me

    Dear Pure Data Community,

    I have a patch that allows me to capture audio from a microphone connected to my computer and send it to a speaker over the network, using concepts like IP and port.

    I would like to do this using the python language, without having to open the patch in Pd. It is possible?

    posted in technical issues read more
  • romulovieira-me

    Dear community, I hope you are well

    I am sending audio data over the network from one computer to another. How do I measure the time it takes for the sound to leave one computer and reach the other? At the moment, I don't want to mitigate this delay, just measure it.

    Can someone help me?

    thank you for your help

    posted in technical issues read more
  • romulovieira-me

    @whale-av You are welcome. I hope to help those who faced the same problem as me

    posted in technical issues read more
  • romulovieira-me

    @whale-av SOLVED !!!

    Thanks for the usual help.

    1. 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 )

    2. 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 )

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

    posted in technical issues read more
  • 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

    posted in technical issues read more
  • romulovieira-me

    @alexandros Hello, thanks for the reply.
    I am sending OSC messages using mrpeach. Python 3, more specifically in version 3.8

    posted in technical issues read more
  • 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.

    posted in technical issues read more
  • romulovieira-me

    @whale-av Solved !!!

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

    2. [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

    posted in technical issues read more
  • 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?

    posted in technical issues read more
  • 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

    posted in technical issues read more
  • 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!!!

    posted in technical issues read more
  • romulovieira-me

    @whale-av Both computers are running Linux Ubuntu Studio 20.04

    posted in technical issues read more
  • romulovieira-me

    @whale-av sorry, i forgot to put the port number in the comment, but it is already in the Pd.
    I used the Fing app to scan the devices on my network and r-inspiron3442 appears. However, I still receive the "bad host" message

    posted in technical issues read more
  • romulovieira-me

    @whale-av Thanks for the answer.

    But I tried this on a Linux computer. I looked for the hostname in the terminal and it returned "r-inspiron3442".
    Next, I made the patch on the Pd as follows

    [connect r-inspiron3442]
    |
    |
    [ggee / streamout ~]

    However, Pure Data returned "bad host?"

    Do you know what could have gone wrong?

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!