Forums > MaxMSP

Audio input in MaxMSP=>to Ableton=>to output

February 12, 2009 | 10:11 am

Hello,

I’m working on a granular app to use with my monome 64, but in performing with it I’ve found a few problems.

I want to have one mic coming in to MaxMSP, then the processing happens and then I want to send THREE different signals out to three different tracks in Ableton, and Ableton has to output this to my audio-interface again. (Alesis IO2, for live performance)

I’ve tried a Soundflower+aggregate device solution (which worked after a long time of trying, but gave me HUGE glitch issues). MaxMSP doesn’t allow you to select a different audio input and output like Ableton does.

I tried to do it with the rewire~ object but that’s only for sound coming in. (I could also use rewire~ if I could figure out how to send audio that’s coming in Ableton to MaxMSP and then back to another track in Ableton.)

Also tried Jack, still a LOT of glitches. Tried setting different buffersizes but no avail.
Please, anyone got a solution?

This is probably not the first time anyone tried to do this. Also found another thread on the monome board but no solution there either ( http://post.monome.org/comments.php?DiscussionID=43 )

Thanks in advance!


February 12, 2009 | 10:37 am

Hey maaark,

Don’t know if this will solve it, but I was doing something similar recently and ended up using Wormhole2 from plasq.com (now open source)…

http://plasq.com/wormhole

http://code.google.com/p/wormhole2/

… to pipe audio between applications using VST plugins.


February 12, 2009 | 11:04 am

Wow.. THANK YOU!
Seems to work just fine!
Need some more testing but looks like it.

I just opened up the Wormhole2 vst in max using the vst~ object.

Then opened up the vst in Ableton and set the start and end for both vsts.

The only problem I have is a little latency. But I can work around that. :)


February 12, 2009 | 12:34 pm

This is the perfect use case for Jack – if you’re still inclined, post your
detailed setup to the Jack OS X user list for help…

Dan

On 2/12/09 5:11 AM, "Mark IJzerman" wrote:

>
> Hello,
>
> I’m working on a granular app to use with my monome 64, but in performing with
> it I’ve found a few problems.
>
> I want to have one mic coming in to MaxMSP, then the processing happens and
> then I want to send THREE different signals out to three different tracks in
> Ableton, and Ableton has to output this to my audio-interface again. (Alesis
> IO2, for live performance)
>
> I’ve tried a Soundflower+aggregate device solution (which worked after a long
> time of trying, but gave me HUGE glitch issues). MaxMSP doesn’t allow you to
> select a different audio input and output like Ableton does.
>
> I tried to do it with the rewire~ object but that’s only for sound coming in.
> (I could also use rewire~ if I could figure out how to send audio that’s
> coming in Ableton to MaxMSP and then back to another track in Ableton.)
>
> Also tried Jack, still a LOT of glitches. Tried setting different buffersizes
> but no avail.
> Please, anyone got a solution?
>
> This is probably not the first time anyone tried to do this. Also found
> another thread on the monome board but no solution there either (
> http://post.monome.org/comments.php?DiscussionID=43 )
>
> Thanks in advance!


Dan Nigrin – Defective Records
202 Hack / PC-1600 User / VSTi Host / Jack OS X / Major Malfunction
http://defectiverecords.com

http://jackosx.com


February 13, 2009 | 6:26 pm

rewire can also be used for sending audio from Max to Ableton – in fact, this is the only way I use it (generate souund in Max – organize/sequence/master in Ableton). It’s super easy. Here’s what you have to do:

1. Open Ableton first.
2. Open Max.
3. Go to DSP Status in Max.
4. Change Output Device to "ad_rewire"

Voila! Now, you have 16 channels of audio to send from MaxMSP to ableton using [dac~]. No need for the rewire object. If you want to sync up the BPM and onoff controls between the programs, check out the [hostsync~] object.

However, I find rewire fairly unstable. It’ll certainly crash if you try to do too many things in either program. Also, always change Max’s DSP status back to Core Audio, or Alesis, or anything other than ad_rewire before shutting down Ableton. Otherwise, it’ll cause Max to crash irreparably (force quit doesn’t even work, you’ll have to restart your whole computer. This is a pretty major problem when Live "unexpectedly quits").

Hope that helps.


Viewing 5 posts - 1 through 5 (of 5 total)