Go Down

Topic: Tone Melody Help (Read 518 times) previous topic - next topic

Puche

Hi... I've been working with Arduino for a short time. I'm using the example of tone melody for a personal proyect, but I have no idea about music and what I need is know how to change this song: http://www.youtube.com/watch?v=uArYgSXz1aI&app=desktop  into the language of Arduino. I only need 20sec. of the tune.

Please help me! Thanks to all.

johnwasser

That is not a melody.  That is a snare-drum track.  To play it you need something like a drum machine: http://bleeplabs.com/drum-kit-new/
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Puche

Sorry, Maybe I was not clear with my explanation.

What I need to do is something like this: http://www.instructables.com/id/How-to-easily-play-music-with-buzzer-on-arduino-Th/?lang=es
I found this example on the internet, on the web site Istructables.com

I need to do exactly the same but with a different music. This are the links with the sheet music and the audio:
- https://www.youtube.com/watch?v=vJMvCEaOpyw
  From this link I need the notes until sec 27.

- This first link is for the sheet music.  http://ebookbrowsee.net/gdoc.php?id=399890027&url=
   This is the music link in Youtube: https://www.youtube.com/watch?v=vq7HOgjPZXU
   I need the notes until sec 16.

I will appreciate your help... Because this is driving me crazy!     :~
Thanks 

johnwasser

One problem you will have is that the bult-in Tone function of the Arduino can only play one note at a time.  The sheet music of the first track shows multiple simultaneous notes.  There are ways to play more (third-party libraries, for example) but you have to decide if you need that capability enough to do the extra work.  If you want to go with single notes, just take the top one (highest pitch) in each column.

Next step is learning to read music enough to determine the notes and durations.  Here is a tutorial that covers the basics: http://datadragon.com/education/reading/

The sheet music link for the second piece gets a "Page Not Found" error.  The YouTube link for the second piece sounds like it's mostly a snare drum track which will not reproduce well as notes on an Arduino.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Puche

Jhon... Thanks a lot for your help.


Go Up