Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/MattMatic/micropython-longwave

WAV player for MicroPython board
https://github.com/MattMatic/micropython-longwave

Last synced: about 2 months ago
JSON representation

WAV player for MicroPython board

Lists

README

        

# 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 / [email protected]

# 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