summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-29 01:13:02 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-29 01:13:02 +0100
commit52cbc1ff83eb3776100c13632157b61f6783471c (patch)
tree2e6da81101e39a4883377b59a7ba942ebd3ea14b
parentd6b6506e1d517e7ee18ad154e03a311c96f3e542 (diff)
downloadsaw-52cbc1ff83eb3776100c13632157b61f6783471c.zip
remove unused code
-rw-r--r--source/saw/main.c33
1 files changed, 10 insertions, 23 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index 4ce9153..6cf0632 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -74,19 +74,17 @@ enum {
REFERENCE_PITCH_INDEX = 5 * 12, // index of A_4
#ifdef __EMSCRIPTEN__
- TRACK_COUNT = 8,
- ROLL_COUNT = 16,
- PITCH_COUNT = 80,
- VOICE_COUNT = 16,
- UNISON_COUNT = 100,
- SHEET_SIZE = 200,
+ TRACK_COUNT = 8,
+ ROLL_COUNT = 16,
+ PITCH_COUNT = 80,
+ VOICE_COUNT = 16,
+ SHEET_SIZE = 200,
#else
- TRACK_COUNT = 16,
- ROLL_COUNT = 64,
- PITCH_COUNT = 100,
- VOICE_COUNT = 64,
- UNISON_COUNT = 100,
- SHEET_SIZE = 200,
+ TRACK_COUNT = 16,
+ ROLL_COUNT = 64,
+ PITCH_COUNT = 100,
+ VOICE_COUNT = 64,
+ SHEET_SIZE = 200,
#endif
ROLL_DEFAULT_RATE = 8,
@@ -107,17 +105,6 @@ enum {
INSTRUMENT_OSCILLATOR,
INSTRUMENT_SAMPLER,
- OSCILLATOR_INPUT_NONE = 0,
- OSCILLATOR_INPUT_WAVE,
- OSCILLATOR_INPUT_WARP,
- OSCILLATOR_INPUT_PHASE,
- OSCILLATOR_INPUT_STEREO_WIDTH,
- OSCILLATOR_INPUT_VOLUME,
- OSCILLATOR_INPUT_SUSTAIN,
- OSCILLATOR_INPUT_ATTACK,
- OSCILLATOR_INPUT_DECAY,
- OSCILLATOR_INPUT_RELEASE,
-
SAMPLER_OUTLINE_SIZE = 64,
EDIT_MODE_HAND = 0,