Sprites.Platform.PC

The PC platform pack: a sequencer channel model of the PC's audio, the 1-bit internal speaker and nine OPL2 FM voices. It is described as address-free capabilities with value ranges, so the Sprites.Media.Sequencer editor can lay out the grid and gate what each channel can do.

Sprites.Platform.PC

Sprites.Platform.PC.Sequencer Object

The sequencer channel model for the PC: the 1-bit internal speaker as a single pitch-only channel, and nine OPL2 FM voices with two-operator synthesis, a six-bit volume, an ADSR envelope, and vibrato and tremolo. The channels are addressed by index, ten in all, the speaker first and the nine FM voices after. Playable notes span the range 24 to 108, and the shared effects are arpeggio, portamento, vibrato, tremolo and volume slide.

const model = Sprites.Platform.PC.Sequencer;
const channels = Sprites.Reactive.Value(model.channels);
Sprites.Reactive.Each(channels, (channel, index) => {
  const type = Sprites.Object.Field(channel, 'type');
  const row = Sprites.Ui.Dom.Tag('div', () => {
    Sprites.Ui.Dom.Text('Channel ', index, ': ', type);
  });
});
The ten sequencer channels: the internal speaker first, then the nine OPL2 FM voices.