Commit e50c1a6b authored by Knut Aldrin's avatar Knut Aldrin
Browse files

Final change

parent 6098e86c
...@@ -206,6 +206,18 @@ void note_create( uint8_t chan, uint8_t notenum, uint8_t vel ) { ...@@ -206,6 +206,18 @@ void note_create( uint8_t chan, uint8_t notenum, uint8_t vel ) {
} }
} }
*/ */
/* Emergency code for one channel only
if( iLastNote0 == 1 ) {
notes[chan][0] = newNote;
iLastNote0 = 0;
}
else {
notes[chan][1] = newNote;
iLastNote0 = 1;
}
*/
if( chan == 0 ) { if( chan == 0 ) {
if( iLastNote0 == 1 ) { if( iLastNote0 == 1 ) {
notes[chan][0] = newNote; notes[chan][0] = newNote;
...@@ -229,6 +241,7 @@ void note_create( uint8_t chan, uint8_t notenum, uint8_t vel ) { ...@@ -229,6 +241,7 @@ void note_create( uint8_t chan, uint8_t notenum, uint8_t vel ) {
// Set the new note! // Set the new note!
//notes[chan][iEldestNoteNum] = newNote; //notes[chan][iEldestNoteNum] = newNote;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment