Hello,
Forgive me one beginner's question - is it possible to send TCP commands from a plugdata, triggered by a MIDI note from a DAW ?
Thank you for Answers and tips!
Martin
send TCP command
Hello,
Forgive me one beginner's question - is it possible to send TCP commands from a plugdata, triggered by a MIDI note from a DAW ?
Thank you for Answers and tips!
Martin
@markuc You can send data from Pd Vanilla to a network port....... TCP or UDP...... using [netsend].
The data can be in ASCII or binary format and there are objects for formatting messages to be sent for OSC as well..... and the port can be bi-directional.
You can also send directly to another program from [netsend] using the pdreceive binary that you will find in the Pd bundle..... called in Python for example.
You can also communicate through a serial port using [comport].
Have a look at the help file for [netsend]..... right-click the object for help.
Welcome to the forum...!
David.
Thank You, I see I have a long way to go ...
I have a similar question, since I would like to control a relay card from puredata using ethernet.
From a browser, the web server can listen to this address to start a relay:
http://192.168.1.4/30000/01
And this one to stop the relay:
http://192.168.1.4/30000/00
How should I send those addresses from [netsend] ?
I found an alternative way using a "curl" command from a [shell] object. Though still interested with a way without using any external...
@60hz It should be as simple as sending 0 or 1 to 192.168.1 4 on port 30000 ...
TCP I think...... the only doc I have found says that it should accept such a connection request.
David.
Oops! Looks like something went wrong!