Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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:
Or use the free windows software here;
BTc Sound Encoder v3.0 - free sound software

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.
 
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top