summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,