you would have to have a loop running with three if statements each checking the millis() function for the time passed. If the right amount of time has passed for each note, the if statement inverts the output on one of three pins according to the frequencies played.
thanks a lot ! It's a Bit trick to code Audio on Arduino, i was seaching for a Class for Dummys, who don't wants to think about too much coding for just simple melodies... :) Like...Put your notes and times here, e your're done. :) Thks for your Library. I Will test it TODAY ! :) Thks.
Can you use multiple speakers at the same time?
AKSoapy29 5 months ago
Nice. I have that same breadboard :P Jameco rocks.
purplemutantas 1 year ago
How difficult would it be to playback three square waves with independent volume simultaneously?
luis2048 2 years ago
you would have to have a loop running with three if statements each checking the millis() function for the time passed. If the right amount of time has passed for each note, the if statement inverts the output on one of three pins according to the frequencies played.
...in short...not so easy but somewhat possible
PronoyBiswas 2 years ago
thanks a lot ! It's a Bit trick to code Audio on Arduino, i was seaching for a Class for Dummys, who don't wants to think about too much coding for just simple melodies... :) Like...Put your notes and times here, e your're done. :) Thks for your Library. I Will test it TODAY ! :) Thks.
marcelosouza 2 years ago