
Porting MODE to new Platforms

There are several interfaces that are used by MODE 1.1 and are of interest when moving the software onto a new hardware, OS, or sound/MIDI driver platform.

Sampled Sound I/O uses external 'splay' program (see ../bin/README), which is assumed to read files and have flags as used in the SunSoundPort class. Note that it is not assumed that splay can read samples from stdin or through a socket, though either of these would be nice (and the supplied splay binary and source do support).

MIDI data are written to a real-time driver by the methods in SunMIDIPort, which assumes the existance of an external 'mplay' program.

MIDI data is read assuming that 'mread' exists and translates MIDI data through the driver into a simple ASCII format.

Sound files can be read and written intoi and from Smalltalk either using MODE header creation and parsing code or external from/tosnd programs. The class SoundFile has the methods for changing this.

stp--6 June 1992

