feat(faderpunk): add 14bit MIDI-CC/NRPN support#470
Open
Conversation
Output-side apps (cv2midi, lfo, lfo_plus, turing, clkturing, rndcvcc, panner) gain a MidiNrpn param that routes send_cc through the NRPN protocol when enabled. lfo and lfo_plus also have MidiOut moved to last position for consistency. Receive-side midi2cv switches from wait_for_message to wait_for_event so NRPN messages are handled transparently in CC mode — no toggle needed on the receive side.
Add ParamMidiNrpn bool switch rendered for Param::MidiNrpn, registered in AppParam and wired into getDefaultValue / getParamValue in utils.ts. Update ParamMidiCc max from 127 to 16383 to accommodate NRPN parameter numbers (14-bit range).
b599280 to
c10c6d6
Compare
ArthurGibert
approved these changes
Mar 6, 2026
Contributor
ArthurGibert
left a comment
There was a problem hiding this comment.
I don't have the hardware to test it but showMIDI is showing the right messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds 14bit MIDI-CC/NRPN support to Faderpunk (e.g. for Elektron devices). NRPN Sending can be enabled on a per app basis (via the configurator). MIDI-receiving apps can decide how to deal with NRPN messages themselves.