作者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