Thread: Beep And Win98

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Question Beep And Win98

    I've been trying to make a console-piano type program, and I need some basic tones. I dont feel like downloading them, and Beep on win98 is the standard tone. Is there another function or should I find some kind of thing like allegro, Directx etc?
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    How about the Beep function?

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    1

    Use the sound(int); function

    You can use a funtion called: sound(int); and set the frequency in hertz, this only works with the DJGPP, you can download the library at: http://www.delorie.com/djgpp/

  4. #4
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361
    How about the Beep function?
    Win98 doesn't take the parameters, it just gives me the standard gong noise (error box noise)

    I have DJGPP but I'm working with Borland now so...Next option!
    How 'bout allegro or directx? which leads me to another question

    What is Directx's address. I need to send away for the SDK CD-ROM (try saying that 5x fast!) I can't download it (160MB )
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making Sounds, Beeps and other pleasing things to the ear.
    By SlyMaelstrom in forum C++ Programming
    Replies: 4
    Last Post: 05-11-2004, 11:17 PM