Debian Codegraph @

doc/4-instrument/game-boy.md

raw
1 # Game Boy instrument editor
2
3 the Game Boy instrument editor consists of three tabs: one controlling envelope of sound channels, another for the wave synth and macro tab containing several macros.
4
5 ## Game Boy
6
7 - **Use software envelope**: switch to volume macro instead of envelope.
8 - this exploits a bug in the Game Boy sound hardware in order to have software envelopes ("zombie mode", explained more in the [Game Boy system documentation](../7-systems/game-boy.md)).
9 - only a couple emulators have accurate reproduction of this bug.
10 - **Initialize envelope on every note**: forces a volume reset on each new note.
11 - **Volume**: initial channel volume (0 to 15).
12 - **Length**: envelope decay/attack duration (0 to 7)
13 - **Sound Length**: cuts off channel after specified length, overriding the Length value.
14
15 - **Direction**: up makes the envelope an attack. down makes it decay.
16 - note: for attack to have effect, start at a lower volume.
17
18 - **Hardware Sequence**: this allows you to define a sequence of hardware envelope changes for creating complex envelopes. see the next section for more information.
19
20 ### hardware sequence
21
22 Furnace provides a sequencer for the hardware envelope. this way you can define timed envelope changes which may be used for simulating ADSR, adding simple release, and other things.
23
24 the sequence consists of a list of "commands".
25
26 the `+` button adds a new command, which may be one of the following:
27
28 - **Envelope**: sets envelope values and retriggers note. it is highly recommended to have this as the first command.
29 - **Sweep**: sets sweep parameters. only works on the first channel.
30 - **Wait**: waits a specific number of ticks.
31 - **Wait for Release**: waits until the note is released with `===` or `REL`.
32 - **Loop**: goes to a previous position in the sequence.
33 - **Loop until Release**: same as Loop, but doesn't have effect after releasing the note.
34
35 each command in the sequence is represented in three columns:
36
37 - **Tick**: the tick this command will execute, followed by position in the sequence.
38 - **Command**: the command and its parameters.
39 - **Move/Remove**: allows you to move the command, or remove it.
40
41 ## Wavetable
42
43 this allows you to enable and configure the Furnace wavetable synthesizer. see [this page](wavesynth.md) for more information.
44
45 notes:
46 - only for Wave channel.
47 - on Game Boy, using the wave synth may result in clicking and/or phase resets. by default Furnace attempts to mitigate this problem though, but some clicking may still be audible.
48
49 ## Macros
50
51 - **Volume**: volume sequence.
52 - note: this only appears if "Use software envelope" is checked.
53 - **Arpeggio**: pitch sequence.
54 - **Duty/Noise**: pulse wave duty cycle or noise mode sequence.
55 - **Waveform**: channel 3 wavetable sequence.
56 - **Panning**: output for left and right channels.
57 - **Pitch**: fine pitch.
58 - **Phase Reset**: trigger restart of waveform.