Dependencies: mbed USBDevice PinDetect
Diff: Audio/Synthesizer.h
- Revision:
- 18:26d93c5b9bb6
- Parent:
- 13:bb0ec927e458
--- a/Audio/Synthesizer.h Tue Apr 19 17:22:18 2016 +0000 +++ b/Audio/Synthesizer.h Thu Apr 21 01:41:13 2016 +0000 @@ -67,8 +67,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); /** * A getter for the current key.