Getting all audio driver information
Hey, I am aiming to get a map of audio inputs in JSON form to pass onto another program, interfaced with UDP. I have no issue with creating JSON or transporting the data from Max, but getting the information seems to be a little difficult.
Is there any easy way to get a full map of audio drivers, audio devices, input channels and other settings? I am basically trying to get all of the information that is shows on the audio settings window after double clicking on the adc~ object.
Here is the code I have so far - I can get the input channels from the currently selected input device, but not from others.
Max Patch
Copy patch and select New From Clipboard in Max.
Any tips would be much appreciated.
Iyad.
The Audio Status window is a Max patch.