← All spotlightsPrograms / Features

Spotlight › MIDIRack

MIDIRack

Standard MIDI File playback through OPL, Sound Blaster PCM, MPU-401, Covox or the PC speaker.

MIDIRack
The MIDIRack window on VGA, playing. On the left a Playlist pane lists ten songs with BATTLE1.MID selected. In the middle a black Now Playing display reads BATTLE1.MID, length 01:29, elapsed 00:10, measure 007 of 056, tempo 150 BPM, output OPL2 (AdLib), with a green progress bar, and Prev, Play, Pause, Stop and Next buttons in blue, green, orange and red. On the right a Channel Rack lists sixteen channels with their instruments, Brass Section, String Ensemble, Distortion Gtr, Electric Bass and Drum Kit among them, and green level bars on the ones sounding. A Status pane below says an OPL2 chip was found at 0x388.
MIDIRack channel display.
Output paths
6
MIDI channels
16
Executable
28.8KB

01 / File and event model

File and event model

MIDIRack reads the event streams and timing in Standard MIDI Files. The MIDI Association specification defines the file format; output synthesis is a separate implementation choice.

The loader scans the song to build its track, duration, channel and note summary. General MIDI instrument assignments are mapped to the selected renderer. External modules retain their own patch maps; an MT-32 is not a General MIDI-compatible Sound Canvas substitute without suitable mapping.

02 / Output backends

Output backends

Automatic prefers FM when available. The OPL backend allocates up to eight melodic voices on OPL2 or seventeen on OPL3, reserving capacity according to this player's design. Those are MIDIRack limits, not the chips' total channel counts.

Alternative backends include software pulse/noise synthesis into Sound Blaster PCM, sampled instruments from the optional GeneralUser GS-derived bank, MPU-401 UART output, Covox, and speaker playback. High-rate speaker synthesis blocks desktop work; background speaker mode reduces playback to a monophonic line.

The recorded instrument bank is approximately 210KB and is installed separately on space-constrained media. Automatic does not choose that backend.

03 / Playback and settings

Playback and settings

MIDIRack
A MIDI Info card over the MIDIRack window. It reads File: BATTLE1.MID, 8,124 bytes; Format: type 1, 6 tracks; Division: 96 ticks a quarter note; Length: 01:29, 56 measures; Notes: 1,281 on 5 channels; and the title Steel Rain (Battle 1).
Precomputed MIDI file summary.
MIDIRack
The MIDIRack window in black and white on a CGA screen, playing BATTLE1.MID at 00:13 of 01:29, measure 009 of 056, output OPL2 (AdLib). The transport buttons are pictures: previous, play, pause, stop and next. The Channel Rack shows the sixteen channels in two columns of eight, with filled level bars on channels 1, 3, 4 and 10.
CGA layout.
MIDIRack
The Settings dialog on CGA. Under Output device: Automatic selected, then OPL3 FM 17 voices greyed, OPL2 FM (AdLib) 8, Sound Blaster synth greyed, PC speaker synth, MIDI out (MPU-401) greyed and SB wavetable (bank) greyed. Under Synth sample rate: Automatic selected, then 8,000, 11,025, 16,000 and 22,050 Hz, with 32,000 and 44,100 Hz greyed. OK and Cancel buttons.
Output and rate capability selection.

04 / Backend budgets

Backend budgets

The table records MIDIRack's processor-tier defaults. The XT software-synthesis measurements used a cycle-accurate 4.77 MHz model. Sampled polyphony at 8kHz fell behind at three voices, so its conservative XT setting is lower. Manual settings can exceed those defaults; they do not guarantee uninterrupted audio.

Display updates are throttled and meter redraw is limited to changed spans. FM and external-MIDI event output avoid the per-sample mixing work of software synthesis.

Notes at once and sample rate Automatic picks, by processor
8088286386 or later
Synthesizer, Sound Blaster6 notes, 8,000 Hz8 notes, 16,000 Hz8 notes, 22,050 Hz
Synthesizer, PC speaker4 notes, 5,512 Hz6 notes, 16,000 Hz6 notes, 16,000 Hz
Recorded instruments3 notes, 6,000 Hz8 notes, 11,025 Hz16 notes, 11,025 Hz

05 / Supported MIDI subset

Supported MIDI subset

General MIDI rather than GM2. Device-specific SysEx and aftertouch are ignored. The OPL renderer uses two-operator voices, without four-operator mode or hardware percussion mode. The progress bar is not a seek control.

06 / Run MIDIRack

Run MIDIRack

Launch MIDIRACK.O88 from the software/music media or install it from The Wire. Add the separate sound-bank package for sampled instruments. Enable SOUND.DRV manually when a standalone MPU-401 is present without a detected FM card.