You're welcome. Ideally you should refer to the score for the music, but I assume you are asking as a non-musician? If you are lucky the score will be annotated with the notes, otherwise you will require a little bit of knowledge of how to read it. For simple scores you should be able to read it with a little bit of research and patience. Once you have the notes and durations, you can use the diagram included in the video to figure out which numbers to use: ua-cam.com/video/Z1YvIFUIhLs/v-deo.html
Hi, Great question. To achieve this, you just need to move the for loop (lines 71 - 75 in this gist: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L71-L74 ) from the setup() function into the loop() function (line 141: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L141 ). You should leave the pinMode() call (line 68: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L68 ) in the setup() function.
Hi Jeff, To achieve this, you just need to move the for loop (lines 71 - 75 in this gist: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L71-L74 ) from the setup() function into the loop() function (line 141: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L141 ). You should leave the pinMode() call (line 68: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L68 ) in the setup() function.
This was terrible. With no actual demonstration the viewer has no idea what to expect as results. So it's impossible to tell if I want to watch this, let alone try it. Try again.
@@CodeandMake dude, im sorry. Totally woke up on the wrong side on the bed. Wasn't right of me to take it out on you. Please keep making content. Im sure this is plenty valuable content.
Extremely well expliained, thank you!
damn this is the valueable video that I have been searching about how to make a song using arduino. If can make it more using musing
underrated, you really need to make more content
I have the same Arduino! Cheap and high quality.
Yeah me too dudes
Brooo this is amazing!
( 1 ) in pcm library
how i can change sample from 8000 to 22000 or any sample.
( 2 ) pcm library it can run on
nodmcu esp8266
Thanks for the wonderful video. Can you tell how can i get note value of any music to program Arduino.
You're welcome. Ideally you should refer to the score for the music, but I assume you are asking as a non-musician? If you are lucky the score will be annotated with the notes, otherwise you will require a little bit of knowledge of how to read it. For simple scores you should be able to read it with a little bit of research and patience. Once you have the notes and durations, you can use the diagram included in the video to figure out which numbers to use: ua-cam.com/video/Z1YvIFUIhLs/v-deo.html
would a 16th note be 4/16 = 0.4? time in video 6:40
مشكور.
Thanks
great!
It's a birthday song I've done it
Hi! Can I play two notes together on different output pins with only one Arduino? Thx for the answer.
How do I put this in the void loop function? I want my music to loop
Hi,
Great question. To achieve this, you just need to move the for loop (lines 71 - 75 in this gist: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L71-L74 ) from the setup() function into the loop() function (line 141: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L141 ). You should leave the pinMode() call (line 68: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L68 ) in the setup() function.
@@CodeandMake Thanks! New subscriber well earned!
Can I use speech instead of music?
How does it sound?
is there a website where i can input a mp3 and it will give me the correct code for the sound?
in next for record video please to resize resolution your monitor to 720px.
3:40
it a problem with youre program; don't define speackerPin 12
just 12-output and all is done
Where is the result of codes?
I am new to Arduino and would like to know how to code it in the loop, or could you point me to an example please. Tks.
Hi Jeff,
To achieve this, you just need to move the for loop (lines 71 - 75 in this gist: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L71-L74 ) from the setup() function into the loop() function (line 141: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L141 ).
You should leave the pinMode() call (line 68: gist.github.com/codeandmake/1add672bc7957135ac4e212360acbc98#file-gistfile1-txt-L68 ) in the setup() function.
@@CodeandMake Awesome ! Much Tks.
Can Arduino play more than one note at a time ? Tks.
Totally dissapointing not showing the music in the end!!!
Lame that there is no demo. Doesn't motivate me to try it myself.
This is a rick roll isn't it?
It's so fucking annoying when a video doesn't demo the music!
Hiçmi türk yok
ben varım :)
Buradayım kardeşim
This was terrible. With no actual demonstration the viewer has no idea what to expect as results. So it's impossible to tell if I want to watch this, let alone try it. Try again.
I'm sorry you do not like it. I hope you find a tutorial you enjoy.
@@CodeandMake dude, im sorry. Totally woke up on the wrong side on the bed. Wasn't right of me to take it out on you. Please keep making content. Im sure this is plenty valuable content.