sending and receiving audio from Logic..

Jun 24, 2009 at 5:44am

sending and receiving audio from Logic..

Ok.. So I’ve got a patch that has a subtractive synth and a random number generator.. but is also playing an audio file which pulls numbers from it to create midi information which I am sending to a vocoder in Logic, (at the moment playing the same file..)..

What i’d like to do is have the audio being played from Maxmsp, sent out to Logic (along with the midi values), then routed back to Max for mixing in with the other audio..

I can’t figure out how to make it so that Max can ONLY send out the audio form the audio file via rewire without touching everything else..

anyone got any ideas?

here’s the patch, as well if you’re interested..

– Pasted Max Patch, click to expand. –
#44522
Jun 24, 2009 at 12:18pm

You should be able to do the audio routing with SoundFlower 16ch. Seems like you could use [dac~ 3 4] to send audio to Logic. Then in LOGIC, set a stereo channel’s input to 3-4, process the sound with plugins, and set the track’s output to 4-5. Then in Max, make a [adc~ 4 5] in max to receive the processed sound back inside Max.

Should not be very hard, but be careful of creating an feedback loop with SoundFlower.

Hope this is helpful,
Mitch

#160102
Jun 24, 2009 at 2:27pm

yeah that makes perfect sense, however, i went to do it, but Logic doesn’t seem to be getting any input (i.e. no sound, no movement on the meters..). I had a look in dsp status, and the outputs are set to 2, and aren’t able to be changed..! When you go to the routing options, you can assign 1+2 to outputs 1-whatever, but that just gives us the master out.. ahh!

#160103
Jun 24, 2009 at 2:30pm

STOP THE PRESS! I’ve got it!

be wary of the deadly “Soundflower 16ch (Aggregated)” option. it be deadly, and theivin’ of ye outputs me laddies….

(No idea why it seemed fitting to write that in pir-english…).

Thanks heaps Mitch!

#160104
Jun 24, 2009 at 6:51pm

Arrrr, and ya have a fine method of expressin’ yerself, me hearty!

? can somebody explain
Why should logic even offer an ‘aggregated’ connection to Soundflower, or a multi-input/multi-output audio interface (EG RME fireface)? What’s the advantage?

cb.aka j2k

#160105
Jun 24, 2009 at 8:13pm

If you want to run audio to and from your audio interface, as well as run audio in between applications at the same time, then you would want an aggregated device. Otherwise you only get one or the other.

#160106
Jun 24, 2009 at 10:15pm

(the ‘aggregated’ option was actually showing up in Maxmsp.. not logic!)..

I don’t really understand it either.. I only ever see “aggregated” options come up for my built in sound card when i unplug my Motu.. And the only difference I can see is that the computer volume control buttons are disabled. i thought it was might strange that an aggregated Soundflower option was available.. Again..

I still don’t really get what the “aggregation” is al about either!

#160107
Jun 25, 2009 at 12:06am

@mitch turner – that’s possible, but then how do you hear the sound?

#160108
Jun 25, 2009 at 1:54pm

zh,
What I’d do is go to the SoundFlower Bed icon (up by the time, wifi, battery indicator, etc…) and make sure SoundFlower 16 has a check mark beside Built-In Output. By checking this, SoundFlower will copy a channel’s audio to the Built-In Output. Any of the channels may be sent to the Built-In Output by checking them.

I think it is in the README for SoundFlowerBed.

So, I’d use 1-2 for my all the audio I want to hear and 3-16 for interapplication routing.

Hope that makes sense,
Mitch

#160109
Jun 25, 2009 at 4:07pm

ok.. so I did this..

and it worked beautifully.

Really well.

I had my recording of Anton Artaud routed out to logic, and being vocoded (with the synth component being controlled by midi notes coming from the amplitude of the file).

Then… All of a sudden Soundflower decides that it no longer wants to work. At all. I reloaded EVERYTHING.. Rebooted, the whole bit. But sound flower has chosen to no longer function between programs.. 30 minutes before the performance.

This made me very sad.

#160110
Jun 28, 2009 at 12:22am

Couldn’t you simply set up 2 Rewire outputs?

(i.e. – the first lot of audio goes in via rewire 1+2, that’s routed back into max for further audio mixing and then gets sent back into logic via rewire 3+4)

Ignore me if I’ve missed some glaringly obvious issue with this, I’m tired (well, that’s my excuse and I’m sticking to it!).

#160111
Jun 28, 2009 at 7:47am

the problem is that when you select the rewire driver it doesn’t let you use your interface as a device anymore..

As far as I can see anyway..?

#160112

You must be logged in to reply to this topic.