Turkish March - Playing music with AVR microcontroller ATmega328 PWM

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,694
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 27, 2011

It uses an ATmega328 to outputs the waveform of the timbre of a piano in different speeds to generate different frequencies so as to reproduce the notes of a piano.
It can play up to 2 notes simultaneously and it follows a sequence of notes and times that it should be played for in an array in the program memory.

The entire program (piano timbre + music notes) has 18 kb.

More details at:
http://code.google.com/p/playing-music-with-atmega328-pwm/

---------------------------------------------

O circuito usa um ATmega328 para gerar a forma de onda do timbre de um piano em diferentes velocidades para gerar diferente frequências de forma a reproduzir diferentes notas de um piano.
Pode tocar até 2 notas simultaneamente e segue uma sequência de notas e tempos gravadas na memória de programa.

O programa inteiro (timbre do piano + notas) possui 18kb.

Mais detalhes em:
http://code.google.com/p/playing-music-with-atmega328-pwm/

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (MauricioRivello)

  • missing some b and # notes but its briliant!

  • @Soli9111 Thank you!

    After that project, I made a software to convert from MIDI files to the microcontroller code.

    But the one in the video, I just wrote the whole music, note by note and with the times =P

Video Responses

This video is a response to Playing music with an AVR microcontroller
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • Hahahaha I'm the 999 viewer lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more