midiio
所属分类:Windows编程
开发工具:Visual C++
文件大小:28KB
下载次数:286
上传日期:2007-04-03 14:38:00
上 传 者:
treeson
说明: 控制MIDI输入输出的程序。
View MIDI input messages in raw form or with text descriptions.
Send MIDI messages using the mouse or from dialog controls.
Select MIDI input and output devices from the application.
Run multiple instances to demonstrate MIDI device sharing between
applications.
(MIDI input and output control procedures. View MIDI input messages in raw form or with text descriptions. Send MIDI messages using the mou se or from dialog controls. Select an MIDI input d output devices from the application. Run mult Attached instances to demonstrate MIDI device shar ing between applications.)
文件列表:
DIALOG.C (10817, 1994-04-08)
DIALOG.H (344, 1994-01-10)
DISPLAY.C (11518, 1993-12-22)
DISPLAY.H (224, 1993-12-19)
LEGAL.TXT (1889, 1993-12-22)
MENU.C (13728, 1994-04-27)
MENU.H (119, 1993-12-11)
MIDI.C (29105, 1994-04-27)
MIDI.H (6171, 1994-06-01)
MIDIIO.C (16398, 1994-06-01)
MIDIIO.DEF (391, 1994-01-10)
MIDIIO.H (2894, 1994-01-10)
MIDIIO.ICO (766, 1994-04-05)
MIDIIO.MAK (3246, 1994-04-08)
MIDIIO.RC (4768, 1994-01-10)
NONOTE.CUR (326, 1993-12-18)
NOTE.CUR (326, 1993-12-12)
MIDIIO Sample Application
-------------------------
*** Application Features ***
View MIDI input messages in raw form or with text descriptions.
Send MIDI messages using the mouse or from dialog controls.
Select MIDI input and output devices from the application.
Run multiple instances to demonstrate MIDI device sharing between
applications.
*** Notes ***
Source demonstrates implementation of MIDI device selection and sharing
techniques, and simple data input and output.
Wrapper functions encapsulate low-level MIDI API's, handle errors and
simplify application code.
Macros provided for building MIDI messages. Manifest constants describe
MIDI message protocol.
Easy to build and run since no DLL callback required.
The MIDI data viewer filters out MIDI Timing Clocks, Active Sensing, and
System Exclusive data. The received data is not time-stamped. Due to
the performance limitations of window message callbacks, the method
employed by this sample of receiving data may result in loss of data under
certain conditions. For an example of how to implement the more reliable
method using a DLL callback, see the MIDIMON sample included with the
Windows 3.1 SDK.
The Sound Blaster 1.0 driver doesn't allow simultaneous MIDI input and
output, so if the input is already in use, you won't be able to select the
output, and vice versa.
Some MIDI drivers such as the driver for the Advanced Gravis Ultrasound may
perform long operations when being opened or closed. In such a case, select
the Always Keep Open menu items in the Inputs and Outputs menus so that
MidiIO will not release the input and output devices when it loses
activation.
The result of sending MIDI All Notes Off depends on the implementation of
the MIDI driver being used. For example, the MediaVision Pro Audio
Spectrum 16 driver sends All Notes Off and Reset All Controllers on all 16
channels.
The low-level MIDI API's used in MIDI.C are documented in the Windows 3.1
SDK Multimedia Programmer's Reference and Programmer's Guide. The
information is also available in WIN31MWH.HLP, a Windows help file provided
with the SDK.
FILES
-----
The following files are contained in this sample:
dialog.c - dialog functions source file
display.c - display functions source file
menu.c - menu functions source file
midiio.c - main source file
midi.c - MIDI wrapper functions source file
dialog.h - dialog functions header file
display.h - display functions header file
menu.h - menu functions header file
midiio.h - main header file
midi.h - MIDI wrapper functions header file
note.cur - note cursor
nonote.cur - no note cursor
midiio.ico - application icon
midiio.rc - application resources
legal.txt - legal instructions
readme.txt - this file
近期下载者:
相关文件:
收藏者: