[PD-dev] midi api question

Jonathan Wilkes jancsika at yahoo.com
Thu Jul 25 01:32:23 CEST 2013


Can someone do this with pd 0.44:

1) hack dialog_midi.tcl:
a: in the pdtk_[whatever] proc add this:

pdtk_post "Midi outdev1 is $outdev1\n"

b: in the pdtk_*alsa* proc add this:

pdtk_post "Alsa Midi outdev1 is $outdev1\n"

2) Go to "Media" (or wherever it is) bring up the non-alsa Midi dialog, 
do some settings and click "Apply"
3) Go to "Media" (or wherever it is) bring up the alsa Midi dialog, do 
some settings and click "Apply"
4) Go to "Media" (or wherever it is) bring up the non-alsa Midi dialog, 
do some settings and click "Apply"

In the console, outdev1 should get a sane dev number, like a single 
digit number.

If this isn't the case, please post the output.  I'm getting crazy 
outdev number at step 4.

-Jonathan



More information about the Pd-dev mailing list