Play MIDI Voice

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2007
Posts: 37
Reputation: Tales is an unknown quantity at this point 
Solved Threads: 1
Tales Tales is offline Offline
Light Poster

Play MIDI Voice

 
0
  #1
Mar 11th, 2007
I need to do something like Play MIDI voice (in the C++ code Snippets page 5), actually, that's exactly what I need, but I would like to make it work in Visual C++ 2005... can someone help me with the configuration steps to make the project work?

TYVM
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,857
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 120
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Play MIDI Voice

 
0
  #2
Mar 12th, 2007
You just need to write the file in the device which plays midi file
in unix it is as simple as
cat midifile > /dev/mid0
however in windows, I think there are free library available which can help you playing midi file
Last edited by ithelp; Mar 12th, 2007 at 3:09 am.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 37
Reputation: Tales is an unknown quantity at this point 
Solved Threads: 1
Tales Tales is offline Offline
Light Poster

Re: Play MIDI Voice

 
0
  #3
Mar 12th, 2007
Do You know a way to play MIDI sounds in visual C++?
Can someone help me with a piece of example code here?

Again

Thanks if You can help
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,636
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 470
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Play MIDI Voice

 
0
  #4
Mar 12th, 2007
Maybe something like this or this.

Though it would be of no use to use if you don't have a firm grasp of the language.
I don't accept change; I don't deserve to live.

Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 37
Reputation: Tales is an unknown quantity at this point 
Solved Threads: 1
Tales Tales is offline Offline
Light Poster

Re: Play MIDI Voice

 
0
  #5
Mar 12th, 2007
Ok, i think I got it from the MSDN, the problem is that I just need to play a MIDI voice, not a full file.
So I needes something like Sound(Freq, Time, Instrument, Volume); to make the sounds that i read from a database. But it's ok...
Reply With Quote Quick reply to this message  
Reply

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


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC