From 17c9882472e33650c11e3cfee42e618af95682e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 4 Sep 2016 19:04:54 +0200 Subject: [PATCH] improved default volume --- User/user_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/User/user_main.c b/User/user_main.c index 90ca94a..a089f44 100644 --- a/User/user_main.c +++ b/User/user_main.c @@ -32,16 +32,16 @@ #define BTN_DOWN 4 // Y axis scaling factors -#define WAVEFORM_SCALE 0.02f -#define FFT_PRELOG_SCALE 1.0f -#define FFT_FINAL_SCALE 3.0f -#define FFT_PREFFT_SCALE 0.1f +#define WAVEFORM_SCALE 0.02 +#define FFT_PRELOG_SCALE 1.0 +#define FFT_FINAL_SCALE 3.0 +#define FFT_PREFFT_SCALE 0.3 #define VOL_STEP_TIME 50 #define VOL_STEP 0.05 -#define VOL_STEP_LARGE 0.5 +#define VOL_STEP_LARGE 1.0 #define VOL_STEP_THRESH 0.01 -#define VOL_STEP_SPEEDUP_TIME 1000 +#define VOL_STEP_SPEEDUP_TIME 750 uint32_t audio_samples[SAMPLE_COUNT * 2]; // 2x size needed for complex FFT float *audio_samples_f = (float *) audio_samples;