|
|
@ -39,7 +39,10 @@ void sequencer_part1(void) |
|
|
|
|
|
|
|
|
|
|
|
for (uint8_t d = 0; d < NUM_SEQ_TRACKS; d++) |
|
|
|
for (uint8_t d = 0; d < NUM_SEQ_TRACKS; d++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ( seq_track_type[d] == 0) { // drum track (drum samples and pitched one-shot samples)
|
|
|
|
if (seq_patternchain[seq_chain_active_step][d] != 99 ) // sequence not empty
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if ( seq_track_type[d] == 0) |
|
|
|
|
|
|
|
{ // drum track (drum samples and pitched one-shot samples)
|
|
|
|
if (seq_data[ seq_patternchain[seq_chain_active_step][d] ][seq_step] > 0 ) |
|
|
|
if (seq_data[ seq_patternchain[seq_chain_active_step][d] ][seq_step] > 0 ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (seq_vel[ seq_patternchain[seq_chain_active_step][d] ][seq_step] > 209) // it is a pitched sample
|
|
|
|
if (seq_vel[ seq_patternchain[seq_chain_active_step][d] ][seq_step] > 209) // it is a pitched sample
|
|
|
@ -119,6 +122,7 @@ void sequencer_part1(void) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
seq_noteoffsent[d] = false; |
|
|
|
seq_noteoffsent[d] = false; |
|
|
|
} |
|
|
|
} |
|
|
|
arp_counter++; |
|
|
|
arp_counter++; |
|
|
|