|
@ -2,6 +2,13 @@ |
|
|
#define HECK_DAISY_GLOBALS_HH |
|
|
#define HECK_DAISY_GLOBALS_HH |
|
|
|
|
|
|
|
|
#include <cstdint> |
|
|
#include <cstdint> |
|
|
|
|
|
#include "daisy_seed.h" |
|
|
|
|
|
#include "daisysp.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace Heck { |
|
|
|
|
|
namespace ld = daisy; |
|
|
|
|
|
namespace dsp = daisysp; |
|
|
|
|
|
|
|
|
namespace Constants { |
|
|
namespace Constants { |
|
|
constexpr int BUFFERSIZE = 4; |
|
|
constexpr int BUFFERSIZE = 4; |
|
|
constexpr int SAMPLERATE = 48000; |
|
|
constexpr int SAMPLERATE = 48000; |
|
@ -15,6 +22,9 @@ namespace Constants { |
|
|
constexpr int TRACK_FILTER = 74; |
|
|
constexpr int TRACK_FILTER = 74; |
|
|
constexpr int TRACK_DRIVE = 75; |
|
|
constexpr int TRACK_DRIVE = 75; |
|
|
constexpr int TRACK_VOLUME = 76; |
|
|
constexpr int TRACK_VOLUME = 76; |
|
|
|
|
|
constexpr int TRACK_MODE1 = 78; |
|
|
|
|
|
constexpr int TRACK_MODE2 = 79; |
|
|
|
|
|
constexpr int TRACK_FILTERMODE = 80; |
|
|
} // namespace MIDI_Mapping
|
|
|
} // namespace MIDI_Mapping
|
|
|
} // namespace Constants
|
|
|
} // namespace Constants
|
|
|
|
|
|
|
|
@ -31,4 +41,10 @@ using i64 = int64_t; |
|
|
|
|
|
|
|
|
using f32 = float; |
|
|
using f32 = float; |
|
|
using f64 = double; |
|
|
using f64 = double; |
|
|
|
|
|
|
|
|
|
|
|
//Hardware
|
|
|
|
|
|
extern ld::DaisySeed hw; |
|
|
|
|
|
} // namespace Heck
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |