@ -212,7 +212,7 @@ char* get_comp_attack_value_text(void)
char comp_decay_value_text1 [ ] = " " ;
char * get_comp_decay_value_text ( void )
{
sprintf ( comp_decay_value_text1 , " %0.1f dB/s " , ( float ) configuration . comp_decay / 10 ) ;
sprintf ( comp_decay_value_text1 , " %0.1f dB/s " , float ( configuration . comp_decay ) / 10 ) ;
return ( comp_decay_value_text1 ) ;
}
@ -228,7 +228,7 @@ char* get_tune_value_text(void)
char chorus_frequency_value_text1 [ ] = " " ;
char * get_chorus_frequency_value_text ( void )
{
sprintf ( chorus_frequency_value_text1 , " %2.1f Hz " , ( float ) configuration . chorus_frequency / 10 ) ;
sprintf ( chorus_frequency_value_text1 , " %2.1f Hz " , float ( configuration . chorus_frequency ) / 10 ) ;
return ( chorus_frequency_value_text1 ) ;
}
@ -236,7 +236,7 @@ char* get_chorus_frequency_value_text(void)
char chorus_delay_value_text1 [ ] = " " ;
char * get_chorus_delay_value_text ( void )
{
sprintf ( chorus_delay_value_text1 , " %2d ms " , configuration . chorus_delay ) ;
sprintf ( chorus_delay_value_text1 , " %2.1f ms " , float ( configuration . chorus_delay ) / 10 ) ;
return ( chorus_delay_value_text1 ) ;
}
@ -2046,8 +2046,8 @@ void set_chorus_delay(uint8_t value)
Serial . print ( F ( " Set CHORUS_DELAY " ) ) ;
Serial . println ( value ) ;
# endif
modchorus_r . setDelayLength ( float ( value ) ) ;
modchorus_l . setDelayLength ( float ( value ) ) ;
modchorus_r . setDelay ( float ( value / 10 ) ) ;
modchorus_l . setDelay ( float ( value / 10 ) ) ;
configuration . chorus_delay = value ;
}