diff options
| author | Making Sound Machines <roland@makingsoundmachines.com> | 2024-08-01 22:57:22 +0200 |
|---|---|---|
| committer | Making Sound Machines <roland@makingsoundmachines.com> | 2024-08-01 22:57:22 +0200 |
| commit | df5950d5baedea61eb51b674077afe00218a83ce (patch) | |
| tree | 2fe7f8fd378ef06ef6e2d15262320bb81e3e7dec /sw/Core/Src/params.h | |
| parent | 20df8dfa669f9ef70b591c01a67c1e2b133a40a6 (diff) | |
| download | plinky-df5950d5baedea61eb51b674077afe00218a83ce.tar.gz | |
Unprinted pad sets MIDI I/O channels
Diffstat (limited to 'sw/Core/Src/params.h')
| -rwxr-xr-x | sw/Core/Src/params.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/Core/Src/params.h b/sw/Core/Src/params.h index 905cf3d..910ab6b 100755 --- a/sw/Core/Src/params.h +++ b/sw/Core/Src/params.h @@ -200,6 +200,10 @@ const char * const paramnames[P_LAST]={ [P_YSHAPE]=I_SHAPE "LFO Shape", [P_YWARP]=I_WARP "LFO Warp", + [P_MIDI_CH_IN]=I_PIANO "MIDI In Ch", + [P_MIDI_CH_OUT]=I_PIANO "MIDI Out Ch", + + }; #define FLAG_SIGNED 128 @@ -239,8 +243,6 @@ const static u8 param_flags[P_LAST] = { [P_SEQPAT]=24, [P_SEQSTEP] = FLAG_SIGNED + 64, - - [P_DLSEND]=0, [P_DLTIME]=FLAG_SIGNED, [P_DLFB]=0, @@ -306,6 +308,9 @@ const static u8 param_flags[P_LAST] = { [P_SMP_TIME] = FLAG_SIGNED, [P_CV_QUANT] = CVQ_LAST, [P_JIT_PULSE] = FLAG_SIGNED, + + [P_MIDI_CH_IN] = 16, + [P_MIDI_CH_OUT] = 16 }; #define C ( 0*512) @@ -1079,6 +1084,9 @@ static Preset const init_params = { [P_YWARP] = {0}, [P_ACCEL_SENS] = {HALF}, + + [P_MIDI_CH_IN] = {0}, + [P_MIDI_CH_OUT] = {0}, } }; // init params |
