2022-01-16 06:10:43 +00:00
# Philips SAA1099
2023-06-25 07:05:30 +00:00
this was used by the Game Blaster and SAM Coupé. it's pretty similar to the AY-3-8910, but has stereo sound, twice the channels and two envelopes, both of which are highly flexible. the envelopes work like this:
2022-10-16 05:53:05 +00:00
- an instrument with envelope settings is placed on channel 2 or channel 5
- an instrument that is used as an "envelope output" is placed on channel 3 or channel 6 (you may want to disable wave output on the output channel)
2022-01-16 06:10:43 +00:00
# effects
2023-06-25 07:05:30 +00:00
- `10xy` : **set channel mode.**
2022-01-16 06:10:43 +00:00
- `x` toggles noise.
- `y` toggles square.
- this effect affects either the first 3 or last 3 channels, depending on where it is placed.
2023-06-25 07:05:30 +00:00
- `11xx` : **set noise frequency.**
2022-01-16 06:10:43 +00:00
- this effect affects either the first 3 or last 3 channels, depending on where it is placed.
2023-06-25 07:05:30 +00:00
- `12xx` : **setup envelope.** this is a bitmask.
2022-01-16 06:10:43 +00:00
- bit 7 toggles the envelope.
- bit 5 toggles whether to use a fixed frequency or lock to the frequency of channel 2 or 5.
- bit 4 sets the envelope resolution.
- bits 1 to 3 set the envelope shape:
- `000` : always off
- `001` : always on
- `010` : down
- `011` : down loop (saw)
- `100` : up down
- `101` : up down loop (triangle)
- `110` : up then off
- `111` : up loop (reverse saw)
- bit 0 sets whether the right output will mirror the left one.
- this effect affects either the first 3 or last 3 channels, depending on where it is placed.
2023-08-04 16:11:53 +00:00
# info
2023-08-04 16:38:05 +00:00
this chip uses the [SAA1099 ](../4-instrument/saa.md ) instrument editor.