Skip to content

Commit d7529ba

Browse files
committed
Add tone detection using Goertzel algorithm.
1 parent 2e91359 commit d7529ba

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Please also see the [official examples](https://github.com/micropython/micropyth
4747
4.15 [Date](./README.md#415-date) Small and simple classes for handling dates.
4848
4.16 [Greatest common divisor](./README.md#416-greatest-common-divisor) Neat algorithm.
4949
4.17 [2D array indexing](./README.md#417-2d-array-indexing) Use `[1:3, 20]` syntax to address a 2D array.
50-
4.18 [Astronomy](./README.md#418-astronomy) Derive Sun and Moon rise and set times, moon phase.
51-
4.19 [Tone detection](./README.md#419-tone-detection) Goertzel algorithm.
50+
4.18 [Astronomy](./README.md#418-astronomy) Derive Sun and Moon rise and set times, moon phase.
51+
4.19 [Tone detection](./README.md#419-tone-detection) Goertzel algorithm.
5252
5. [Module Index](./README.md#5-module-index) Supported code. Device drivers, GUI's, utilities.
5353
5.1 [asyncio](./README.md#51-asyncio) Tutorial and drivers for asynchronous coding.
5454
5.2 [Memory Device Drivers](./README.md#52-memory-device-drivers) Drivers for nonvolatile memory devices.
@@ -399,7 +399,7 @@ work at global locations and timezones. See [docs](./astronomy/README.md).
399399

400400
This module may be used for detection of audio tones. It uses the Goertzel
401401
algorithm which is effectively a single-bin Fourier transform. See
402-
[docs](./goertzel/README.md)
402+
[docs](./goertzel/README.md).
403403

404404
# 5. Module index
405405

goertzel/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Tone detection
22

3-
The `goertzel3.py` implementation was written for the Pyboard but could be
4-
adapted for other platforms. It includes test tone generation. See code
5-
comments for more details.
3+
The [goertzel3.py](https://github.com/peterhinch/micropython-samples/blob/master/goertzel/goertzel3.py)
4+
implementation was written for the Pyboard but could be adapted for other
5+
platforms. It includes test tone generation. See code comments for more details.

0 commit comments

Comments
 (0)