pd -midioutdev
pd -midioutdev 2
pd.exe -midioutdev
only print out a full list of all pd commands. Can you please tell me how to use the command to connect to a midi port or midi device.
Midi issues
pd -midioutdev
pd -midioutdev 2
pd.exe -midioutdev
only print out a full list of all pd commands. Can you please tell me how to use the command to connect to a midi port or midi device.
@mrsstaceyseigle The middle one should work (for midi-out) if you have 2 devices......
It seems more likely that you want -midioutdev 1 .... or -mididev 1 (see bottom of this post).
But you can also get and set the midi settings within your patch like this.....get_set_midi.pd
You will need to set your midi the first time, click ok to use that setting and then use the message in your patch to set the same again.
((You can do the same for audio...... putting audio-dialog in place of midi-dialog in the [route] and [ist prepend] objects))
David.
Works great.
Is there any way to have PD patch to print a list of midi devices in the console. without openning the midi dialog.
@mrsstaceyseigle It should be possible with a gui plug-in talking to the tk/tcl code..... but I don't know of another way unfortunately...... and that is not easy to write.
You would need to get the global variables $midiin1 etc. and somehow use ::pdwindow::post sent to [sys_gui] to print the values.
[sys_gui] worked in 32-bit vanailla, but for 64-bit?..... I haven't tried yet.
Also the pd gui plug-in examples have fallen into the dustbin of history...... https://puredata.info/docs/guiplugins/GuiPluginsAPI as the sourceforge pages have disappeared.
David.
Oops! Looks like something went wrong!