Plugin API: How to cue note playback as per up/down arrow key.
Hi all!
For some context, I am (still) in the process of developing a 31 & 22 Equal Divisions of the Octave microtonal support plugin suite, and I am currently working on a plugin that allows you to transpose (and at the same time, tune) individual and group selections of notes by 1 step of the microtonal EDO tuning system (known as an edostep), the same way the up and down arrow keys raise/lower the pitch of the selected notes by a semitone. These plugins are non-docking, and are intended to replace the functionality of the up/down arrow keys - the user would assign a custom shortcut to invoke them.
How do I sound the selected note's new pitch every time a singular selected note has its pitch changed by the plugin? (Preferably, in the same manner it does when I use the up and down arrow keys to change the pitch of the note)
Any help greatly appreciated. Thanks in advance!
Comments
Not quite possible using the plugin API.
In reply to Not quite possible using the… by jeetee
Aww man.. Thanks anyways.
In reply to Aww man.. Thanks anyways. by matt28
Although this is not possible now to trigger directly it can still be achieved by exploiting the fact that certain commands trigger playback of the selected note. For example, something like this may give the desired effect:
prev-element
andnext-element
commands correspond to actions that are assigned to Alt+← and Alt+→ by default.In reply to Although this is not… by dmitrio95
Wow I completely forgot there was the
cmd
function... This does the trick, thanks for your help!