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: 1 day ago
JSON representation
WAV player for MicroPython board
- Host: GitHub
- URL: https://github.com/MattMatic/micropython-longwave
- Owner: MattMatic
- License: mit
- Created: 2015-04-26T11:28:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-27T15:35:17.000Z (over 9 years ago)
- Last Synced: 2024-08-02T19:36:52.986Z (3 months ago)
- Language: Python
- Homepage:
- Size: 137 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpython - micropython-longwave - WAV player for MicroPython board. (精选驱动库 / 输出类)
- awesome-micropython-lib - micropython-longwave - WAV player for MicroPython board. (Audio)
- awesome-micropython - micropython-longwave - WAV player for MicroPython board. (Libraries / Audio)
README
# micropython-longwave
WAV player for MicroPython boardUses 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