Skip to content

Asyncio based port to CircuitPython #15

@bablokb

Description

@bablokb

Not an issue, but a pingback.

Your nice project inspired me to port it to CircuitPython (which is almost trivial), but I ended up with a complete new implementation based on asyncio (see https://github.com/bablokb/cp-buzzer-music). Mainly because of one of the issues here (MemoryError with long songs: #6). The new implementation can read from a file and pipes the notes to the buzzers, so the memory footprint is minimal regardless of the length of the music.

Backporting this to MicroPython is certainly not very complicated, since low-level access to PWM is the main difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions