annotate aud-caramel/hds4.src @ 14:ebdb8d68e157

aud-caramel: first-cut audio config for FC-HDS4
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Nov 2021 04:28:43 +0000
parents aud-fcdev3b/spkr0.src@46f49aa6ab8c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
1 # This audio mode config is for the FC-HDS4 headset plugged into the
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
2 # main (EAR/MIC) audio jack on Caramel (iWOW DSK) or FC Caramel2
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
3 # development boards.
11
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 mic default {
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
6 gain 8 # tuned empirically for far end subjective perception
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
7 output-bias 1 # FC-HDS4 microphone needs 2.5V
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
8 # Mic appears to have flat frequency response, thus no FIR needed
11
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 }
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 speaker ear {
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 gain 0 # left at default for now
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
13 # We do have frequency response data, but no flattening FIR filter design
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
14 # has been attempted yet
11
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 }
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
17 sidetone -17 # sounds reasonable
11
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
19 # Let's try using Pirelli's non-loudspeaker (handheld/headset)
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
20 # AEC config.
11
46f49aa6ab8c aud-fcdev3b: new spkr0 config with AEC and mic tuning
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
14
ebdb8d68e157 aud-caramel: first-cut audio config for FC-HDS4
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
22 aec-new 2 1 0x14 0xCCC 0x59AD 0x4000 0x32 0x1000 0x1000 0 4 0