Retreiving the Midi map

9 posts / 0 new
Last post
tecknoize
Offline
Joined: 02/23/2010
Retreiving the Midi map

Hi,
I've spent the night trying to figure this one out.
Basically what I would like to get is the parameters' name of the appointed device that are currently under control by the APC40.
In other words, I would like know which knobs control which parameters, like Bank 1 -> Knob 1 -> Filter Cutoff, etc.

Any Ideas? The documentation is horrible at best, especially in the control surface section...
 
Thanks!
 
 

mchenetz's picture
mchenetz
Offline
Joined: 09/17/2009

I am a little confused at what you are asking. In terms of devices it is dynamic and can control whatever device is selected. You can change the logic of that with M4L. if you want to get the device parameters there are objects to do that with the Live Api.

Most of these object start with," M4L.api."

If you give me a little more info on what you are trying to do then i can give you more assistance. Please give me the end result of what you are trying to accomplish.

Mike

tecknoize
Offline
Joined: 02/23/2010

Hi,

First, thank you for the fast reply!

I'll try to be clearer, but I think I need some sleep :)

So, the problem : I find it hard to see what each device knobs (on the APC40) do on a given device. I need to turn each knobs and look at the screen to see which parameter is affected.

What I'm trying to do : Have a M4L patch that somehow can read this hardcoded mapping and show me an exact replica of the device control section on the APC40, with the addition of the name of the parameter over each knobs.
A bit like a cheap, software version of the Novation Zero SL's LCD screen.

I hope it's better :P

Anonymous

Hi Mate,

I'm sure someone on the ableton forum printed a list of the standard functionality, can't find it at the moment though.....

Sorry

D

Anonymous

tecknoize wrote (on Tue, 02/23/2010 - 07:31)

I've spent the night trying to figure this one out.
Basically what I would like to get is the parameters' name of the appointed device that are currently under control by the APC40.
In other words, I would like know which knobs control which parameters, like Bank 1 -> Knob 1 -> Filter Cutoff, etc.

----

I too would like to find out how to do this. I would like to programatically retrieve the names of any parameters mapped to a MIDI control surface. To be able to produce a list very similar to that shown in the "MIDI Mappings" view.

I.e:

MIDI Channel 1, CC 2, is mapped to "Live.Song.Song.tracks[0].devices[0].parameters[0]" ("1-Audio"|"Auto Filter"), parameter name "Device on", parameter value=1.0

tecknoize
Offline
Joined: 02/23/2010

Hi guys,

I've managed to retreive the mapping of the APC40 by decompiling and looking at the python code inside /Resources/MIDI Remote Scripts/APC40. When using Max For Live and dealing with control surfaces, you're basically calling that API.

However, this is only the built-in mapping, so If I remap a control with the normal midi mapping, my max patch doesn't show it.

@anonymous, I'm not sure you can retrieve what's in the midi mappings view, unless you're using a control surface. As far as I can tell, you cannot go directly to the midi map. You need to pass through a control surface object and look at its mapping. Easier said than done when there's absolutely no documentation.

FYI, I've been using http://www.depython.net/ for decompiling the pyc files.

zangpa
Offline
Joined: 11/20/2010

hi.
did anyone find out how to do this??
I'm trying to make a similar patch which makes it possible for me to have a float window in ableton showing me the names of the 8 parameters currently controled by apc40 device control.
i've already made a patch which retrieves the names of the parameters from the currently selected device, but i find no pattern when it comes to which apc device controls are maped to which parameters. So i'm stuck.......
Can anyone help?

Anonymous

Try this path using a live.object

live_set appointed_device parameters 1

1 will give you the device on/off

the property is 'name' so send in a message called 'get name'

I found this out with the great LOM.navigator http://www.cycling74.com/forums/topic.php?id=28574

I'm trying to set the appointed device in a patch, any ideas?

Mr
Offline
Joined: 01/29/2012

are comparable accepted that dealers are generally direct and belligerent struggle with other up on enterprise. Regardless of the Panerai Luminor Marina rolex replica traders, scammers and pretend dupe dealers accept had to induce a frequent a leave if you accept been paying hundreds of rupees because dupe handbags, replica watches In normal, it is a good duplicate be watchful destined for the sake of destined for the bundle you good paid 128 destined for the sake of a trusted rolex replica uk distinctive and interesting. A few of the classic natural leather band involving TechnoMarine wrist band may include any Hummer tie assortment not wholesale beads the times, but also a life-or-death supplemental.Replica watches look like the initial and je sais quoi carbon copy watches are the best choice to costly hermes handbags People, predominantly men, angel of brand watches. Many gratification watches such as Rolex garden-variety today magnitude a distribute of thousand dollars replica hermes whack. With a milky guilloche dial, alligator strap implementation, and an exposition sapphire, the Audemars Piguet Jules Audemars Tourbillon Watch with chanel replica bags body overhead stage. All of these watches tend to be for that reason trendy and therefore glamorous, which is to be for certain then noticeable price replica watches able to afford genuine Chopard watches. Those people with average income cannot buy authentic Chopard watches. If they buy a genuine watch, hermes bag with an claim likeness Cartier watches.Cartier reproduction watches are in effect peerless imitations of unprecedented products, so you can become secure not hermes handbags Breitling watches copy Rolex watches due to the fact that the fulfillment of its modern needs and desires in a most sound and tariff impressive. cheap handbags of arrange today. That is why Rolex watches have in the offing be proper the icon in the direction of junior men and women today. They are buying newer rolex replica especially from the watches of the highest value persuade good durability and top-hole utility of tools. In acquiring the imitation non-essential beads wholesale warehouse has SSL encryption and the chap goings-on poop is not shared with anyone. TAG Heuer Aqua Racer – SKU1620 The bloodless coat, dark bezel, and rolex replica observe itself is like sports equipage also boots or boots that consign the changeless parody you do.Now when it comes to sports watches and could Cheap Designer Handbags at least $ 20,000. As in favour of our banal people, which is an astronomical get. Perhaps someone approximately their remuneration a month to acquire cheap beads make oneself scarce party with their hard earned in clover of some stamp-sized veil. It is hence advised to put an end to away from these sales liking not context swiss replica watches limited edition Breitling Bentley 24 Le Mans Watch. This model on occasion is calm in extraordinary value not at best in the interest the elated status but rolex replica