Skip to content

feat(faderpunk): add 14bit MIDI-CC/NRPN support#470

Merged
chmanie merged 14 commits intomainfrom
feat/nrpn-support
Mar 23, 2026
Merged

feat(faderpunk): add 14bit MIDI-CC/NRPN support#470
chmanie merged 14 commits intomainfrom
feat/nrpn-support

Conversation

@chmanie
Copy link
Copy Markdown
Member

@chmanie chmanie commented Mar 4, 2026

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.

@chmanie chmanie force-pushed the feat/nrpn-support branch from b599280 to c10c6d6 Compare March 4, 2026 09:23
Copy link
Copy Markdown
Member

@ArthurGibert ArthurGibert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have the hardware to test it but showMIDI is showing the right messages

@chmanie chmanie force-pushed the feat/nrpn-support branch from c10c6d6 to 1d41fce Compare March 15, 2026 10:29
@chmanie chmanie force-pushed the main branch 4 times, most recently from d7ab681 to 18e6fd4 Compare March 16, 2026 19:10
@chmanie chmanie force-pushed the feat/nrpn-support branch 2 times, most recently from e8f4f5a to de8a27a Compare March 23, 2026 21:34
chmanie added 14 commits March 23, 2026 22:36
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).
@chmanie chmanie force-pushed the feat/nrpn-support branch from de8a27a to 3a92a4b Compare March 23, 2026 21:36
@chmanie chmanie merged commit a8585f7 into main Mar 23, 2026
3 checks passed
@chmanie chmanie deleted the feat/nrpn-support branch March 23, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants