MIDI files and PIMap files


To play a MIDI file on the 3DO Station, you need the following files:

This section discusses the PIMap file format, including the currently supported flags and an example file.

Working with PIMaps

A PIMap associates MIDI program numbers with 3DO instruments.

Parts of a PIMap

A PIMap consists of several lines, separated by carriage returns. Each line contains:

Currently supported flags

The following table lists the flags that are currently supported as part of a PIMap:

Table 1:  Flags in a PIMap.
--------------------------------------------------------
Flag   |Description                                     
--------------------------------------------------------
-f     |Play sample file using a fixed-rate sample      
       |player that uses fewer ticks than a             
       |variable-rate player would                      
--------------------------------------------------------
-m n   |Set maximum number of voices (default is 1)     
--------------------------------------------------------
-l n   |Set low note for a sample                       
--------------------------------------------------------
-b n   |Set base note for a sample                      
--------------------------------------------------------
-h n   |Set high note for a sample                      
--------------------------------------------------------
-p n   |Set priority for instrument, default = 100, max 
       |= 200                                           
--------------------------------------------------------
-d     |Set a detune value. This works only on          
       |instruments that use the default sample playback
       |module (sampler.dsp); not on compiled ARIA      
       |instruments.                                    
--------------------------------------------------------

Note: The base note is the "home" note of the sample and is not necessarily the lowest (bass) note.

PIMap example

The example below shows a small PIMap file. The following points are of interest:

Example 1: PIMap example file.

1 clarinet1.aiff -l 30 -b 48 -h 53
1 clarinet2.aiff -l 54 -b 60 -h 66
1 clarinet3.aiff -l 67 -b 72 -h 84
2 gong.aiff -f
3 bass.aiff -p 150
4 organ.aiff -m 4
5 varmono16.dsp
5 bell.aiff
6 sawenv.dsp
7 windnoise.ins

Note: In addition to .aiff files, you can also use instruments you previously created in ARIA (.ins files). The last line of the example above illustrates this.