Shop OBEX P1 Docs P2 Docs Learn Events
piezospeaker — Parallax Forums

piezospeaker

andy11667andy11667 Posts: 26
edited 2005-07-14 18:55 in BASIC Stamp
i know you can make the piezospeaker play differnt tones but does anybody know how to make play the full star wars theme

Comments

  • edited 2005-07-14 18:55
    There are web sites out there that offer Nokia RingTone downloads in RTTTL format.· Once you've got the RTTTL version of the tune, you can copy and paste the RTTTL music notation into the DATA directives in the last example program in Chapter 8 of What's a Microcontroller.

    If you are using a piezospeaker, you may need to bump all the notes up an octave, or even two.· For information on how to do this, study chapter 8 and the appendix it refers to that explains how the RTTTL notation works.· Then, it's a matter of going in and changing a few digits in the RingTone.

    What's a Microcontroller is available for download from www.parallax.com -> Downloads -> Stamps in Class Tutorials.

    Post Edited (Andy Lindsay (Parallax)) : 7/14/2005 7:05:22 PM GMT
Sign In or Register to comment.