Thread: how to create diffrent sound frequencies

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    9

    how to create diffrent sound frequencies

    i know there is a sound function
    but that is best for beepeing as far as i know
    i have seen in modren games drum beats are played and all sorts of music
    i dont wanna use a wave file or any file
    but i want to create that sound through programming
    do u get what i wanna say
    i want create the sounds using programming!
    because all the wav sounds and others sounds come out of speaker only
    and if they are dependent on some sound card then how to manipulate it through c.
    i use turboc 3.

  2. #2
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    I did this once, in VB though
    Here is how I did it, basic discription.

    Take a file or LONG LONG LONG string and input sometype of code or thing that can be parsed into frequencies, talk to the BIOS Controller then to the Sound Card and output the frequencies...

    Keep in mind for a constant tone it is actually oscilating. (REALLY big problem in VB, loops are so finite in the ways of VB)
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to create a file association program?
    By eShain in forum Windows Programming
    Replies: 1
    Last Post: 03-06-2006, 12:15 PM
  2. Project Lost Tomorrow recruiting Programmers and Sound Engineers
    By chewtoy in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 12-07-2005, 05:02 AM
  3. Cannot create MDI Client Win
    By JaWiB in forum Windows Programming
    Replies: 1
    Last Post: 10-31-2005, 10:05 PM
  4. create sound in C++ programming...how???
    By SweeLeen in forum C++ Programming
    Replies: 10
    Last Post: 09-25-2005, 10:24 AM
  5. Using PC Speaker and NOT the sound card in a console...
    By Trauts in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 04-09-2003, 08:52 PM