C++ Music with 'Beep ()' function

Reply

Join Date: Nov 2009
Posts: 3
Reputation: orangejediman is an unknown quantity at this point 
Solved Threads: 0
orangejediman orangejediman is offline Offline
Newbie Poster

C++ Music with 'Beep ()' function

 
0
  #1
Nov 10th, 2009
Hello,all! I am attempting to make a program in which tetris music is played. However, to get the full effect, I need more than one beep at a time. I cannot use the getsound thing either, i am not allowed. It has to be using 'Beep()'. Is this possible, and, if so, how?
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 61
Reputation: K0ns3rv is an unknown quantity at this point 
Solved Threads: 7
K0ns3rv K0ns3rv is offline Offline
Junior Poster in Training
 
0
  #2
Nov 10th, 2009
Yea it's possible, but you will have to multithread you program and have one thread running one tone and the other running the other.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 3
Reputation: orangejediman is an unknown quantity at this point 
Solved Threads: 0
orangejediman orangejediman is offline Offline
Newbie Poster
 
0
  #3
Nov 10th, 2009
Oh, OK.... How do you multithread
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 1,932
Reputation: firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all 
Solved Threads: 254
firstPerson's Avatar
firstPerson firstPerson is online now Online
Posting Virtuoso
 
0
  #4
Nov 10th, 2009
Use an external library to handle musics and sound. I would suggest
openAL (Google it).
Go ahead and try to solve  this  euler problem, if u can. Check with me for hints and 
answers. Good Luck
Solved by:tux4life, zalezog, "your name here";
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 679 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC