| 1 |
# OKI MSM5232 |
| 2 |
|
| 3 |
a rather primitive (but powerful) sound generator chip used in some arcade boards and even synthesizers (like Korg Poly-800). |
| 4 |
|
| 5 |
it has 8 channels in 2 groups (of 4 channels each). each group can be configured with an envelope and the ability to produce 2', 4', 8' and/or 16' square/noise overtones on 8 outputs (four (2', 4', 8' and 16') per group). |
| 6 |
|
| 7 |
however, this chip cannot entirely produce sound alone. it has to be paired with either an external envelope generator or capacitors to assist the internal envelope generator. |
| 8 |
|
| 9 |
it also has no fine tune whatsoever. the frequency resolution is exactly a semitone. |
| 10 |
|
| 11 |
Furnace implements this chip in a way that allows the following features: |
| 12 |
- internal (capacitors) or external (volume macro) envelope modes per group |
| 13 |
- the ability to change the volume of each output (this can be used to generate saw waves if you set each part/overtone's volume to exactly half of the previous one) |
| 14 |
- global fine tune |
| 15 |
- global vibrato (some arcade boards played with the clock input to simulate vibrato) |
| 16 |
|
| 17 |
## effects |
| 18 |
|
| 19 |
- `10xy`: **set group control.** |
| 20 |
- `x` sets sustain mode. |
| 21 |
- `y` is a 4-bit mask which toggles overtones. |
| 22 |
- `11xx`: **set noise mode.** |
| 23 |
- `12xx`: **set group attack.** range is `0` to `5`. |
| 24 |
- only in internal (capacitor-based) envelope mode. |
| 25 |
- `13xx`: **set group decay.** range is `0` to `11`. |
| 26 |
- only in internal (capacitor-based) envelope mode. |
| 27 |
|
| 28 |
## info |
| 29 |
|
| 30 |
this chip uses the [MSM5232](../4-instrument/msm5232.md) instrument editor. |
| 31 |
|
| 32 |
## chip config |
| 33 |
|
| 34 |
the following options are available in the Chip Manager window: |
| 35 |
|
| 36 |
- **Detune**: sets detune in 128ths of a semitone. |
| 37 |
- **Capacitor values**: allows you to change the capacitance of the 8 capacitors connected to the chip. longer values increase envelope length. |
| 38 |
- **Initial part volume**: sets the initial volume of each "part" (octave) in a group. |
| 39 |
- **Envelope mode**: sets whether to use an external volume input (in this case, macros) or the built-in envelope generator. |
| 40 |
- **Global vibrato**: nudges the clock to simulate vibrato. |