[PD] Controlling PD via the serial port?

Marc Lavallée marc at hacklava.net
Fri Aug 5 16:57:52 CEST 2005


Le 5 Août 2005 06:13, Mathieu Bouchard a écrit :
> On Thu, 4 Aug 2005, Aaron Trumm wrote:
> > I am currently, among other things (one step at a time), trying to
> > figure out how to control PD via the serial port.
>
> The first step is using the [comport] external. It works on both Linux
> and Windows.
>
> This will spit float messages out, each being a byte from the comport.
>
> > send a word, like "hello", and have pd do something based on that word,
> > like print hello or something.
>
> [comport] will re-emit that as 104, 101, 108, 108, 111.
>
> Parsing that could be a chore unless you are using certain externals.

May I suggest to use my ascii externals? 
http://puredata.org/Members/odradek/ascii-0.1.1.tar.bz2/file_view

--
Marc




More information about the Pd-list mailing list