Click here to Skip to main content
6,595,444 members and growing! (21,235 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate

Frequency Generator shows how to work with WaveOut function.

By Sergey Matveyev

Version 1.0 (Release)
C++Win2K, WinXP, Win2003, Visual Studio, Dev
Posted:4 Apr 2004
Views:41,981
Bookmarked:38 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
16 votes for this article.
Popularity: 4.55 Rating: 3.78 out of 5
4 votes, 25.0%
1
2 votes, 12.5%
2
1 vote, 6.3%
3
1 vote, 6.3%
4
8 votes, 50.0%
5

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

About the Author

Sergey Matveyev


Member

Location: Latvia Latvia

Other popular C / C++ Language articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 9 of 9 (Total in Forum: 9) (Refresh)FirstPrevNext
GeneralMy vote of 2 PinmemberAmanpal_57:10 1 Dec '08  
Generalpreety good aproach PinmemberAmanpal_56:42 1 Dec '08  
Generalaccess violation error Pinmemberkrankoloji22:25 27 Jul '08  
GeneralRe: access violation error Pinmemberkrankoloji0:10 30 Jul '08  
Generalcrossfading to eliminate 'clicks'? Pinmemberleevonk11:30 21 Sep '04  
GeneralNice to see a CBuilder project Pinsupporteryarp21:21 6 Apr '04  
GeneralNice idea PinmemberAlexander M.2:20 5 Apr '04  
GeneralRe: Nice idea PinmemberJörgen Sigvardsson7:18 5 Apr '04  
GeneralRe: Nice idea PinmemberSergey Matveyev3:38 8 Apr '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 4 Apr 2004
Editor: Smitha Vijayan
Copyright 2004 by Sergey Matveyev
Everything else Copyright © CodeProject, 1999-2009
Web17 | Advertise on the Code Project