Input Device channel count detection with [mc.adc~]


    Dec 01 2018 | 8:50 am
    Hi there, I would like to have the [mc.adc~] object automatically detect the number of audio channels of the Input Device selected in the Audio Status Window and create a multi-channel signal carrying that number of channels. Right now all I can do is type in the [mc.adc~] object all the channels I want as arguments - for example [mc.adc~ 1 2 3 4 5 6 7 8] - and then it will input 8 channels regardless of how many channels the Input Device is capable of. Yes, I could resize the multi-channel signal after the fact but the audio driver will only let 8 channels in anyway and the extra channels will carry no information. I know that - while audio processing is on - it is not possible to change the number of channels of a multi-channel signal dynamically. All I am asking is to be able to create a multi-channel signal with the number of channels of my Input Device only at the time audio processing is turned on. It seems like something that should be already possible to do, however I haven't been able to do it and I would like some advice. Thank you.