Hi list,

trying to write a shell script that launches a Pd patch and executes an
action (like connect alsa midi or jack ports) once the patch is up. The
patch contains a netsend object that automatically netsends a message to
port 3000. The pdreceive binary is started right after Pd:
        pd upAndRunning.pd & pdreceive 3000
Now I am wondering how I can parse the output of pdreceive in that shell
scipt and use some conditional to execute things like 
        aconnect 'Midiinterface':0 'Pure Data':0
once it receives a valid message from Pd.

Could it even be possible to send that shell command from Pd itself
through pdreceive without the need for the [shell] external?

Thank you for all pointers!




_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to