pull/4/head
Holger Wirtz 7 years ago
parent 13b46f987d
commit 92475f873c
  1. 8
      MicroDexed.ino

@ -56,18 +56,18 @@ void loop()
audio_buffer = queue1.getBuffer();
#endif
//memset(buf, 0, 128);
// process midi->audio
while(MIDI.read())
while (MIDI.read())
{
dexed->ProcessMidiMessage((byte)MIDI.getType(),(byte)MIDI.getData1(),(byte)MIDI.getData2());
dexed->ProcessMidiMessage(MIDI.getType(), MIDI.getData1(), MIDI.getData2());
}
dexed->GetSamples(audio_buffer);
#ifdef TEENSY
// play the current buffer
while(!queue1.available());
queue1.playBuffer();
#endif
}

Loading…
Cancel
Save