annotate aud-caramel/hds4.src @ 7:57f97e839441 default tip

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