gong or dingdong sound


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Posts
    60

    Default gong or dingdong sound

    Hello

    Have anyone idea how to make a dong or dindong sound with pic controller
    Perhaps a sample code please?

    Thanks

    Regards

    Pedro

  2. #2
    Join Date
    Mar 2007
    Posts
    5


    Did you find this post helpful? Yes | No

    Thumbs up Making Sound

    here is some working picbasic pro code
    these sounds wont be like a gong but all
    you have to do is change the numbers to
    suit,it works in pairs for example
    SOUND PORTb.1,[100,10] sends tone 100
    to portb.1 for a duration of 10ms
    target prosesor is 16f628-a

    cmcon = 7 'turn compartors off
    vrcon = 0 'turn voltage refrence off
    define osc 4 'set oscillator speed

    finaly:
    SOUND PORTb.1,[100,10,60,15,120,10,73,10]
    pause 400
    SOUND PORTb.1,[120,10]
    pause 400
    SOUND PORTb.1,[120,10]
    pause 400
    SOUND PORTb.1,[120,10]
    goto finaly
    end
    Attached Images Attached Images  
    Last edited by Evolution; - 13th March 2007 at 18:24.

Similar Threads

  1. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 06:28
  2. Wanted: Sound chip interfaced with pic
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 8th September 2008, 13:38
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  4. Sound and sound control with minimal parts
    By bartman in forum General
    Replies: 23
    Last Post: - 18th January 2005, 14:08
  5. Re: quick fix for sound command?
    By Melanie in forum Code Examples
    Replies: 0
    Last Post: - 9th July 2004, 01:44

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