[PD] specify MIDI device with a loadbang?

Oliver Larkin olilarkin at googlemail.com
Wed Jun 3 17:58:02 CEST 2015


thanks, midisettings was the kind of thing i’m after

oli


On 3 Jun 2015, at 14:23, IOhannes m zmölnig <zmoelnig at iem.at> wrote:

> On 06/03/2015 03:13 PM, Oliver Larkin wrote:
>> Hi,
>> 
>> is there a way that i can make a patch automatically choose a MIDI input device in vanilla? 
> 
> 
> depends on your definition of "vanilla".
> the "mediasettings" library provides a [midisettings] object that allows
> you to query and set the midi devices.
> it's an external but works with vanilla.
> 
>> PD keeps loosing the chosen device if pd is launched with out that device connected.
> 
> i'm not sure i can follow.
> if the device is not connected, there is no need to "lose" it, as it is
> already gone.
> or do you mean that you have configured Pd to use your midi-device, then
> unplug it and start Pd (it's obviously not there), then plug it in and
> re-start Pd and it is not picked up?
> 
> if so, you can specify the MIDI-device to use using the "-mididev"
> cmdline flag (overriding the preferences)
> 
> gfdsar
> IOhannes
> 
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list