2022-01-16 06:10:43 +00:00
# Yamaha YM2151
2022-01-16 06:17:30 +00:00
the sound chip powering the Arcade system, available for standalone use if you want to make X68000 music or pair it with a 16-channel Sega PCM when it comes.
2022-01-16 06:10:43 +00:00
# effects
- `10xx` : set noise frequency of channel 8 operator 4. 00 disables noise while 01 to 20 enables it.
- `11xx` : set feedback of channel.
- `12xx` : set operator 1 level.
- `13xx` : set operator 2 level.
- `14xx` : set operator 3 level.
- `15xx` : set operator 4 level.
- `16xy` : set multiplier of operator.
- `x` is the operator (1-4).
- `y` is the mutliplier.
- `17xx` : set LFO speed.
- `18xx` : set LFO waveform. `xx` may be one of the following:
- `00` : saw
- `01` : square
- `02` : triangle
- `03` : noise
- `19xx` : set attack of all operators.
- `1Axx` : set attack of operator 1.
- `1Bxx` : set attack of operator 2.
- `1Cxx` : set attack of operator 3.
- `1Dxx` : set attack of operator 4.