944,051 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2267
  • C++ RSS
Dec 18th, 2005
0

Sine waves and sound

Expand Post »
What is the best way to use Sine waves in C++? Also, I want to, by inputting sine waves, generate a sound and vice versa. Is there a way to do this?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Karl1 is offline Offline
1 posts
since Dec 2005
Dec 23rd, 2005
0

Re: Sine waves and sound

What compiler are you using? What OS?

You might try sound() which outputs a given frequency through the PC speaker. Just don't forget to call sound(0) when you're done or you'll have sound coming out of the speaker until you turn the computer off.
Reputation Points: 185
Solved Threads: 28
Posting Whiz in Training
dwks is offline Offline
269 posts
since Nov 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Need help please as soon as possible
Next Thread in C++ Forum Timeline: library program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC