Playing Music/Sound on an Arduino

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,691
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 30, 2009

This setup uses my sound.h library.

Please visit this site to learn how to use the sound.h library and download it:

http://www.kymissis.columbia.edu/projects/102

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (PronoyBiswas)

  • How difficult would it be to playback three square waves with independent volume simultaneously?

  • 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

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Can you use multiple speakers at the same time?

  • Nice. I have that same breadboard :P Jameco rocks.

  • 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.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more