Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve feedback for MIDI CC actions #73

Closed
helgoboss opened this issue Dec 22, 2020 · 1 comment
Closed

Improve feedback for MIDI CC actions #73

helgoboss opened this issue Dec 22, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@helgoboss
Copy link
Owner

Right now action feedback is only supported for toggle actions but we might be able to make it work for MIDI CC actions.

@helgoboss helgoboss added the enhancement New feature or request label Dec 22, 2020
@helgoboss helgoboss added this to the 1.12.0 milestone Dec 22, 2020
@helgoboss
Copy link
Owner Author

In upcoming ReaLearn v1.12.0-pre9, feedback for MIDI/CC actions should work if you use the latest REAPER prerelease (>= 6.19+dev1226, the one with "hookpostcommand2").

As expected, it comes with some inherent limitations that are related to the fact that a) REAPER itself doesn't necessarily use actions to invoke its own functions and b) REAPER MIDI/CC actions don't have the concept of a "current value" (unlike e.g. toggle actions or FX parameters).

These are the limitations:

In most cases, feedback will not work when changing the value in REAPER directly (e.g. in your case if you change metronome volume via REAPER UI).

It will only work for actions that support some kind of absolute value range (usually the case for all non-relative MIDI/CC actions, e.g. your metronome value action).

When the action is invoked via ReaLearn, the feedback will only work if "Invoke" is "Trigger" or "Absolute". It won't work with "Relative".

When the action is invoked from ReaScript or other extensions, it will only work if the invocation was done via "KBD_OnMainActionEx()" and an absolute value change.

When the action is invoked via a native REAPER action mapping, it will only work if the invocation is done using absolute MIDI CC (not relative).

Bottom line: Only works for absolute actions!

helgoboss added a commit that referenced this issue Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant