Click here to Skip to main content
14,924,633 members
Articles / Programming Languages / C++
Article
Posted 4 Apr 2004

Stats

74.6K views
4.5K downloads
50 bookmarked

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
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

Share

About the Author

No Biography provided

Comments and Discussions

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