[PD] specify number of alsa midi out ports

2013-06-25 Thread Iain Mott
Hello again, Is there a way to specify the number of ALSA MIDI Out ports (in Linux) via the command line or using a command from within Pd? I can specify this running pd-extended -alsamidi and selecting via the GUI: Media--Midi Settings... - but need to specify the number automatically. Thanks,

Re: [PD] specify number of alsa midi out ports

2013-06-25 Thread michael noble
The following will do it: On Fri, Feb 3, 2012 at 7:58 AM, Max abonneme...@revolwear.com wrote: if you want to simply reconfigure the audio/midi settings programmatically it might be revealing to listen to the internal pd messages [receive pd] | [print] and then change the audio/midi

Re: [PD] specify number of alsa midi out ports

2013-06-25 Thread IOhannes zmölnig
On 06/26/2013 01:26 AM, Iain Mott wrote: Hello again, Is there a way to specify the number of ALSA MIDI Out ports (in Linux) via the command line or using a command from within Pd? pd -alsamidi -mididev 1,1,1,1 gfmasdr IOhannes signature.asc Description: OpenPGP digital signature

Re: [PD] specify number of alsa midi out ports

2013-06-25 Thread IOhannes zmölnig
On 06/26/2013 04:10 AM, michael noble wrote: [midi-dialog 2056 0 0 0 1.92017e+09 0 0 0 2 2( | [send pd] where the last two numbers set the number of input and output ports respectively. Other settings probably differ... for these kind of things i suggest to use the [midisettings] objects