Max For Live multiple output

danvales82's icon

Good morning to everybody,
I'm developing a multichannel plug-in for sound spatialization.
Working on it I reliazed that there is no possibility to use the 'plugout~' object with more than two outputs although you can specify more outputs in the argument.

Using different kind of track in Ableton or 'dac~' instead of 'plugout~' does not seem to work equally...

Is there any possibility to implement multiple out?!
Thanks to everybory

broc's icon

Nope. It's a limitation imposed by Live.

danvales82's icon

This is a very bad news...
So it'salso impossible doing something like this:
http://www.youtube.com/watch?v=Je9CEUWVT2I
?

Thanks for you availability!

broc's icon

Good point.
In fact, Live recognizes the individual output channels of a multi-channel plugin. So strictly speaking, the limitation is caused by incomplete integration of M4L devices, namely that devices with multi-channel output can't be built resp. are not recognized as such from Live. But this shouldn't be too difficult to implement, so we may expect some improvement in future updates..

Tj Shredder's icon

The limitation comes from Live itself. There are only stereo tracks in Live. Even boring 5.1 isn't possible.
But I found a workaround - have a look at it. I made this some time ago and haven't touched it for a while, let me know if it works for you:

I uses a rack to obtain multiple physical outputs. The sound is not going through the Master track, but the master volume will control the volume accordingly...

As I have a running Live again, I could tweak it if necessary...

Stefan

matthieu's icon

Very nice solution,

So it could be possible to turn this way of spatialize in live into ambisonnic technology, including ambiencode~ and ambidecode~ objects inside each patchers, using each time only two outputs of ambidecode, and controling it via the system of forward/receive with an ambimonitor object inside the main patch...

isn't it?

Tj Shredder's icon

In my solution, I simply forward control data for gains, which I calculate in one patch. I guess that for ambisonics you probably need to duplicate the same patch with multiple ambiencode~/ambidecode~ objects which only feed different outputs to the device output. Its not very effective, but should work. And please nag Ableton to finally allow universal tracks. Not only for more audio in/outputs...
I know exactly how it should look like, but nobody would listen to me - revolutions are worrisome, I guess...;-)

Stefan

helios's icon

what do you think about plugsend~ and plugreceive~ ?

broc's icon

plugsend~ and plugreceive~ are not officially supported in M4L.

It seems to work somehow, but induces unpredictable latency.

benjaminvanesser's icon

@ Stefan : I think St.pace is broken under Live 8.2.5 (m4l 5.1.9) ... I've been using it regularly. Recently tried to put it into a new session but without any luck ... I can still pan on 1/2 but it's not going to 3/4 etc.

I'm on OSX Lion but noticed it's also broken on Live 8.2.2 Snow Leopard ... got it working on 8.2 though (don't know which m4l version) under SL

Would be nice if you could look into it ... If you'd be able to find some spare time. I really love this tool!!

ithkaa

dsmd's icon

Well, more than 2 years later and this is still a current problem.

Is there any more news about multiple outputs in ableton?
Like a multiple output m4l vst?
Or even better different multiple outputs in 1 channel. Like a 8 output channel, or a n-output channel.
Like reaper does it, is very nice. But I guess that's up to ableton.

But the multiple output m4l device must be doable right?

Thanks for any answers (especially from cycling74 ;) )

Klangschmied's icon

I also interested in and support the issue of implementing multichannel out.

Evan's icon

I have done 8 channel outs in Live with M4L before.
You have to use sends, and you can discretely assign those to physical outs, bypassing the master. You have to set up a patch that controls the audio being sent to each output (by output I mean send), using live.remote's that are tied to the track sends. I have a patch at home I could throw you guys if anyone's interested.
It's a hacky approach but it works really well.

Klangschmied's icon

@ EVAN,
that´s only a workaround…...but not so powerful, if every channel has it´s own 8 outputs (especially for spatialization).

Evan's icon

Well it's Live, so every solution will be a workaround. Use Max standalone if you don't want to have to "workaround".

What do you mean by "not so powerful"? What is lacking in this particular solution?

Klangschmied's icon

@ EVAN
independent spatialization on different audio tracks with amplitude panning f.e.

Evan's icon

This solution CAN do that.

Nicolas Deflache's icon

The "powerful" solution I chose for the moment it to MIDI remote control Max from Max4Live. I send audio from Live to Max using "loopback" fonction on RME interfaces.

Klangschmied's icon

@ EVAN,
ok, can I have a look in your setup (patch) ?
(I already use 11 track sends for FX…so it becomes confusing with additional 8 sends for spatialization)

Evan's icon

If you're using sends for effects, then this solution wouldn't be able to spatialize the processes as far as I know....

That could be a potential deal breaker.

chapelier fou's icon

The maximum of sends is 12...

Klangschmied's icon

@ chapelier fou

12 sends, good to know.
Never saw the feature of loopback in rme-interfaces and "accidentally" I use MetricHalo.

vichug's icon

for the record, Kontakt VST 16ch *can* send audio to other channels from one Live channel. Here's how : http://www.native-instruments.com/knowledge/questions/1267/How+to+route+KONTAKT+5+to+multiple+outputs+in+Ableton+Live

(edit : my point is that if Kontakt can do it, then it should be possible from Max too. The method discussed is not as versatile as a max send~/receive~ pair though, but it could be some sort of temporary workaround)

musinou's icon

Hi,
Did you ever use [plugsend~] [plugreceive~]?

Even if Max documentation says: "The use of the plugsend~ and plugreceive~ objects to pass audio between Max for Live devices is not supported." it seams to work.

I am trying them at the moment. With my setup I get a steady 46ms latency (2048 samples) between [plugsend~] and [plugreceive~], and I have not noticed any problem.

Well, it is not perfect, as I get 1ms latency between [send~] and [receive~].

dibek's icon

This is really something that needs to be done.
is there any official statement wether or not this is going to happen anytime soon?

dsmd's icon

Totally agree with you Dibek.
I'd like to know as well.

stringtapper's icon

This is a question to ask Ableton rather than Cycling '74.

volkmar's icon

Hi Evan,

Since I don't quite understand how exactly your solution to 8-channel beauty works, it would be much appreciated would you be willing to share your patch. (while I have worked with Max for quite some time I am new to Live and still trying to get my head around it.)

Best,

Volkmar

kleine's icon

I assume the solution is similar to the Max Api SendsXnodes/Max Api SendsPan from the M4L building tools?

rbrt's icon

hi thread,
I've also been hacking away recently trying to get multichannel audio to work with m4l,
with predictable and low latency.
I'm not so interested in using live's return tracks because I'm after a solution for sending more than
2 signals generated by 1 device to multiple tracks.
somewhere else on the forums I got inspired by a solution that is about writing to a global buffer in the
'sending' device and reading it out in the 'receiving' device.

I've attached what I came up with,please give it a try and tell me what you think.

buffer_sender_5.amxd
amxd
bufreceive_5.amxd
amxd
Josep Garces's icon

Hi! I would like to see that patch, can you share it? :)

anthonygiglio's icon

If you still have that patch uses live.remote, I'd be very interested in studying it.

mestre andré's icon
Hello Stefan! Is that workaround working fine in Live9? Would you please share it if so? I'd really like to be able to start performing live on mulichannel with max4live. All the Best! André!