Live 11 new Note API, how to (if possible at all) get and set MPE data?

visco viscont's icon

I've read the article about the new note API in Live 11 recently, and while it mentions MPE tangentially, it says nothing about ways or even possibility to get or set note MPE data using the new API functions like get_notes_extended and add_new_notes (or some other that could possibly do that).

I'd be grateful for some information on that!

visco viscont's icon

Before someone asks, I did check the Live Object Model docs and it has zero references to MPE. My curiosity is fueled solely by that frivolous mention of MPE alongside with note probability in the article. So basically I infer that since these two were mentioned together, and note probability is accessible via the new functions, there has to be a way to access MPE data as well - or an official notice about that being currently unimplemented.

visco viscont's icon

No luck asking here, I guess.

Robert White's icon

I am also looking for information how to set MPE data (pressure, slide) on notes via the new API. @visco - any luck finding any infor to do this?

visco viscont's icon

Hi Robert, it's warming to know we're now two in this vast vacuum :)
I failed to find anything, alas.

Robert White's icon

Cycling 74 team - I am trying to set the "pressure" and/or "slide" envelope per note. I've figured out how to drive a glsl(jxs) shader using MPE data however this requires me to edit each note individually. I am looking a way using the new noteAPI to set the pressure and slide curve on a group of select notes in live.

To me it looks like the noteAPI doesn't include slide or pressure. Is that correct? Is there another way of doing this? Thanks,

"notes" : [         {
            "note_id" : 14,
            "pitch" : 61,
            "start_time" : 6.0,
            "duration" : 0.5,
            "velocity" : 100.0,
            "mute" : 0,
            "probability" : 1.0,
            "velocity_deviation" : 0.0,
            "release_velocity" : 64.0
        }

Eero Pitkänen's icon

Asked this in the context of API updates for Live11, and got an answer here

(not supported yet)

With some unzip & XML-processing trickery you can do this by manipulating Live .ALC clip files directly though :)

visco viscont's icon

Hi Eero, thanks for the heads-up!
Let's hope it will be supported eventually, as it would open up a whole lot of possibilities!
Yep, parsing the XML is definitely an option, if only a bit non-real-time :)