944,030 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3399
  • C++ RSS
Mar 11th, 2007
0

Play MIDI Voice

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
Tales is offline Offline
37 posts
since Mar 2007
Mar 12th, 2007
0

Re: Play MIDI Voice

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.
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Mar 12th, 2007
0

Re: Play MIDI Voice

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
Reputation Points: 10
Solved Threads: 1
Light Poster
Tales is offline Offline
37 posts
since Mar 2007
Mar 12th, 2007
0

Re: Play MIDI Voice

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.
Super Moderator
Featured Poster
Reputation Points: 3241
Solved Threads: 720
Failure as a human
~s.o.s~ is offline Offline
8,873 posts
since Jun 2006
Mar 12th, 2007
0

Re: Play MIDI Voice

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...
Reputation Points: 10
Solved Threads: 1
Light Poster
Tales is offline Offline
37 posts
since Mar 2007

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: reading from .cap file
Next Thread in C++ Forum Timeline: need help on my code about word frequency counter





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


Follow us on Twitter


© 2011 DaniWeb® LLC