You have to set different frequency for each note :P I got the frequency notes from a site (don't remember where...) and combined it using a music sheet
I did it like: play a note, pause for certain sec, play a note, pause..etc
so would the command be like on, wait, off, wait (at the tones frequency) then after a certian amount of cycles wait for a larger amount of time, then to the next note?
or is there a special way to do it?
either way its really cool. my arduino is in the mail on the way :D
I know that this question was from 3 months ago but you would set it in a for loop with on, delay, off, delay. That would be 1 cycle. Now by setting the different delay times. You could control how fast the speaker would be oscillating therefore controlling the pitch :-)
Think of this little thing like a super tiny computer, except it's a stripped version. It requires the programming language C to control it. I google'd around for a jingle bell music score (with A, B, C, D, etc), and luckily I found basic music note codes for the board, which is based on the frequency, (high pitch..low pitch..etc) Then I started playing jingle bells on youtube and add/rearrange the code to what it is now :)
tempo problems
binarytechnology 4 months ago
how much did you pay for yours Arduino Duemilanove? i found one for $29.95 is it cheap?
Bojanpzs1 2 years ago
Yea I bought mine for like $30
feihtkrad 2 years ago
@feihtkrad i got mine of amazon for 25 dollars no shipping
eflubacher 11 months ago
cool!
zawhein2000 2 years ago
You have to set different frequency for each note :P I got the frequency notes from a site (don't remember where...) and combined it using a music sheet
I did it like: play a note, pause for certain sec, play a note, pause..etc
feihtkrad 2 years ago
so would the command be like on, wait, off, wait (at the tones frequency) then after a certian amount of cycles wait for a larger amount of time, then to the next note?
or is there a special way to do it?
either way its really cool. my arduino is in the mail on the way :D
skierplaterandy 2 years ago
I know that this question was from 3 months ago but you would set it in a for loop with on, delay, off, delay. That would be 1 cycle. Now by setting the different delay times. You could control how fast the speaker would be oscillating therefore controlling the pitch :-)
snowman4839 2 years ago
yeh, i got the tone library now. its much eaiser to control with that because it doesn't need to delay the code.
skierplaterandy 2 years ago
Think of this little thing like a super tiny computer, except it's a stripped version. It requires the programming language C to control it. I google'd around for a jingle bell music score (with A, B, C, D, etc), and luckily I found basic music note codes for the board, which is based on the frequency, (high pitch..low pitch..etc) Then I started playing jingle bells on youtube and add/rearrange the code to what it is now :)
feihtkrad 3 years ago
only one question: how?
jetty1122 3 years ago