Added: 3 years ago
From: Nmdck
Views: 970
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (4)

Sign In or Sign Up now to post a comment!
  • Hey, that's nice. How did you produce the sound?

  • I don't know how to answer, hehe.

    I mean I guess it depends on how deep is your knowledge about the 68HC12 or microprocessors in general.

  • Basically what I did was to use Output Compare and RTI (both interrupts, RTI to determine length of sound and OC to determine frequency) to generate sound at certain frequencies with a piezo speaker connected to the output of the pin used for OC.

    Once sound is produced at certain frequencies then all you need to know is what frequency produces what sound and then reading a music sheet match it to produce a song.

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