Learn about building and using Max for Live devices.
-
chapelier fou
- Posts: 6260
- Joined: Mon May 15, 2006 12:15 pm
Post
by chapelier fou » Tue Apr 01, 2014 8:36 am
that's cool, thanks !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
-
The III Man
- Posts: 36
- Joined: Tue Dec 05, 2006 2:21 pm
- Location: UK
Post
by The III Man » Mon May 19, 2014 2:30 pm
Hi There - a bit random, but I think you may have the knowledge to help me. I am wondering if you might be able to tell me how to go about detecting the track numbers of the tracks that the PUSH red grid is selecting is on?
I have PUSH and a custom midi controller and I want to make it so my midi controller's mapping corresponds to the PUSH grid too. So as opposed to having to map my MIDI controller fixed to Track 1 via the Ableton MIDI mapping tool, I can have a M4L patch that maps MIDI contoller fader 1, to the fader of the PUSH GRID track 1 - make sense?
I have the Push Development kit but I am still learning Max and not quite sure how I go about doing this to detect the tracks the PUSH grid is selecting?
Any help hugely appreciated.
-
S4racen
- Posts: 5951
- Joined: Fri Aug 24, 2007 4:08 pm
- Location: Dunstable
-
Contact:
Post
by S4racen » Mon May 19, 2014 5:29 pm
Hi there, it's not something that can observed as a property but it can be called to find the grid reference of the top left of the red box, it's one of the functions of the session control component...
I usually observe pushes of any bank buttons and then update the value after they've been released...
Cheers
D
-
The III Man
- Posts: 36
- Joined: Tue Dec 05, 2006 2:21 pm
- Location: UK
Post
by The III Man » Mon May 19, 2014 5:53 pm
Excellent that should be a start - I am new to this so kind of out of my depth - I dont suppose you could advise how I would call that and print the resultant Track Id? I guess it never hurt to ask....
Basically if I can fire out the simple number for the top left track I reckon I have a start
(PS I am reading but I swear the documentation on this is not easy to get into too.)
thanks
-
The III Man
- Posts: 36
- Joined: Tue Dec 05, 2006 2:21 pm
- Location: UK
Post
by The III Man » Mon May 19, 2014 8:39 pm
Sorry one more thing - I am using the LOM.Navigator to try and track down this puppy but I cannot seem to find the relevant component?
LOM root device: control_surfaces?
choosing Push from the right drop down - but then with all variants I try I cannot seem to find a relevant Property that relates to the grid position?
http://www.maxforlive.com/library/device.php?id=423
-
S4racen
- Posts: 5951
- Joined: Fri Aug 24, 2007 4:08 pm
- Location: Dunstable
-
Contact:
Post
by S4racen » Tue May 20, 2014 6:08 am
It's called call_offsets
Cheers
D
-
S4racen
- Posts: 5951
- Joined: Fri Aug 24, 2007 4:08 pm
- Location: Dunstable
-
Contact:
Post
by S4racen » Tue May 20, 2014 6:09 am
S4racen wrote:the call includes the word offsets
Cheers
D
-
The III Man
- Posts: 36
- Joined: Tue Dec 05, 2006 2:21 pm
- Location: UK
Post
by The III Man » Tue May 20, 2014 1:09 pm
Thank you very much. I will take a look.
Am I missing something though, is this level of detail actually documented anywhere? I have read abiut the LOM and searched all of that but nothing seems to go very deep.
-
S4racen
- Posts: 5951
- Joined: Fri Aug 24, 2007 4:08 pm
- Location: Dunstable
-
Contact:
Post
by S4racen » Tue May 20, 2014 1:20 pm
No, no documentation on Control_surfaces exists officially... Have a look at synthfan.info (from memory) which details hacking the APC40...
Cheers
D