furnace/doc/4-instrument/fm-opn.md

76 lines
4.1 KiB
Markdown
Raw Normal View History

2023-09-09 09:27:48 +00:00
# FM (OPN) instrument editor
2022-02-04 21:05:25 +00:00
the FM editor is divided into 7 tabs:
2022-02-04 21:05:25 +00:00
- **FM**: for controlling the basic parameters of FM sound source.
2023-09-10 04:11:43 +00:00
- **Macros (FM)**: for macros controlling algorithm, feedback and LFO.
- **Macros (OP1)**: for macros controlling FM parameters of operator 1.
- **Macros (OP2)**: for macros controlling FM parameters of operator 2.
- **Macros (OP3)**: for macros controlling FM parameters of operator 3.
- **Macros (OP4)**: for macros controlling FM parameters of operator 4.
2023-09-10 01:07:05 +00:00
- **Macros**: for miscellaneous macros controlling volume, arpeggio, and pitch.
2022-02-04 21:05:25 +00:00
## FM
2023-09-10 01:07:05 +00:00
OPN is four-operator, meaning it takes four oscillators to produce a single sound.
2022-02-04 21:05:25 +00:00
these apply to the instrument as a whole:
- **Algorithm (ALG)**: determines how operators are connected to each other (0 to 7).
- left-click pops up a small "operators changes with volume?" dialog where each operator can be toggled to scale with volume level.
- right-click to switch to a preview display of the waveform generated on a new note:
- left-click restarts the preview.
- middle-click pauses and unpauses the preview.
- right-click returns to algorithm view.
- **Feedback (FB)**: determines how many times operator 1 returns its output to itself (0 to 7).
- **LFO > Freq (FMS)**: determines how much will LFO have an effect in frequency (0 to 7).
- **LFO > Amp (AMS)**: determines how much will LFO have an effect in volume (0 to 3).
2023-09-10 01:07:05 +00:00
- only applies to operators which have AM turned on.
2023-09-09 09:27:48 +00:00
- does not apply to YM2203.
2023-07-23 20:17:31 +00:00
these apply to each operator:
- the crossed-arrows button can be dragged to rearrange operators.
- the **OP1**, **OP2**, **OP3**, and **OP4** buttons enable or disable those operators.
- **Amplitude Modulation (AM)**: makes the operator's volume affected by LFO.
2023-09-09 09:27:48 +00:00
- does not apply to YM2203.
- **Attack Rate (AR)**: determines the rising time for the sound. the bigger the value, the faster the attack (0 to 31).
- **Decay Rate (DR)**: determines the diminishing time for the sound. the higher the value, the shorter the decay. it's the initial amplitude decay rate (0 to 31).
- **Sustain Level (SL)**: determines the point at which the sound ceases to decay and changes to a sound having a constant level. the sustain level is expressed as a fraction of the maximum level (0 to 15).
- **Decay Rate 2 (D2R) / Sustain Rate (SR)**: determines the diminishing time for the sound. the higher the value, the shorter the decay. this is the long "tail" of the sound that continues as long as the key is depressed (0 to 31).
- **Release Rate (RR)**: determines the rate at which the sound disappears after note off. the higher the value, the shorter the release (0 to 15).
2023-09-10 22:12:07 +00:00
- **Total Level (TL)**: represents the envelopes highest amplitude, with 0 being the largest and 127 (decimal) the smallest. a change of one unit is about 0.75 dB.
- **Hardware Envelope Generator (SSG-EG)**: executes the built-in envelope, inherited from AY-3-8910 PSG. speed of execution is controlled via Decay Rate.
![FM ADSR chart](FM-ADSRchart.png)
- **Envelope Scale (RS/KS)**: also known as "Key Scale" or "Rate Scale". determines the degree to which the envelope execution speed increases according to the pitch (0 to 3).
- **Frequency Multiplier (MULT)**: determines the operator frequency in relation to the pitch (0 to 15).
- **Fine Detune (DT)**: shifts the pitch a little (0 to 7).
2022-02-04 21:05:25 +00:00
2023-07-23 20:17:31 +00:00
## macros
2022-02-04 21:05:25 +00:00
macros define the sequence of values passed to the given parameter. via macro, along with the previously mentioned parameters, the following can be controlled:
2022-02-04 21:05:25 +00:00
2023-07-23 20:17:31 +00:00
## FM Macros
- **LFO Speed**: LFO frequency.
- **OpMask**: toggles each operator.
2023-07-23 20:17:31 +00:00
## OP1-OP4 Macros
all parameters are listed above.
2023-07-23 20:17:31 +00:00
## Macros
- **Arpeggio**: pitch change sequence in semitones.
2023-07-23 20:17:31 +00:00
- **Panning**: toggles output on left and right channels.
- **Pitch**: fine pitch.
2023-09-10 01:07:05 +00:00
- **Relative**: when enabled, pitch changes are relative to the current pitch.
- **Phase Reset**: restarts all operators and resets the waveform to its start.
# links
[FM instrument tutorial](https://www.youtube.com/watch?v=wS8edjurjDw): A great starting point to learn how create and work with FM sounds. this was made for DefleMask, but all the same principles apply.