[PD] list devices without starting PD

oliver oliver at klingt.org
Fri Jul 15 21:48:29 CEST 2016


hi, dear list !

i tried to use the -listdev option of pd.exe to get a list of available 
audio and midi devices, and to write the output into a textfile for 
later "grep" usage.

here's what i wrote on the command line (w32):

pd.exe -batch -listdev > D:\Temp\devices.txt

the problem i encountered is, that PD always gets started, and the 
output of "-listdev" is written into PD's console window but not into 
the textfile i declared. "D:\Temp\devices.txt" exists, but is empty, and 
an instance of PD was started.

do you know a way to just get this specific information without actually 
starting PD ?

P.S.: i know about the "mediasettings" external, but i really would like 
to do this on the command line, WITHOUT actually starting PD.

thanks

oliver




More information about the Pd-list mailing list