Fedback for key signature and root key signature (Midi editor)
Hello . In Reaper , there are shortcuts to change the key signature and root key signature, but there's no feedback from Osara . Currently , the accessible way to change the key and root key signature is by using NVDA 's object navigator or JAWS ' mouse cursor, which disrupts the workflow.
Thanks for reporting. It'd be helpful if you could provide details of exactly which actions you're talking about and what you would expect to be announced when you use them. Thanks.
Here are the actions:
- Select next key signature root: changes from C to Cb, D, Db, E...
- Select next key signature: changes to major, melodic minor, harmonic minor, natural minor, Dorian...
Desired behavior: It should announce the new key signature after executing the action.
Current behavior: Nothing is verbalized, although the action does take effect and can be verified using the NVDA object navigator or the mouse cursor in JAWS.
Pasting the nearest thing I could find in the API but I don't think this is what we need, @jcsteh?
bool MIDI_GetScale(MediaItem_Take* take, int* rootOut, int* scaleOut, char* nameOut, int nameOut_sz)
Get the active scale in the media source, if any. root 0=C, 1=C#, etc. scale &0x1=root, &0x2=minor 2nd, &0x4=major 2nd, &0x8=minor 3rd, &0xF=fourth, etc.
Yeah, that should do it, hopefully.
I'm hoping the nameOut parameter will provide a nice friendly name like "C major". Otherwise we'll have to invent our own by looking at the rootOut and scaleOut parameters, which is doable but annoying and will definitely require me to brush up on music theory.
nameOut is just the scale such as "Major",already localized by Reaper.
While trying to implement this I think I found a bug in Reaper. The action "select next key signature root" changes the note visible in the combobox, but it has no other affect, confirmed by the API and by moving notes around. Selecting the root note directly from the combobox does work however. @ScottChesworth could you report this please?