|
|
|
@ -84,6 +84,7 @@ extern int seq_transpose; |
|
|
|
|
#include "drums.h" |
|
|
|
|
extern drum_config_t drum_config[DRUM_MAX_INSTRUMENTS + 1]; |
|
|
|
|
extern uint8_t num_drums; |
|
|
|
|
extern char drumset_name[26]; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifdef DISPLAY_LCD_SPI |
|
|
|
@ -3612,7 +3613,7 @@ void UI_func_drum_reverb_send(uint8_t param) |
|
|
|
|
sprintf(displayname, "%02d", activesample); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
lcd.setCursor(4, 1); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 5, 7); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 6 + strlen(drumset_name), 7); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
sprintf(displayname, "%03d", (int)(drum_config[activesample].reverb_send * 100) ); |
|
|
|
|
lcd.setCursor(12, 1); |
|
|
|
@ -3701,7 +3702,7 @@ void UI_func_drum_volume(uint8_t param) |
|
|
|
|
sprintf(displayname, "%02d", activesample); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
lcd.setCursor(4, 1); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 5, 7); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 6+ strlen(drumset_name), 7); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
sprintf(displayname, "%03d", (int)(drum_config[activesample].vol_max * 100) ); |
|
|
|
|
lcd.setCursor(12, 1); |
|
|
|
@ -3790,7 +3791,7 @@ void UI_func_drum_pan(uint8_t param) |
|
|
|
|
sprintf(displayname, "%02d", activesample); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
lcd.setCursor(4, 1); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 5, 7); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 6 + strlen(drumset_name), 7); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
sprintf(displayname, "%+f", drum_config[activesample].pan); |
|
|
|
|
lcd.setCursor(12, 1); |
|
|
|
@ -3935,7 +3936,7 @@ void UI_func_seq_lenght(uint8_t param) |
|
|
|
|
void UI_func_sequencer(uint8_t param) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
char displayname[7] = {0, 0, 0, 0, 0, 0}; |
|
|
|
|
char displayname[8]={0,0,0,0,0,0,0,0}; |
|
|
|
|
|
|
|
|
|
if (LCDML.FUNC_setup()) // ****** SETUP *********
|
|
|
|
|
{ |
|
|
|
@ -3943,7 +3944,7 @@ void UI_func_sequencer(uint8_t param) |
|
|
|
|
seq_note_in = 0; |
|
|
|
|
// setup function
|
|
|
|
|
lcd.setCursor(1, 0); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 5, 6); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 6 + strlen(drumset_name), 6); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
lcd.setCursor(9, 0); |
|
|
|
|
if (seq_running == false && seq_recording == false) |
|
|
|
@ -4066,7 +4067,7 @@ void UI_func_sequencer(uint8_t param) |
|
|
|
|
|
|
|
|
|
if (activesample < num_drums) { |
|
|
|
|
lcd.setCursor(1, 0); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 5, 6); |
|
|
|
|
strncpy(displayname, drum_config[activesample].filename + 6 + strlen(drumset_name), 6); |
|
|
|
|
lcd.print(displayname); |
|
|
|
|
} else if (activesample == num_drums) { |
|
|
|
|
lcd.setCursor(1, 0); |
|
|
|
|