Generating tones in C++

Generating tones in C++

Post by yaks » Sat, 11 Feb 2006 05:28:14


I want to generate tones of different frequencies. I wrote a program in
C++ and made use of sound() function , but it didint work. Can any one
please tell me as to which header file I need to include, or is there
any other function to generate the same.

I would be grateful.

1. How to convert "Microsoft Developer Studio generated resource script" to "Microsoft Visual C++ generated resource script."?

2. New class generated with VStudio2003 in C++ generate #include ".\.

When I create new class using right button in the Class View of Microsoft
Visual Studio C++ in a C++ project. The new CPP file( like example.cpp)
created has an include added looking like: "#include ".\example.cpp".

The problem are:
- ".\example.cpp" is more verbose and useless compared to ".\example.cpp"
- the "\" break in an unix environment. I'm trying to write cross platform

Please provide a workaround other that having me modify all generated code.
Please provide fix in futur version so I by default it does the right thing.

3. Generating simple tone with Windows MM API

4. how to generate dtmf tones

5. generating a sinus tone using VB

6. generate DTMF-tones

7. generating DTMF tones problem

8. Generating Tones VB6

9. easiest way to generate DTMF tones?

10. Generate a tone using ruby?

11. generate digital audio: tones, etc.

12. how to generate a single tone?

13. Generating tones - coreAudio?

14. Generating Tones With Python

15. need code for generating a tone