Skip to content
WAV player for MicroPython board
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
longwave.py

README.md

micropython-longwave

WAV player for MicroPython board

Uses double buffered approach to load chunks of samples. Needs to be polled frequently so the chunks can be refreshed.

Matt Page / mattmatic@hotmail.com

Usage

from longwave import LongWave
lw = LongWave() # Default uses DAC1 and Timer4
lw.play('hisnibs.wav')

lw.play('hisnibs.wav', 120) # 120% speed

(Make sure you call lw.poll() at least every 100ms)

History

2015-04-26 Initial upload

You can’t perform that action at this time.