How to get a nice sounding chime tone


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    What I learned is that I need to generate, say, 2 or 3 tones on different pins, and tie them together.

    I found an interesting example done using another compiler (http://users.picbasic.org/projects/making_music/) and interrupts. In my application, I don't really see the need of using interrupts since gerating this chime will be the only thing that my PIC will be doing.

    What I don't understand is how to do is generate 3 frequencies at the same time on 3 different pins. Any tips on this?

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rookie11 View Post
    What I learned is that I need to generate, say, 2 or 3 tones on different pins, and tie them together.
    I found an interesting example done using another compiler (http://users.picbasic.org/projects/making_music/) and interrupts. In my application, I don't really see the need of using interrupts since gerating this chime will be the only thing that my PIC will be doing.
    What I don't understand is how to do is generate 3 frequencies at the same time on 3 different pins. Any tips on this?
    Well, if you check that code, and take a look at the PBP manual, you'll find they are very similar. Most likely the other code will probably port right over to PBP format with very few changes.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi Rookie11,
    word on the street is square wave output from a PIC is rather harsh, and to put an inductor (choke) in series with the output to soften up the pulse train into something more like a sine wave.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Replies: 4
    Last Post: - 15th January 2016, 12:23
  2. CTCSS Tone Decoder Sample Program
    By sozkarabacak in forum General
    Replies: 0
    Last Post: - 20th October 2009, 06:15
  3. DTMF dial tone
    By lerameur in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 20th October 2007, 01:40
  4. Replies: 14
    Last Post: - 26th September 2007, 05:41

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts