Skip to content

Commit d20cfc3

Browse files
committed
Notes not turning off on channels other then 1.
As detailed here: http://forum.gadgetfactory.net/index.php?/topic/2435-endless-sounds-on-channel-2-6/#entry16964
1 parent 29ea0c7 commit d20cfc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Audio_RetroCade_Synth/Audio_RetroCade_Synth.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,11 @@ void HandleNoteOn(byte channel, byte pitch, byte velocity) {
346346
Serial.print("Channel Received: ");
347347
Serial.println(channel);
348348
#endif
349-
lastpitch[channel-1]=pitch;
349+
350350
byte activeChannel = retrocade.getActiveChannel();
351351
if ( activeChannel != 0 )
352352
channel = activeChannel;
353+
lastpitch[channel-1]=pitch;
353354
switch (channel){
354355
case 1:
355356
retrocade.sid.V1.setNote(pitch, 1);

0 commit comments

Comments
 (0)