M4L Midi Generators and note expression, spec?
Hi all - referring to this: https://docs.cycling74.com/userguide/m4l/live_miditools/#creating-a-generator
I only see the ability to specify notes with a velocity expression. All notes live within a "notes" array and it seems to me there's gotta be a separate "cc" array to express such things as pitch bend, slide, etc. I can't find reference docs for the contents of the dict passed in and out of live.miditool.[in/out].
Can anyone point me to a spec?
Many thanks!
Some new information I've discovered on this topic:
This is really a question about Live's Object model and more specifically MIDI clips.
Here is a description of the fields of a note:
This page mentions "envelopes" and describes methods to query and clear them. So far I haven't found methods to create envelopes so I think that's perhaps what I'm after. Any pointers to envelopes for the Live Object Model?
thanks!
And now, ChatGPT tells me this:
Earlier versions of Max included a more complete offline live-object-model.html
(which documented Envelope
, EnvelopePoint
, etc.), but this seems to be missing or incomplete in recent Max 9 builds.
This has indeed been noted in community forums and may be part of a broader documentation revamp
And within Max 9's reference docs, maxforlive-elements
leads to a Not Found page. (as of version 9.0.7).
AFAIK there has never been supported LOM api for creating clip envelopes for automation, CC, or MPE / note expression. At least in Max 7, 8, 9.
ChatGPT is, in general, very confused by Max. I wouldn't put any stock in what you get from it.