Get audio from device output as input to MaxMSP?
Is there some way I can route the signal from one of my audio device's outputs into a Max patch? It seems with the adc~ and dac~ objects I can route audio from device inputs to Max, and from Max to device outputs. But I'm trying to find a way to basically tap the audio output of a couple device channels so that I can compensate for external summing latency in a multiband dynamics sidechain.
Well, I think I figured out how to make this work in Max, but it fails as a Max for Live device.
No matter what output channels I select for the adoutput~ object, even if I set the channels to 0 (off), as soon as I raise the live.gain~ slider above -inf, it clips at +6. So maybe as a Max for Live device, it only can access the in/out channels of the track instead of the audio device driver channels?
In any case, I'm really hoping there is some way to get the audio from selected audio device output channels to route the signal to something else in Live. If anyone knows how to do this so that it will actually work, please let me know.
when you use M4L you're limited to Ableton's audio inputs/outputs, adc~ won't work
1 set up Ableton with your external input in "input config"
2 add an audio track and select "ext. in" in the menu "audio from"
3 monitor the track
4 the audio will go through the plugin~ object in your patch
That would be fine if I wanted to monitor an external input. But I am trying to tap the audio from an external *output*. This requires grabbing the audio from the driver for what is being routed to that output channel. Can't seem to find a way to do that.
maybe you could try a soundflower or similar routing software?
Yeah, I thought about using Soundflower. But that wouldn't work since what I am trying to do is sidechain ducking of a mix from the audio *output* for the kick because, with the analog summing I'm using, my mix is coming back into Live with latency. So simply bussing the kick from a track doesn't work because it ducks the rest of the mix too early.
I could add another bus and delay it with an effect to match the timing of the latency. But then if I ever change buffer size, I'll have to remember to adjust the ducking delay to match that as well. And any added effects could throw off the latency as well. So it's a bit of a tricky setup.
I guess I could just add the ducking to submixes for each stem before they are sent out the external outputs. But again, that also will result in more latency and CPU use for every track I add it to. But I guess that's what I'll need to do since it doesn't seem like I can solve this problem using Max.
Oh well. It was worth a shot. Thanks for the responses and suggestions!