# Desktop effects
Set `ch=1` through `ch=16` on an effect node to control it with `wr`.
In the REPL, `select strip1` selects that alias's MIDI channel. A toggle
uses values 64–127 for on and 0–63 for off. Nodes on the same channel
receive the same MIDI commands.
## Channel inserts and Beat FX
A `strip` has signal inputs `in` and `key` and output `out`. Connect a drum
node's isolated `kick` to `key` for sidechain compression. To self-key a
strip, connect its source to both inputs. Wire both inputs even on a bypassed
strip. The two serial inserts `slot1` and `slot2` each accept `none` (default),
`saturator`, `compressor`, `phaser`, `flanger`, `chorus` or `eq`.
The inserts feed a tempo-sync'd flanger, pattern filter and slicer, in that order.
Enable them in the text with `flanger=on`, `filter=on` or `slicer=on`.
Set `beats` to the number of quarter notes in one flanger sweep or sixteen-cell
filter/slicer cycle. The default is `3/4` (a dotted eighth note). For example,
`beats=4 slice-pattern=x.x.x.x.x.x.x.x.` sets eight pulses per bar. The
`filter-pattern` and `slice-pattern` options accept exactly 16 cells read left
to right, with `x` for trigger/pass and `.` for rest/mute. MIDI Start aligns the
cycles with the first sequencer step. The sweep and gate keep cycling during
stopped transport for live playing.
| 16, 17 | Slot 1 or 2 amount. Controls saturator drive, compressor depth, modulation mix or EQ mid gain according to the slot type. |
| 80, 81 | Enable slot 1 or 2. |
| 82, 83, 84 | Enable Beat FX flanger, pattern filter or slicer. |
| 85, 86, 87 | Flanger wet mix, filter envelope amount or slicer depth. |
## Mixer and Beat Echo
The `mixer4` inputs are `a`, `b`, `c` and `d`. The `dry`, `reverb` and
`delay` outputs carry the master dry sum and two independent post-fader sends.
Set `levels=108,120,88,80`, for example, to specify faders in Q7 units
(unity is 128, maximum is 255). The `reverb` and `delay` options each take
four send levels between 0 and 128. Neutral defaults are unity faders and
zero sends.
`echo1` through `echo4` each take a sixteen-cell pass/rest pattern, one cell
per sixteenth note. During playback the current cell gates that track's delay
send. While stopped, every track passes. `echo=off` closes the whole delay
send in either state. Closing a send leaves the recorded echoes ringing.
| 16–19 | Track A–D faders (0–255). |
| 20–23 | Track A–D reverb sends (0–128). |
| 24–27 | Track A–D delay sends (0–128). |
| 64 | Open or close the Beat Echo input. |
## Returns and stereo master
Both `reverb` and `delay` have one `in` and one wet-only `out`. Both accept
`wet` (0–128) and `enabled=on|off`. Reverb takes `decay` (0–127). Delay
takes `feedback` (0–95 percent) and either `beats` or `time-ms` (1–2000).
The default settings from the FM-1 are reverb wet 104, decay 90, delay wet 76,
feedback 43 and dotted-eighth echo spacing. The desktop delay stores up to
two seconds of native-rate PCM.
The `master` inputs are `dry`, `reverb` and `delay`. Its `left` and `right`
outputs share a three-band EQ, stereo-linked compressor, makeup gain and
peak limiter. Both returns default to center. Use `reverb-pan` and
`delay-pan` between −64 (left) and 64 (right) to position the wet returns.
EQ controls `low`, `mid`, `high` use whole dB from −12 to +12. Compressor
controls are `dynamics=on|off`, `threshold` (−36 to 0 dBFS), `ratio-x2`
(2–16), `makeup` (0–12 dB) and `ceiling` (−12 to 0 dBFS). Defaults are
flat EQ and the FM-1 glue compressor with +2 dB makeup.
`headroom` on the mixer/master pair is a matching right/left shift of the dry
signal only. Set both to 3 to reserve the FM-1's three bits of dry summing
headroom between the nodes, or leave both at their default of zero. A new
processor inserted between these two dry ports receives the attenuated signal.
| Reverb | 91, 70, 64 | Wet, decay, enable. |
| Delay | 91, 70, 64 | Wet, feedback (0–95%), enable. |
| Master | 20–22, 23, 64 | Low/mid/high EQ, makeup, dynamics enable. |