Add 12xx duty cycle description (#101)

This commit is contained in:
freq-mod 2022-02-01 21:15:05 +01:00 committed by GitHub
parent f29d4bce1b
commit 320bebb4be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,15 @@ while emulation of this chip is mostly complete, the additional noise setup regi
# effects
- `12xx`: set channel duty cycle. `xx` is a value between 00 and 08.
- `00`: 3.125%
- `01`: 6.25%
- `02`: 12.5%
- `03`: 25%
- `04`: 50%
- `05`: 75%
- `06`: 87.5%
- `07`: 93.75%
- `08`: 96.875%
- `20xx`: set channel mode. `xx` may be one of the following:
- `00`: square
- `01`: noise
@ -43,4 +52,4 @@ while emulation of this chip is mostly complete, the additional noise setup regi
- in this mode the envelope period is set to the channel's notes, multiplied by a fraction.
- `x` is the numerator.
- `y` is the denominator.
- if `x` or `y` are 0 this will disable auto-envelope mode.
- if `x` or `y` are 0 this will disable auto-envelope mode.