Dark Matters
  • About Me
  • Publications
  • Educational Resources
  • Blog
  • Other Interests

Arduino Report #13: Project 19--Tune Player

2/16/2013

3 Comments

 
Additional Parts:
  1. 100 nF non-polarized capacitor x1
  2. 100 uF, 25v electrolytic capacitor x1
  3. 10k Ohm resistor x5
  4. 4.7k Ohm resistor x3
  5. 1M Ohm resistor x1
  6. 10k Ohm linear potentiometer x1
  7. TDA7052 1W audio amplifies x1
  8. Small 8 Ohm loudspeaker x1

Time to Complete: 30 minutes
Picture
This project is awesome. With just a handful of parts, I have assembled a crappy synthesizer the can play any tune that is programmed into it. In the video below, the Arduino plays the default song "Jingle Bells". The potentiometer is used as a volume knob. 

The program for the project is interesting in that each note must be separately constructed from the appropriate sine wave, and the duration of each note must be adjusted so they are all roughly equal. The author has taken the time to create two octaves worth of notes. The song below is played in the higher octave. After I took the video, I played it in the lower octave, which sounded better. Since the notes are already defined, it's possible to play any song by simply writing the appropriate notes and spaces to account for the duration of the notes and silences between them. It would also be simple to add the accidentals to the array of available notes. By default, the only available notes are two octaves of ABCDEFG. Perhaps I will take the time to add the accidentals and program a new tune. I also think I made need to make some adjustments to tune the tune player. "Jingle Bells" sounds pretty bad.

3 Comments
Yuma Dating link
10/5/2013 10:29:06 pm

How old is this post?

Reply
Benjamin Burch
10/6/2013 12:47:15 am

The date is on the post. It's from this past February.

Reply
William Moss
3/20/2015 03:38:26 am

can you furnish a schematic.....your implementation is different from Simon Monk schematic in Evil Genius which is not working for us

Reply



Leave a Reply.

    Archives

    July 2015
    February 2014
    November 2013
    October 2013
    September 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013

    Categories

    All
    Arduino
    Chess
    Lightsaber
    Math
    Probability
    Projects
    Python
    Raspberry Pi
    Robotics
    Statistics

    The Great Arduino Project

    RSS Feed

Powered by Create your own unique website with customizable templates.