#ifndef HECK_OSP_GLOBALS_HH #define HECK_OSP_GLOBALS_HH #include #include "daisy_seed.h" #include "daisysp.h" #include "types.hh" namespace Heck { using Samplerate = ld::SaiHandle::Config::SampleRate; namespace Constants { namespace Hardware { constexpr int PIN_BUTTON_RECORD = 28; constexpr int PIN_BUTTON_CLEAR = 27; } constexpr bool CPU_BOOST480MHZ = false; constexpr int AUDIO_BUFFERSIZE = 4; constexpr Samplerate AUDIO_SAMPLERATE = Samplerate::SAI_48KHZ; constexpr int TRACK_COUNT = 4; namespace MIDI_Mapping { constexpr int TRACK_PITCH = 70; constexpr int TRACK_DECAY = 71; constexpr int TRACK_PARAM1 = 72; constexpr int TRACK_PARAM2 = 73; constexpr int TRACK_FILTER = 74; constexpr int TRACK_DRIVE = 75; constexpr int TRACK_VOLUME = 76; constexpr int TRACK_MODE1 = 78; constexpr int TRACK_MODE2 = 79; constexpr int TRACK_FILTERMODE = 80; } // namespace MIDI_Mapping namespace Developer { constexpr bool LOG_BLOCKS_BOOT = false; constexpr bool LOG_MIDI_REALTIME = false; constexpr bool LOG_MIDI_NOTESANDCC = false; constexpr bool LOG_CLOCK_BAR = false; constexpr bool LOG_CLOCK_16N = false; } } // namespace Constants //Hardware extern ld::DaisySeed hw; extern ld::Switch but_rec; extern ld::Switch but_clear; } // namespace Heck #endif