Skip to content

Add MIDI CC variables and CC input handler#773

Closed
okyeron wants to merge 52 commits intoschollz:mainfrom
okyeron:MIDI-CCs
Closed

Add MIDI CC variables and CC input handler#773
okyeron wants to merge 52 commits intoschollz:mainfrom
okyeron:MIDI-CCs

Conversation

@okyeron
Copy link
Copy Markdown
Contributor

@okyeron okyeron commented Oct 9, 2025

  • add MIDI CC variables to globals
  • adds CC input handler
  • changes arcade knob CC values to match output from combos

Changes to allow for remote control of knob/combos from any MIDI controller. I've built example controllers in Max and TouchOSC - which we could add to the repo somewhere if wanted.

I do have a minor concern that the CC map is controllers 0-14 - as some of these are "dedicated" controls like Bank Select* or ModWheel - or that CC 7 is usually Volume, but volume is CC 5 on zeptocore.

Can these mappings change?

* I'd like to add a bank/patch select via MIDI and this would usually be CC 0 + CC 32

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 10, 2025

@okyeron yeah I'd be totally fine if you want to change the mappings!

@okyeron
Copy link
Copy Markdown
Contributor Author

okyeron commented Oct 10, 2025

@okyeron yeah I'd be totally fine if you want to change the mappings!

Any thoughts on where to start from? 12 through 31 are more or less undefined
https://midi.org/midi-1-0-control-change-messages

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 10, 2025

I don't really have an opinion, 12 to 31 are reasonable

@okyeron
Copy link
Copy Markdown
Contributor Author

okyeron commented Oct 10, 2025

excellent - does the web interface expect anything from the current CC assignments?

suggested changes: (put volume on 7 as thats standard, skip 17 for no good reason)

const uint8_t cc_knobx = 12;
const uint8_t cc_knoby= 13;
const uint8_t cc_knobz = 14;
const uint8_t cc_tempo = 15;
const uint8_t cc_pitch = 16;
const uint8_t cc_volume = 7;
const uint8_t cc_randsequence = 18;
const uint8_t cc_djfilter = 19;
const uint8_t cc_bassvolume = 20;
const uint8_t cc_sampleselect = 21;
const uint8_t cc_randtunnel = 22;
const uint8_t cc_quantize = 23;
const uint8_t cc_randjump = 24;
const uint8_t cc_randfx = 25;
const uint8_t cc_randfxbank = 26;

@okyeron
Copy link
Copy Markdown
Contributor Author

okyeron commented Oct 10, 2025

Updated to the CC map above.

WIP ZeptoControl Max patch if you wanna test the CC feature
ZeptoControl.maxpat.zip

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 10, 2025

looks good!

@okyeron
Copy link
Copy Markdown
Contributor Author

okyeron commented Oct 25, 2025

heya - what's the status here? Did something else need to be done to get this merged?

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 25, 2025

hm not sure why this was closed, let me pull it in another way

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 25, 2025

@okyeron could you link me to the commit on your repo for this change? this reop has been rebased so its all messed up.

@okyeron
Copy link
Copy Markdown
Contributor Author

okyeron commented Oct 25, 2025

Here's the history (i believe):
https://github.com/okyeron/_core/commits/MIDI-CCs/

last commit was this:
okyeron@06831d1

@schollz
Copy link
Copy Markdown
Owner

schollz commented Oct 26, 2025

added in #785

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.

3 participants