[PD] sending midi notes as a string

Krzysztof Czaja czaja at chopin.edu.pl
Thu May 6 14:12:54 CEST 2004


hi Gary,

if running your tcl code from within the pd-gui process, the
easiest tcl command would be "pd mytarget 60 120 1 \;", while
having a [r mytarget] -> [noteout] in a Pd patch.  Tot might
prove handy for quickly checking things out -- prototyping the
real thing by sending "tot pd mytarget 60 120 1 .`.:" or
similar messages, to a [tot .] object.

Otherwise (e.g. when running a remote tcl process), one option
would be talking to [netreceive].

Krzysztof

Gary Newby wrote:
> I'm playing around with TCL/Wish connected via tcp socket to PD.
> Is it possible to send a command that will allow PD to play
> a midi note out on a given midi port? - like "notein 60 1 120" etc
> I'de like to use TCL to generate midi music and have PD play it
> out on midi.





More information about the Pd-list mailing list