Debian Codegraph @

android/app/jni/doc/7-systems/powernoise.md

raw
1 # PowerNoise
2
3 a fantasy sound chip created by The Beesh-Spweesh! and jvsTSX for the Hexheld fantasy video game console.
4
5 its design employs linear-feedback shift registers (LFSR) for sound generation. this technology is used in many random number generators to produce noise, but it is also capable of producing other tones.
6
7 it has three noise channels and one "slope" channel capable of generating a variety of saw waves.
8
9 it outputs stereo sound with 4-bit volume control per channel and 2-bit master volume control.
10
11 refer to [its instrument type's documentation](../4-instrument/powernoise.md) for details on sound synthesis.
12
13 ## effect commands
14
15 - `20xx`: **load LFSR value (low byte).**
16 - on the slope channel, this sets its accumulator (from `00` to `7F`).
17 - `21xx`: **load LFSR value (high byte).**
18 - `22xx`: **write to I/O port A.**
19 - `23xx`: **write to I/O port B.**
20
21 ## info
22
23 this chip uses the [PowerNoise](../4-instrument/powernoise.md) instrument editor.