summaryrefslogtreecommitdiff
path: root/sw/Core/Src/params.h
diff options
context:
space:
mode:
authorMaking Sound Machines <40341903+makingsoundmachines@users.noreply.github.com>2024-08-01 23:03:45 +0200
committerGitHub <noreply@github.com>2024-08-01 23:03:45 +0200
commit5fffef41b9d02f38d0a571be1d53c6c8581d306e (patch)
tree2fe7f8fd378ef06ef6e2d15262320bb81e3e7dec /sw/Core/Src/params.h
parent8069312a15ce3e60286a49e72bb80a7fad43d32c (diff)
parentdf5950d5baedea61eb51b674077afe00218a83ce (diff)
downloadplinky-5fffef41b9d02f38d0a571be1d53c6c8581d306e.tar.gz
Merge pull request #21 from makingsoundmachines/main
Unprinted pad sets MIDI I/O channels
Diffstat (limited to 'sw/Core/Src/params.h')
-rwxr-xr-xsw/Core/Src/params.h12
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