FreeCalypso > hg > freecalypso-reveng
annotate compal/audio/omr-from-ds @ 392:35009c936a4a
compal/melody-extr: first attempt at actual melody extraction
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 01 Apr 2022 06:03:47 +0000 |
parents | ca75ac283888 |
children |
rev | line source |
---|---|
381
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 On 2021-11-09 long-time FreeCalypso community member Das Signal contributed a |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 set of omr readouts from a C139 phone operating in handheld (as opposed to |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 headset) audio mode, made by way of wires soldered to UART connection pads |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 inside the battery compartment. Raw data here: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 https://www.freecalypso.org/pipermail/community/2021-November/000829.html |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 The post from DS includes only fc-tmsh output but not command input; |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 for better readability and understanding, here are the same readouts |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 interleaved with the commands that produced them: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 - before the call |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 >omr ffd001ec 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 omr 00: 90 02 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 >omr ffd001d6 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 omr 00: 16 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 >omr ffd001dc 4 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 omr 00: 8E 01 8C 19 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 >omr ffd00238 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 omr 00: C7 03 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 >omr ffd0084a 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 omr 00: 01 00 14 00 CC 4C AD 59 00 75 00 00 00 10 00 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 >omr ffd00908 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 omr 00: 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 omr 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 omr 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 omr 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 >omr ffd00946 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 omr 00: E7 FF 22 00 35 00 F1 FF 09 00 FF FF 80 FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 omr 10: BD FF 40 00 2A 01 BD FF C1 03 09 01 1D E1 8F 3F |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 omr 20: 1D E1 09 01 C1 03 BD FF 2A 01 40 00 BD FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 omr 30: 80 FF FF FF 09 00 F1 FF 35 00 22 00 E7 FF |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 - during the call |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 >omr ffd001ec 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 TM3 memread error: 41 0F 4E |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 >omr ffd001d6 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 omr 00: 16 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 >omr ffd001dc 4 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 omr 00: 0E 6A 4C 0A |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 >omr ffd00238 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 omr 00: 46 02 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 >omr ffd0084a 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 omr 00: 01 00 14 00 CC 4C AD 59 00 75 00 00 00 10 00 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 >omr ffd00908 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 omr 00: 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 omr 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 omr 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 omr 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 >omr ffd00946 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 omr 00: E7 FF 22 00 35 00 F1 FF 09 00 FF FF 80 FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 omr 10: BD FF 40 00 2A 01 BD FF C1 03 09 01 1D E1 8F 3F |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 omr 20: 1D E1 09 01 C1 03 BD FF 2A 01 40 00 BD FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 omr 30: 80 FF FF FF 09 00 F1 FF 35 00 22 00 E7 FF |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 - after the call |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 >omr ffd001ec 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 omr 00: 90 02 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 >omr ffd001d6 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 omr 00: 16 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 >omr ffd001dc 4 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 omr 00: CE 62 4C 1A |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 >omr ffd00238 2 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 omr 00: C7 03 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 >omr ffd0084a 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 omr 00: 01 00 14 00 CC 4C AD 59 00 75 00 00 00 10 00 10 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 >omr ffd00908 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 omr 00: 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 omr 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 omr 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 omr 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 >omr ffd00946 3e |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 omr 00: E7 FF 22 00 35 00 F1 FF 09 00 FF FF 80 FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 omr 10: BD FF 40 00 2A 01 BD FF C1 03 09 01 1D E1 8F 3F |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 omr 20: 1D E1 09 01 C1 03 BD FF 2A 01 40 00 BD FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 omr 30: 80 FF FF FF 09 00 F1 FF 35 00 22 00 E7 FF |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 Analysis: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 Read of d_vbctrl1 during the call failed for some reason (the returned error |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 code is E_CHECKSUM - perhaps the TM3 omr command packet got corrupted?), |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 whereas before and after the call we got 0x0290. Shifting right by 6 bits, we |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 get 0x00A as the actual VBCTRL1 register value. This reading is indeed |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 consistent with handheld audio mode, as opposed to headset. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 d_vbctrl2: we got 0x0016 on all 3 reads. Shifting right by 6 bits, we get 0x000 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 as the actual VBCTRL2 register value. This reading is once again consistent |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 with handheld audio mode. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 d_vbuctrl: we got 0x018E before the call, 0x6A0E during the call and 0x62CE |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 after the call. The corresponding VBUCTRL register values are 0x006, 0x1A8 and |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 0x18B, respectively. Tabulating: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 Time point d_vbuctrl VBUCTRL Sidetone UL PGA |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 ---------------------------------------------------------------------- |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 before the call 0x018E 0x006 -5 dB 0 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 during the call 0x6A0E 0x1A8 -23 dB 2 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 after the call 0x62CE 0x18B -20 dB 5 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 d_vbdctrl: we got 0x198C before the call, 0x0A4C during the call and 0x1A4C |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 after the call. The corresponding VBDCTRL register values are 0x066, 0x029 and |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 0x069, respectively. Tabulating: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 Time point d_vbdctrl VBDCTRL Volume ctrl DL PGA |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 ---------------------------------------------------------------------- |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 before the call 0x198C 0x066 -6 dB 0 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 during the call 0x0A4C 0x029 0 dB 3 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 after the call 0x1A4C 0x069 -6 dB 3 dB |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 d_aec_ctrl: got 0x0246 during the call or 0x03C7 outside of a call. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 AEC parameter words: same as in the headset mode, no change with call state. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 AEC configuration appears to be almost exactly the same between handheld and |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 headset modes, the only difference being in the NS level bits (d_aec_ctrl[6:5]): |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 0x40 in handheld mode, 0x20 in headset mode. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 UL FIR coefficients: identity transform. |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 DL FIR coefficients: got an actual filter this time, no change with call state: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 omr 00: E7 FF 22 00 35 00 F1 FF 09 00 FF FF 80 FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 omr 10: BD FF 40 00 2A 01 BD FF C1 03 09 01 1D E1 8F 3F |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 omr 20: 1D E1 09 01 C1 03 BD FF 2A 01 40 00 BD FF 23 00 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 omr 30: 80 FF FF FF 09 00 F1 FF 35 00 22 00 E7 FF |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 Translating into 16-bit words: |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 0xFFE7 0x0022 0x0035 0xFFF1 0x0009 0xFFFF 0xFF80 0x0023 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 0xFFBD 0x0040 0x012A 0xFFBD 0x03C1 0x0109 0xE11D 0x3F8F |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 0xE11D 0x0109 0x03C1 0xFFBD 0x012A 0x0040 0xFFBD 0x0023 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 0xFF80 0xFFFF 0x0009 0xFFF1 0x0035 0x0022 0xFFE7 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 The same extracted coefficients have been written into handheld-dl-fir in the |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 format accepted by fir2freq analysis tool. For the nsteps argument to fir2freq, |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 I usually specify 40, so that the frequency response is computed in 100 Hz |
ca75ac283888
compal/audio: analysis of handheld mode omr readouts
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 steps. |