| 1 |
# SID2 instrument editor |
| 2 |
|
| 3 |
the SID2 instrument editor consists of two tabs: "SID2" to control various parameters of sound channels, and "Macros" containing several macros. |
| 4 |
|
| 5 |
## SID2 |
| 6 |
|
| 7 |
- **Waveform**: allows selecting a waveform. |
| 8 |
- more than one waveform can be selected at once. in that case a logical AND mix of waves will occur... |
| 9 |
- although with default mix mode it does occur a bit wrong (like on 8580 SID chip). see below what happens when other modes are in use. |
| 10 |
- noise is an exception. it cannot be used with any of the other waveforms. |
| 11 |
- again, only when default mix mode is on. |
| 12 |
- **Attack**: determines the rising time for the sound. the bigger the value, the slower the attack. (0 to 15). |
| 13 |
- **Decay**: determines the diminishing time for the sound. the higher the value, the longer the decay (0 to 15). |
| 14 |
- **Sustain**: sets the volume level at which the sound stops decaying and holds steady (0 to 15). |
| 15 |
- **Release**: determines the rate at which the sound fades out after note off. the higher the value, the longer the release (0 to 15). |
| 16 |
- **Duty**: specifies the width of a pulse wave (0 to 4095). |
| 17 |
- **Reset duty on new note**: overwrite current duty value with the one that is specified in the instrument on new note. |
| 18 |
- only useful when using relative duty macro. |
| 19 |
- **Ring Modulation**: when enabled, the channel's output will be multiplied with the previous channel's. |
| 20 |
- **Oscillator Sync**: enables oscillator hard sync. as the previous channel's oscillator finishes a cycle, it resets the period of the channel's oscillator, forcing the latter to have the same base frequency. this can produce a harmonically rich sound, the timbre of which can be altered by varying the synchronized oscillator's frequency. |
| 21 |
|
| 22 |
- **Enable filter**: when enabled, this instrument will go through the filter. |
| 23 |
- **Initialize filter**: initializes the filter with the specified parameters: |
| 24 |
- **Cutoff**: the filter's point in where frequencies are cut off (0 to 4095). |
| 25 |
- **Resonance**: amplifies or focuses on the cutoff frequency, creating a secondary peak forms and colors the original pitch (0 to 255). |
| 26 |
- **Filter mode**: sets the filter mode. you may pick one or more of the following: |
| 27 |
- **low**: a low-pass filter. the lower the cutoff, the darker the sound. |
| 28 |
- **high**: a high-pass filter. higher cutoff values result in a less "bassy" sound. |
| 29 |
- **band**: a band-pass filter. cutoff determines which part of the sound is heard (from bass to treble). |
| 30 |
- multiple filter modes can be selected simultaneously. for example, selecting both "low" and "high" results in a bandstop (notch) filter. |
| 31 |
|
| 32 |
- **Noise Mode**: dictates how noise behaves. |
| 33 |
- 0 means usual "white" noise. |
| 34 |
- 1-3 provide different tonal waves (in other words, small excerpts of noise are looped, creating a wave with tonal sound). mode 1 provides more "pure" tonal sound while modes 2 and 3 provide harsh, rich sounds, which can be further modified by filtering them. |
| 35 |
- when *only* noise wave is enabled, frequency calculation is altered in a way that this noise wave stays in tune, so wave can freely be used to play actual music. |
| 36 |
- **Wave Mix Mode**: dictates how different waves on the same channel are mixed together. |
| 37 |
- mode 0 does it the same way as on 8580 SID chip. |
| 38 |
- mode 1 does a bitwise AND between all the enabled waves (including noise!). |
| 39 |
- modes 2 and 3 operate in the same way, but they do bitwise OR and bitwise XOR. |
| 40 |
|
| 41 |
- **Absolute Cutoff Macro**: when enabled, the cutoff macro will go from 0 to 4095, and it will be absolute (in other words, control the cutoff directly rather than being relative). |
| 42 |
- **Absolute Duty Macro**: when enabled, the duty macro will go from 0 to 4095. |
| 43 |
|
| 44 |
## Macros |
| 45 |
|
| 46 |
- **Volume**: volume sequence. |
| 47 |
- **Arpeggio**: pitch sequence. |
| 48 |
- **Pitch**: fine pitch. |
| 49 |
- **Duty**: pulse width sequence. |
| 50 |
- **Waveform**: select the waveform used by instrument. |
| 51 |
- **Phase Reset**: trigger restart of envelope. |
| 52 |
- **Cutoff**: filter cutoff. |
| 53 |
- **Filter Mode**: select the filter mode. |
| 54 |
- **Filter Toggle**: turns filter on and off. |
| 55 |
- **Resonance**: filter resonance sequence. |
| 56 |
- **Special**: ring and oscillator sync selector, as well as: |
| 57 |
- **gate bit**: |
| 58 |
- set (1): key on. if previous state was 0 it triggers envelope start/restart; if previous state was 1, it does nothing. |
| 59 |
- reset (0): key off. if previous state was 1 it triggers envelope release; if previous state was 0, it does nothing. |
| 60 |
- **Attack**: sets envelope attack speed. |
| 61 |
- if you modify attack speed when the envelope is in attack phase it immediately changes. |
| 62 |
- **Decay**: sets envelope decay speed. |
| 63 |
- if you modify decay speed when envelope is in decay phase it immediately changes. |
| 64 |
- **Sustain**: sets envelope sustain level. |
| 65 |
- if you modify sustain level when envelope is in sustain phase it immediately changes. note that, unlike SID chips, you can change sustain level in any direction (both 2->5 and 5->2 work and do not trigger envelope release). |
| 66 |
- **Release**: sets envelope release speed. |
| 67 |
- if you modify release speed when envelope is in release phase it immediately changes. |
| 68 |
- **Noise Mode**: select the noise mode. |
| 69 |
- **Wave Mix**: select the waveform mix mode. |