annotate ringtools/examples/ring.pwt @ 1014:961efadd530a default tip

fc-shell TCH DL handler: add support for CSD modes TCH DL capture mechanism in FC Tourmaline firmware has been extended to support CSD modes in addition to speech - add the necessary support on the host tools side. It needs to be noted that this mechanism in its present state does NOT provide the debug utility value that was sought: as we learned only after the code was implemented, TI's DSP has a misfeature in that the buffer we are reading (a_dd_0[]) is zeroed out when the IDS block is enabled, i.e., we are reading all zeros and not the real DL bits we were after. But since the code has already been written, we are keeping it - perhaps we can do some tests with IDS disabled.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Nov 2024 06:27:43 +0000
parents 74331b35b1da
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
854
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
1 # The most basic ringtone included in TI's TCS211 delivery was apparently
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
2 # intended to consist of alternating 800 Hz and 900 Hz tones, although
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
3 # the actual output was a continuous 99 Hz tone as a result of interface
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
4 # mismatch between the BZ_Tone() driver function and the tone generation
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
5 # tables.
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
6 #
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
7 # In 2016 we made FC Magnetite emit actual 800 Hz and 900 Hz tones,
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
8 # or rather the closest approximations to these two frequencies that
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
9 # can be produced in BU mode - see ring.buz example. In 2021 we are
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
10 # looking into the possibility of switching from BU mode to PWT mode;
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
11 # the present melody file is a test of how the closest PWT counterpart
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
12 # to 800/900 Hz would sound.
83
b064c2ce43d2 ringtools/examples: a couple of buzzer tone examples
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
854
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
14 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
15 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
16 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
17 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
18 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
19 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
20 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
21 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
22 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
23 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
24 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
25 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
26 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
27 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
28 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
29 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
30 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
31 a5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
32 g5 64 12
74331b35b1da ringtools/examples/ring.pwt: PWT equivalent of ring.buz
Mychaela Falconia <falcon@freecalypso.org>
parents: 83
diff changeset
33 a5 64 12