diff --git a/plugin/ic29.cpp b/plugin/ic29.cpp index d82e660..4d0de5e 100644 --- a/plugin/ic29.cpp +++ b/plugin/ic29.cpp @@ -20,3 +20,6 @@ #include "peacock.hpp" +void Synth::voiceOn(uint8_t voice, uint8_t note) { + // enable synth voice, start it all running +} diff --git a/plugin/ic29.hpp b/plugin/ic29.hpp index d84a446..491f839 100644 --- a/plugin/ic29.hpp +++ b/plugin/ic29.hpp @@ -20,3 +20,23 @@ #include "peacock.hpp" +class Synth { + public: + Synth(); + void voiceOn(uint8_t voice, uint8_t note); + void voiceOff(uint8_t voice); + void sustainSwitch(uint8_t val); + void pitchBend(int16_t bend); + void modWheel(uint8_t wheel); + uint16_t masterPitch; // sum of bend and LFO, plus any other pitch-setting value + private: +}; + +class Voice { + public: + Voice(); + void run(); + private: + + +};