annotate audio-tones/README @ 174:4f5abad5dd40

doc/Unbuffered-FT2232x-JTAG: update for fc-usbser-tools
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 07:23:18 +0000
parents 9336a48746d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
164
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 As of 2021-11, we are still far away from being able to clean up the
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 implementation of audio tones in our handset UI fw: before we can clean up the
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 implementation of audio tones, we will first need to detangle the wrong-minded
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 coupling between these audio tones and the buzzer, and that detangling will
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 require a development platform with a working buzzer, which means FC Venus.
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 However, we can apply a band-aid fix to the current misdesigned Condat audio
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 driver that would allow keybeep tones to be re-enabled on FC Luna with FC-HDS4
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 without being brutal on the developer-operator's ears: we can change the dBfs
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 amplitudes baked into F_xxx defined constants, and we can conditionalize this
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 change on CONFIG_TARGET_LUNA. With this method we are constrained to picking
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 just one amplitude for the 3 different tones based on F_425 (busy, CW and
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ringing) and likewise the same amplitude between the half-tone of keybeep and
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 the low tone of DTMF - but we are not seeking fully optimal tuning here, only a
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 band-aid fix to protect the developer-operator's hearing.
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 The set of shell scripts contained in this directory was put together to
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 facilitate easier experimentation with different amplitudes, easier than
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 entering full AT@TONE commands manually.
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 Amplitude selections being made for now:
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 Keybeep-half and DTMF-low: -26 dBfs
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 DTMF-high: -24 dBfs
9336a48746d9 audio-tones: experimental tools and findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 F_425 tones: -21 dBfs