|
|
|
@ -3,7 +3,7 @@ float drums_volume; |
|
|
|
|
uint8_t seq_active_track = 0; |
|
|
|
|
uint8_t seq_menu; |
|
|
|
|
bool seq_button_r = false; |
|
|
|
|
bool seq_noteoffsent[4] = {false, false, false, false}; |
|
|
|
|
bool seq_noteoffsent[NUM_SEQ_TRACKS] = {false, false, false, false,false, false}; |
|
|
|
|
uint8_t seq_step = 0; |
|
|
|
|
bool seq_running = false; |
|
|
|
|
bool seq_recording = false; |
|
|
|
@ -14,7 +14,7 @@ char seq_name_temp[FILENAME_LEN]; |
|
|
|
|
uint8_t seq_note_in; |
|
|
|
|
uint8_t seq_note_in_velocity; |
|
|
|
|
int seq_transpose; |
|
|
|
|
uint8_t seq_inst_dexed[NUM_SEQ_TRACKS] = { 0, 0, 1, 1 }; |
|
|
|
|
uint8_t seq_inst_dexed[NUM_SEQ_TRACKS] = { 0, 0, 1, 1 ,1,1 }; |
|
|
|
|
uint8_t seq_chord_dexed_inst = 0; |
|
|
|
|
uint8_t seq_chord_velocity = 60; |
|
|
|
|
uint8_t seq_chord_key_ammount = 4; |
|
|
|
@ -45,7 +45,7 @@ char arp_style_names[4][3] = { 'u', 'p', ' ', |
|
|
|
|
'u', '&', 'd', |
|
|
|
|
'R', 'N', 'D', |
|
|
|
|
}; |
|
|
|
|
int seq_tempo_ms = 147; |
|
|
|
|
int seq_tempo_ms = 180000; |
|
|
|
|
int seq_bpm = 102; |
|
|
|
|
uint8_t seq_temp_select_menu; |
|
|
|
|
uint8_t seq_temp_active_menu = 99; |
|
|
|
@ -66,27 +66,27 @@ uint8_t arp_counter = 0; |
|
|
|
|
uint8_t arp_lenght = 8; |
|
|
|
|
uint8_t seq_data_buffer[16] = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 }; |
|
|
|
|
uint8_t seq_data[NUM_SEQ_PATTERN][16] = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 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t seq_content_type[NUM_SEQ_PATTERN] = { 0, 0, 0, 0 , 0, 0, 0 , 0 , 0 , 0 }; // 0 = track is Drumtrack, 1= Instrumenttrack, 2= Chord or Arpeggio
|
|
|
|
|
uint8_t seq_track_type[NUM_SEQ_TRACKS] = { 0, 0, 0, 0 }; // 0 = track is Drumtrack, 1 = Instrumenttrack, 2 = Chord, 3 = Arp
|
|
|
|
|
uint8_t seq_patternchain[4][NUM_SEQ_TRACKS] = { 0 , 2 , 6 , 9 , 99,99, |
|
|
|
|
1 , 2 , 5 , 8 , 99,99, |
|
|
|
|
0 , 2 , 6 , 9 , 99,99, |
|
|
|
|
1 , 2 , 5 , 7 ,99,99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
uint8_t seq_content_type[NUM_SEQ_PATTERN] = { 0, 0, 0, 0 , 0, 0, 0 , 0 , 0 , 0 }; // 0 = track is Drumtrack, 1= Instrumenttrack, 2= Chord or Arpeggio
|
|
|
|
|
uint8_t seq_track_type[NUM_SEQ_TRACKS] = { 0, 0, 1, 1, 1,1 }; // 0 = track is Drumtrack, 1 = Instrumenttrack, 2 = Chord, 3 = Arp
|
|
|
|
|