generating "sa re ga ma" with avr microcontroller

Status
Not open for further replies.
Record the sounds in a file you can read uncompressed with a spreadsheet, export the raw values to a file in a format your assembler can read, load them in the AVR's memory, then sequence them out through the D/A convertor. Amplifier and speaker connect to the D/A output, through a capacitor.
 
you could also write code that synthesizes waveforms and then send them through the D/A
 
Last edited:
you could also write code that synthesizes waveforms and then send them through the D/A

That's too hard.

Mr RB}Or use the free windows software here; [URL="https://www.romanblack.com/picsound.htm" said:
BTc Sound Encoder v3.0 - free sound software[/URL]

that converts a wave file into 1bit sound, and generates a C array of the saound data that you can put direct into your code, playback only needs 1 or 2 AVR pins.

That's too easy.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…