Selector for 'sends on this track'?

Learn about building and using Max for Live devices.
jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Selector for 'sends on this track'?

Post by jomtones » Wed Aug 16, 2017 1:23 pm

I'd like to make a really simple version of something like this, that would allow for CC control of just sends on the current track. Anyone seen something like this? Or could you gimme a hint on what selector I need? :D

dataf1ow
Posts: 230
Joined: Wed Oct 08, 2008 4:28 pm

Re: Selector for 'sends on this track'?

Post by dataf1ow » Wed Aug 16, 2017 3:37 pm

Check this out, hacked it up in about 10 minutes:

https://www.dropbox.com/s/kppo7svfh84fe ... .amxd?dl=0

Not sure if this is exactly what you're after, but this will map to up to four sends (can easily make it 8) on the selected track. You can MIDI map to the dials in the device to use CCs to control the sends.

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Wed Aug 16, 2017 11:13 pm

This is amazing, thanks so much dataf1ow! Works like a dream..

dataf1ow
Posts: 230
Joined: Wed Oct 08, 2008 4:28 pm

Re: Selector for 'sends on this track'?

Post by dataf1ow » Thu Aug 17, 2017 5:20 pm

Woo! Glad I could help.

That sentence with the glasses was meant to read:

"can easily make it 8"

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Thu Aug 17, 2017 10:18 pm

Awesome yeah I just did! Ambitions have expanded... Now trying to figure out how to make it extend to volume, pan and mute, and work for any track (with track number selector) :mrgreen:

dataf1ow
Posts: 230
Joined: Wed Oct 08, 2008 4:28 pm

Re: Selector for 'sends on this track'?

Post by dataf1ow » Fri Aug 18, 2017 12:26 am

Rad.

It wouldn't be tough to do either of those things.
Just copy the code that looks for the send control, and change the path to the volume/panning/etc.
Instead of mixer_device sends 0, it would be mixer_device volume, or mixer_device panning.

And the path would change to live_set tracks X, where X is the track index (use $1 for variables in message boxes).

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Fri Aug 18, 2017 12:41 am

Brilliant, thanks Evan! You just answered most of the questions I've been pondering!

dataf1ow
Posts: 230
Joined: Wed Oct 08, 2008 4:28 pm

Re: Selector for 'sends on this track'?

Post by dataf1ow » Fri Aug 18, 2017 3:02 am

Sweet! Good luck with the rest of the project.

mothergarage
Posts: 478
Joined: Sun Sep 06, 2009 7:41 am
Contact:

Re: Selector for 'sends on this track'?

Post by mothergarage » Fri Aug 18, 2017 5:48 am

There's also this ;-)
home | sound | twitter | m4l
Windows 10 64bit - Live 11.0.6 - M4L 8 - RME Babyface/iConnectAUDIO4+

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Fri Aug 18, 2017 6:12 am

Very cool - should save me a ton of hassle! Many thanks mothergarage.

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Fri Aug 18, 2017 9:46 am

Well out of my depth with this one! My question is - is it possible to get the track name, and map the faders without actually focusing Live on a track? (so changing track away from the mapping plugin).

If possible I'd like to make the selections without having to run everything in a pop up.

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Fri Aug 18, 2017 10:17 am

Hah.. underwater might be more accurate. OK, so here's what I'm trying to achieve - a MIDI-Remote-control-mixer for Live, to be driven by Reaktor. (Reaktor build is pretty much done now).

I have about 12 tracks to handle, each with 7 sends (yeah I know), so with all parameters for each track that would be about 150 manual mappings, if I just used an expanded "JGJP-CCmapper12-v2" and got on with it. However I'd rather just be able to tell Max - OK map this track, then that track, then the other, (and click once for each track :D ).

So! I'm now trying to figure out the basic principles of Live.API... and come up with something in-between these two great patches - "Select_Tracks1" and "Selected Track V1.2" that does the above! (Screengrab https://ibb.co/inRbhQ)

dataf1ow
Posts: 230
Joined: Wed Oct 08, 2008 4:28 pm

Re: Selector for 'sends on this track'?

Post by dataf1ow » Fri Aug 18, 2017 4:10 pm

jomtones wrote:is it possible to get the track name, and map the faders without actually focusing Live on a track? (so changing track away from the mapping plugin).
Yeah that's possible. If I understand what you are asking. But I'm not really sure. Almost anything is possible with the API.
You want this to be one device that can control the mixer of up to twelve tracks? With no floating UI? Just need a more clear description of what you're after here.

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Fri Aug 18, 2017 11:27 pm

Yep that's exactly it. I just need the controls in Live- The UI that links to them is all in Reaktor (proto-mixer https://ibb.co/jTpfRk)

jomtones
Posts: 258
Joined: Sat Oct 15, 2005 4:24 pm
Location: Tokyo
Contact:

Re: Selector for 'sends on this track'?

Post by jomtones » Sat Aug 19, 2017 8:23 am

Wow... well I cracked the bulk of it. Just need to RTFM a bit :D ...

Question is now - live.remote vs a live.observer / live.object combo. Which is better for performance?

Code: Select all

<pre><code>
----------begin_max5_patcher----------
2004.3oc4cssbahDD8Y6uBJp7153Ztxk82X22RkxERZVaRj.UvHsNIU1u8kY
FvQJ1LzfsZcwOHgEffS2S2mt6gdj+w0WENq7QUcXveF7ofqt5GWe0U1cY1wU
se9pvUYONeYVs8zBWopqytWEdi6XZ0iZ69qU5fsYK2nB9.s6fEaVUtQuTose
UZ6dWmom+Pdw82Uolqc25ORkxaI2DDmlX1DEadmQtkD741uT9B6cob1W9XTb
202cw0easxcYBCe57WWopUE5LcdYwN2HJIVXt1IDhYS2aO80ZPbdQGfYs6rV
+sk16PXnYG+75qMucCPE1x7spaWjmsrC0aypJxVo1+feh84WVqw7n0XDlUqw
rxjvpBEw6HN6pE1cHXWsYT+ZyaBB+mkkY5cTqYUMPWqptSUjMyoUnCoxYwNT
F0CJ2So2c0py1pVbWlVWkOaiV8q+ptUW2prM5yFqtx+oa2c6eWvtrr3de578
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