Click here to Skip to main content
15,861,172 members
Articles / Programming Languages / C++
Article

Frequency Generator shows how to work with WaveOut function.

Rate me:
Please Sign up or sign in to vote.
4.32/5 (19 votes)
4 Apr 2004 77.6K   4.6K   50   10
Version 1.0 (Release)

Introduction

This program was created in order to substitute laboratory frequency generator. It shows how to use API function - WavOut for playing sound with different frequencies in the range 1 Hz...20000 Hz (not all sound cards support so high frequencies), different amplitudes and phase shifts. The program is created in C++ Builder 5 platform. In future, I am planning to add complex signal generation supporting, amplitude, frequency and phase modulation. All new versions with source code will be available here. In this program, you also can find an example on how to extract the icon with different sizes from an exe or DLL file (ExtractIconEx function). With any remarks or wishes, you can write me to member@one.lv.

Sample screenshot


And this is a new version with channels division support:

Sample screenshot

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Latvia Latvia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 5 Pin
supervolk24-Jan-12 7:56
supervolk24-Jan-12 7:56 
GeneralMy vote of 2 Pin
Amanpal_51-Dec-08 6:10
Amanpal_51-Dec-08 6:10 
Generalpreety good aproach Pin
Amanpal_51-Dec-08 5:42
Amanpal_51-Dec-08 5:42 
Generalaccess violation error Pin
krankoloji27-Jul-08 21:25
krankoloji27-Jul-08 21:25 
GeneralRe: access violation error Pin
krankoloji29-Jul-08 23:10
krankoloji29-Jul-08 23:10 
Questioncrossfading to eliminate 'clicks'? Pin
leevonk21-Sep-04 10:30
leevonk21-Sep-04 10:30 
GeneralNice to see a CBuilder project Pin
yarp6-Apr-04 20:21
yarp6-Apr-04 20:21 
GeneralNice idea Pin
Alexander M.,5-Apr-04 1:20
Alexander M.,5-Apr-04 1:20 
GeneralRe: Nice idea Pin
Jörgen Sigvardsson5-Apr-04 6:18
Jörgen Sigvardsson5-Apr-04 6:18 
GeneralRe: Nice idea Pin
Sergey Matveyev8-Apr-04 2:38
Sergey Matveyev8-Apr-04 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.