Skip to content

Commit 3cae0f7

Browse files
committed
tone: fix default frequency and gain to match AES17 requirement
Fix frequenyc to 997Hz and gain to -20dB to match AES17 single tone test case requirement Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent 9dfd80d commit 3cae0f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/audio/tone.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@
6363
#define TONE_GAIN(v) Q_CONVERT_FLOAT(v, 31)
6464

6565
/* Set default tone amplitude and frequency */
66-
#define TONE_AMPLITUDE_DEFAULT TONE_GAIN(0.5) /* -6 dB */
67-
#define TONE_FREQUENCY_DEFAULT TONE_FREQ(82.41) /* E2 note */
68-
66+
#define TONE_AMPLITUDE_DEFAULT TONE_GAIN(0.1) /* -20 dB */
67+
#define TONE_FREQUENCY_DEFAULT TONE_FREQ(997.0)
6968
#define TONE_NUM_FS 13 /* Table size for 8-192 kHz range */
7069

7170
/* 2*pi/Fs lookup tables in Q1.31 for each Fs */

0 commit comments

Comments
 (0)