Re: [PD] How to get a list of midi devices without GUI

2014-05-02 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2014-02-09 16:45, Antoine Villeret wrote: > Shouldn't `[mediasettings/midisettings]` update it's own device > lists on `[listdevices(` message ? please file a feature-request (and assign it to me, if possible) fgamsdr IOhannes -BEGIN PGP SI

Re: [PD] How to get a list of midi devices without GUI

2014-05-02 Thread András Murányi
On Sun, Feb 9, 2014 at 5:20 PM, Jonathan Wilkes wrote: > In Pd-l2ork you can also do this: > [print( > | > [pdinfo] > > Which prints all the info for the running Pd instance to the console, > including devices. Or you can send it a message to get a specific > attribute like > [audio-outdev, midi

Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Jonathan Wilkes
In Pd-l2ork you can also do this: [print( | [pdinfo] Which prints all the info for the running Pd instance to the console, including devices.  Or you can send it a message to get a specific attribute like [audio-outdev, midi-outdevlist( | [pdinfo] I tried it with [loadbang] and -nogui, and all t

Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
hello again, I found the issue, with `-nogui`, the patch is loaded before midisettings are done (like audiosettings) and `[mediasettings/midisettings]` updates it's own device list on startup or on `[device ...(` message. So when the patch is loaded at startup without gui, `[mediasettings/midis

Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
thanks, but no, at least with Pd Vanilla 0.45-4, the right flag is *-listdev* to list all devices (both midi and alsa) in the PD's console. According to this 10-years old post [1], I can still make a redirection of stderr or read at it. Another solution, since my problem concern only Linux, is t

Re: [PD] How to get a list of midi devices without GUI

2014-02-09 Thread Pagano, Patrick
I think it's just --listdevices on the command line Sent from my iPhone On Feb 9, 2014, at 10:03 AM, "Antoine Villeret" mailto:antoine.ville...@gmail.com>> wrote: Hello, I'm wondering how to get a list of midiout devices without GUI. This has to work without GUI. I tried [mediasettings/midise

[PD] How to get a list of midi devices without GUI

2014-02-09 Thread Antoine Villeret
Hello, I'm wondering how to get a list of midiout devices without GUI. This has to work without GUI. I tried [mediasettings/midisettings] but it always report 0 devices (both in and out) when there is no GUI. i also know the -listdev option to Pd, but this only list devices in console, and I need