Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 10-20-2018, 06:16 AM   #1
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,355
Default 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.

Last edited by juliansader; 01-08-2019 at 03:16 AM.
juliansader is online now   Reply With Quote
Old 01-08-2019, 03:17 AM   #2
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,355
Default

The SWS function BR_GetMouseCursorContext_MIDI returns the correct value for the Sysex lane, but does not yet recognize the recently added Notation lane.
juliansader is online now   Reply With Quote
Old 01-08-2019, 06:02 AM   #3
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 9,839
Default

Fixing, thanks.
schwa is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.