Skip to content

Add a simpletest: a synthio chord saved as a WAV - #325

Merged
bdbarnett merged 1 commit into
mainfrom
examples/simpletest
Oct 28, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
examples/simpletest

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Adds examples/audiodsp_simpletest.py: a synthio chord through an audiofilters low-pass, pulled with audiocore.get_buffer into a WAV file. It needs no speaker.

Run on the unix port of MicroPython, the unix port of CircuitPython and CPython 3.12. All three write 2.0 s at 22050 Hz with peaks at 261, 329 and 392 Hz; MicroPython and CPython write identical bytes. The getting-started page links it.

@bdbarnett
bdbarnett merged commit 6b80423 into main Oct 28, 2026
31 checks passed
@bdbarnett
bdbarnett deleted the examples/simpletest branch October 28, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant