作者vivimice (麦斯◎我的奶酪在哪里﹖)
看板Visual_Basic
标题[API] The MIDI Mapper and Windows
时间Wed Jul 27 15:13:57 2005
来源﹕mk:@MSITStore:E:\Microsoft%20Visual%20Studio\MSDN98\98VS\2052\
MultiMed.chm::/devdoc/live/pdgrmm/midi_7gab.htm
翻译﹕vivimice 智慧权所有
原载﹕缥缈水云间 (bbs.freecity.cn)
The MIDI Mapper and Windows
The MIDI Mapper is part of the system software. The following illustration
shows how the MIDI Mapper relates to other elements of the audio services.
┌─────────────┐
│ MultiMedia Application │
│ 多媒体应用程序 │
└─┬──────┬────┘
│ ↓
│ ┌─────────┐
│ │ MCI MIDI │
│ │ Sequencer Driver │
│ │ MCI MIDI 音序驱动│
│ └────┬────┘
↓ ↓
┌─────────────┐
│ midiOutShortMsg │
│ midiOutLongMsg │
└──────┬──────┘
↓ ↘
┌──────┐ ┌─────────────┐
│ MIDI Mapper│ │ MIDI Output Device │
│ MIDI 映射表├───→│ MIDI 输出设备 │
└──────┘ └─────────────┘
From the viewpoint of an application, the MIDI Mapper looks like another
MIDI output device. The MIDI Mapper receives messages sent to it by the
low-level MIDI output functions midiOutShortMsg and midiOutLongMsg. The
MIDI Mapper modifies these messages and redirects them to a MIDI output
device according to the current MIDI setup map. The current MIDI setup
map is selected by the user by means of the MIDI Control Panel option.
Only the user can select the current setup map; applications cannot change
the current setup map.
参考译文﹕
MIDI映射表是系统软件的一部分﹐下面的图片展示了MIDI映射表是怎样和音频
服务中其他元素相关联的。
┌─────────────┐
│ MultiMedia Application │
│ 多媒体应用程序 │
└─┬──────┬────┘
│ ↓
│ ┌─────────┐
│ │ MCI MIDI │
│ │ Sequencer Driver │
│ │ MCI MIDI 音序驱动│
│ └────┬────┘
↓ ↓
┌─────────────┐
│ midiOutShortMsg │
│ midiOutLongMsg │
└──────┬──────┘
↓ ↘
┌──────┐ ┌─────────────┐
│ MIDI Mapper│ │ MIDI Output Device │
│ MIDI 映射表├───→│ MIDI 输出设备 │
└──────┘ └─────────────┘
从应用程序的视角来看﹐MIDI映射表看起来像是另一个MIDI输出设备。MIDI映射表
接收到使用底层MIDI函数midiOutShortMsg和midiOoutLongMsg发送的消息﹐然後把这些
消息修改以後根据当前的MIDI设置表重定向到MIDI输出设备。当前的MIDI设置表是由用
户在控制面板中MIDI选项(译者注﹕从WindowsMe以後﹐该选项已经合并到音频设置中
了)选定的。应用程序不能变更当前的MIDI设置表。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.108.88.250