From 85f9a8baf529a47a82ec5c88d3de9ad4193d0ab1 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 1 Nov 2021 15:21:15 +0100 Subject: [PATCH] Again... --- config.h | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/config.h b/config.h index 9328d35..40e67ed 100644 --- a/config.h +++ b/config.h @@ -715,6 +715,78 @@ #define EP_REVERB_SEND_MAX 100 #define EP_REVERB_SEND_DEFAULT 0 +#define EP_DECAY_MIN 0 +#define EP_DECAY_MAX 100 +#define EP_DECAY_DEFAULT 50 + +#define EP_RELEASE_MIN 0 +#define EP_RELEASE_MAX 100 +#define EP_RELEASE_DEFAULT 50 + +#define EP_HARDNESS_MIN 0 +#define EP_HARDNESS_MAX 100 +#define EP_HARDNESS_DEFAULT 50 + +#define EP_TREBLE_MIN 0 +#define EP_TREBLE_MAX 100 +#define EP_TREBLE_DEFAULT 50 + +#define EP_PAN_TREMOLO_MIN 0 +#define EP_PAN_TREMOLO_MAX 100 +#define EP_PAN_TREMOLO_DEFAULT 50 + +#define EP_PAN_LFO_MIN 0 +#define EP_PAN_LFO_MAX 100 +#define EP_PAN_LFO_DEFAULT 65 + +#define EP_VELOCITY_SENSE_MIN 0 +#define EP_VELOCITY_SENSE_MAX 100 +#define EP_VELOCITY_SENSE_DEFAULT 25 + +#define EP_STEREO_MIN 0 +#define EP_STEREO_MAX 100 +#define EP_STEREO_DEFAULT 50 + +#define EP_POLYPHONY_MIN 0 +#define EP_POLOYPHONY_MAX NUM_EPIANO_VOICES +#define EP_POLYPHONY_DEFAULT NUM_EPIANO_VOICES + +#define EP_TUNE_MIN 1 +#define EP_TUNE_MAX 199 +#define EP_TUNE_DEFAULT 100 + +#define EP_DETUNE_MIN 0 +#define EP_DETUNE_MAX 100 +#define EP_DETUNE_DEFAULT 15 + +#define EP_OVERDRIVE_MIN 0 +#define EP_OVERDRIVE_MAX 100 +#define EP_OVERDRIVE _DEFAULT 0 + +#define EP_LOWEST_NOTE_MIN 21 +#define EP_LOWEST_NOTE_MAX 108 +#define EP_LOWEST_NOTE_DEFAULT 21 + +#define EP_HIGHEST_NOTE_MIN 21 +#define EP_HIGHEST_NOTE_MAX 108 +#define EP_HIGHEST_NOTE_DEFAULT 108 + +#define EP_TRANSPOSE_MIN 0 +#define EP_TRANSPOSE_MAX 48 +#define EP_TRANSPOSE_DEFAULT 24 + +#define EP_SOUND_INTENSITY_MIN 0 +#define EP_SOUND_INTENSITY_MAX 100 +#define EP_SOUND_INTENSITY_DEFAULT 100 + +#define EP_MONOPOLY_MIN 0 +#define EP_MONOPOLY_MAX 1 +#define EP_MONOPOLY_DEFAULT 0 + +#define EP_MIDI_CHANNEL_MIN MIDI_CHANNEL_OMNI +#define EP_MIDI_CHANNEL_MAX 16 +#define EP_MIDI_CHANNEL_DEFAULT MIDI_CHANNEL_OMNI + #define FAVORITES_NUM_MIN 0 #define FAVORITES_NUM_MAX 100 #define FAVORITES_NUM_DEFAULT 0 @@ -800,6 +872,29 @@ typedef struct fx_s { uint8_t ep_reverb_send; } fx_t; +typedef struct epiano_s { + uint8_t decay; + uint8_t release; + uint8_t hardness; + uint8_t treble; + uint8_t pan_tremolo; + uint8_t pan_lfo; + uint8_t velocity_sense; + uint8_t stereo; + uint8_t polyphony; + uint8_t tune; + uint8_t detune; + uint8_t overdrive; + uint8_t lowest_note; + uint8_t highest_note; + uint8_t transpose; + uint8_t sound_intensity; + uint8_t pan; + uint8_t velocity_level; + uint8_t monopoly; + uint8_t midi_channel; +} epiano_t; + typedef struct sys_s { uint8_t vol; uint8_t mono;