Topic: MIDI operations in MVC++


Author: "G nter Nagler" <gnagler@ihm.tu-graz.ac.at>
Date: 20 Mar 1995 09:04:37 GMT
Raw View
You asked:
>
> Hello, all.
>
> If the answer to the following question is in a FAQ somewhere,
could
> someone please direct me towards it?  Also, any other
literature on the
> subject would be greatly helpful.  Thanks!
>
> I am trying to read from and write to a MIDI device with Visual
C++.  I
> am writing some educational music software and I want to be
able
> to play notes on my MIDI device and read notes that are played
in by
> a student to get answers to questions.  I cannot figure out how
this
> is done using MVC++ 1.0 (Standard Edition).  If someone could
describe to
> me the function calls, or macros, or however it is I can do
this I
> would be most grateful.  If I need some supplemental library, I
need
> to know that too so I can go out and get it.
>

Have a look into include/mmsystem.h
There are many functions that support midi

for example:
low level functions as: midiOutShortMsg()
high level functions as: mciSendString("play ...")
                         mciSendCommand(...)

good luck, G=FCnter Nagler
-----------------------------------------------------------------
Dipl.-Ing. Guenter Nagler, Institut fuer HyperMedia Systeme
(IHM),
JOANNEUM RESEARCH Forschungsgesellschaft
Schieszstattgasse 4A, A-8010 Graz, Austria
Tel: ++43 316 832551-32, Fax: ++43 316 824394
email: gnagler@ihm.tu-graz.ac.at






Author: "G nter Nagler" <gnagler@ihm.tu-graz.ac.at>
Date: 20 Mar 1995 09:05:31 GMT
Raw View
You asked:
>
> Hello, all.
>
> If the answer to the following question is in a FAQ somewhere,
could
> someone please direct me towards it?  Also, any other
literature on the
> subject would be greatly helpful.  Thanks!
>
> I am trying to read from and write to a MIDI device with Visual
C++.  I
> am writing some educational music software and I want to be
able
> to play notes on my MIDI device and read notes that are played
in by
> a student to get answers to questions.  I cannot figure out how
this
> is done using MVC++ 1.0 (Standard Edition).  If someone could
describe to
> me the function calls, or macros, or however it is I can do
this I
> would be most grateful.  If I need some supplemental library, I
need
> to know that too so I can go out and get it.
>

Have a look into include/mmsystem.h
There are many functions that support midi

for example:
low level functions as: midiOutShortMsg()
high level functions as: mciSendString("play ...")
                         mciSendCommand(...)

good luck, G=FCnter Nagler
-----------------------------------------------------------------
Dipl.-Ing. Guenter Nagler, Institut fuer HyperMedia Systeme
(IHM),
JOANNEUM RESEARCH Forschungsgesellschaft
Schieszstattgasse 4A, A-8010 Graz, Austria
Tel: ++43 316 832551-32, Fax: ++43 316 824394
email: gnagler@ihm.tu-graz.ac.at






Author: "G nter Nagler" <gnagler@ihm.tu-graz.ac.at>
Date: 20 Mar 1995 09:07:51 GMT
Raw View
> Hello, all.
>
> If the answer to the following question is in a FAQ somewhere,
could
> someone please direct me towards it?  Also, any other
literature on the
> subject would be greatly helpful.  Thanks!
>
> I am trying to read from and write to a MIDI device with Visual
C++.  I
> am writing some educational music software and I want to be
able
> to play notes on my MIDI device and read notes that are played
in by
> a student to get answers to questions.  I cannot figure out how
this
> is done using MVC++ 1.0 (Standard Edition).  If someone could
describe to
> me the function calls, or macros, or however it is I can do
this I
> would be most grateful.  If I need some supplemental library, I
need
> to know that too so I can go out and get it.
>
> Regards,
> Benjamin
>
> --
> Benjamin Yang Temko
> Emory University, Atlanta, GA
> Internet:  temko@mathcs.emory.edu               BITNET:
temko@emory.bitnet
> UUCP: {rutgers,ogicse,gatech}!emory!temko
>
> "The sacredness of language is found in silence."
>         Robert Shaw


Have a look into include/mmsystem.h
There are many functions that support midi

for example:
low level functions as: midiOutShortMsg()
high level functions as: mciSendString("play ...")
                         mciSendCommand(...)

good luck, G=FCnter Nagler
-----------------------------------------------------------------
Dipl.-Ing. Guenter Nagler, Institut fuer HyperMedia Systeme
(IHM),
JOANNEUM RESEARCH Forschungsgesellschaft
Schieszstattgasse 4A, A-8010 Graz, Austria
email: gnagler@ihm.tu-graz.ac.at






Author: temko@mathcs.emory.edu (Benjamin Temko (grad student))
Date: 15 Mar 1995 16:25:10 GMT
Raw View
Hello, all.

If the answer to the following question is in a FAQ somewhere, could
someone please direct me towards it?  Also, any other literature on the
subject would be greatly helpful.  Thanks!

I am trying to read from and write to a MIDI device with Visual C++.  I
am writing some educational music software and I want to be able
to play notes on my MIDI device and read notes that are played in by
a student to get answers to questions.  I cannot figure out how this
is done using MVC++ 1.0 (Standard Edition).  If someone could describe to
me the function calls, or macros, or however it is I can do this I
would be most grateful.  If I need some supplemental library, I need
to know that too so I can go out and get it.

Regards,
Benjamin


--
Benjamin Yang Temko
Emory University, Atlanta, GA
Internet:  temko@mathcs.emory.edu  BITNET: temko@emory.bitnet
UUCP: {rutgers,ogicse,gatech}!emory!temko

"The sacredness of language is found in silence."
 Robert Shaw