Skip to content

Simple converter and example of digital audio playback on Arduino

License

Notifications You must be signed in to change notification settings

Cross22/arduinoSound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arduinoSound

Simple converter and example of digital audio playback on Arduino

Usage: convert.py looks for a file called input.wav - this needs to be 8 or 16 bit PCM Mono at 11kHz. The output is a C header file with the sample data at 1-bit.

$python convert.py > sound.h

In the arduinoCode folder is the playback code which in turn includes the generated sound.h file and plays it via a piezo speaker connected to Pin 8.

About

Simple converter and example of digital audio playback on Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages