30 for(uint8_t i = 0;i<128;i++){
31 float f = std::pow(2, (i - 69) / 12.0) * 440.0;
36 extern TIM_HandleTypeDef TIM_USER;
44 this->
drv = std::make_unique<TMC_1>();
46 drv->setLimits(limits);
57 drv->allowSlowSPI =
false;
58 if(!
drv->initialize()){
std::unique_ptr< USBdevice > usbdev
void controlChange(uint8_t chan, uint8_t c, uint8_t val)
std::unique_ptr< TMC4671 > drv
static ClassIdentifier info
const ClassIdentifier getInfo()
TIM_HandleTypeDef * timer_update
void noteOff(uint8_t chan, uint8_t note, uint8_t velocity)
void pitchBend(uint8_t chan, int16_t val)
std::vector< MidiNote > notes[16]
void timerElapsed(TIM_HandleTypeDef *htim)
void noteOn(uint8_t chan, uint8_t note, uint8_t velocity)
CommandStatus command(const ParsedCommand &cmd, std::vector< CommandReply > &replies)