|
|
Thread Tools | Display Modes |
10-20-2018, 06:16 AM | #1 |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Notation and ReaScript: MIDIEditor_GetSetting_int returns incorrect values
MIDIEditor_GetSetting_int(editor, "last_clicked_cc_lane") should return these values, according to the API documentation:
last_clicked_cc_lane: returns 0-127=CC, 0x100|(0-31)=14-bit CC, 0x200=velocity, 0x201=pitch, 0x202=program, 0x203=channel pressure, 0x204=bank/program select, 0x205=text, 0x206=sysex, 0x207=off velocity * The new Notation lane is not yet listed * Sysex actually returns 0x207 (clashing with off-velocity), and Notation returns 0x206. I assume something went awry when the new Notation lane was introduced.
__________________
Scripts for advanced MIDI editing | LFO Tool for MIDI editor and envelopes Video thumbnail scripts | ReaScriptAPI extension Last edited by juliansader; 01-08-2019 at 03:16 AM. |
01-08-2019, 03:17 AM | #2 |
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
The SWS function BR_GetMouseCursorContext_MIDI returns the correct value for the Sysex lane, but does not yet recognize the recently added Notation lane.
|
01-08-2019, 06:02 AM | #3 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,501
|
Fixing, thanks.
|
Thread Tools | |
Display Modes | |
|
|