3 opl3 \- OPL3 chip emulator
14 is an emulator of a single Yamaha 262 chip, also known as
17 The emulated chip is programmed by a stream of commands either from
20 It then synthesizes a number of stereo 16 bit little-endian samples for a sampling rate of 44.1 kHz,
21 and writes them to standard out.
23 Commands are 5 bytes wide, in little-endian byte order:
31 Each command specifies a
37 modifying its internal state.
41 field provides timing.
42 It is a multiple of a command period, during which the
44 chip may be sampled before processing the next command.
45 The period itself is the inverse of the command rate, 44100 Hz by default.
46 This rate can be set using the
50 .B /sys/src/games/opl3
55 first appeared in 9front (July, 2018), based on
57 from the Multiple Arcade Machine Emulator (