A MIDI piano synthesizer that implements the Karplus Strong physical modeling algorithm.
Dependencies: mbed USBDevice PinDetect
Diff: Audio/AudioEngine.h
- Revision:
- 18:26d93c5b9bb6
- Parent:
- 13:bb0ec927e458
--- a/Audio/AudioEngine.h Tue Apr 19 17:22:18 2016 +0000 +++ b/Audio/AudioEngine.h Thu Apr 21 01:41:13 2016 +0000 @@ -40,8 +40,9 @@ * Switch to a new synth instrument. * * @param direction 1 for next, -1 for previous. + * @return The new index being played. */ - void nextSynth(int direction); + int nextSynth(int direction); private: