Replaces Bitwig's onset (transient) detection with its own detector. Everything in Bitwig that uses onsets then uses these: onset markers, Slice in Place with Onsets, Slice to Drum Machine and Sampler, audio quantize and warping to onsets.
How to use
- Automatic. With Use fatyzzz detector for all new onset detection on in Settings > Mods > fatyzzz Transients (the default), audio that Bitwig hasn't analysed yet this session gets its onsets from this detector. Audio that already has onsets keeps them until you re-detect.
- Re-detect. Select audio clips or events and press Detect Transients in the fatyzzz Transients block of the Inspector. It replaces their onsets in one undo step. There's no right-click item.
- Slice. Bitwig's own Slice in Place, Slice to Drum Machine and the other onset actions use the new onsets.
- Tune. The fatyzzz Transients Inspector block sits at the end of the panel Bitwig uses for audio events: below the clip blocks when audio clips are selected in the Arranger or the clip launcher, and on its own when audio events are selected in the detail editor. It's hidden when notes are shown. Changing a value re-detects the shown events after a short pause and shows the onset count in the Preview row; this writes nothing to the project. Detect Transients writes the onsets. Each algorithm keeps its own values, so switching Algorithm brings back that algorithm's settings. Reset Parameters restores the current algorithm's defaults.
Bitwig's own Onset Sensitivity still works on top: every onset carries a strength from 0 to 2, loudest hits highest.
Algorithms
- Spectral, the default: this mod's own detector. It combines spectral flux and envelope rise with an adaptive threshold and a level gate, checks the low and high bands separately so kicks and hats under a loud pad or vocal still count, then moves each onset back to the start of its attack. Finds soft and legato onsets such as bass and chord changes, gives no extra onsets in decays, vibrato and pads, and is within about 1 ms on clean attacks.
- Classic: a two-envelope trigger. The band-passed signal is followed by a fast and a slow envelope; an onset fires where the fast one is above the gate and enough louder than the slow one, then nothing fires for Retrig. Simple and predictable on drums, but onsets land where the trigger fires (about 1 to 3 ms late on soft attacks, a loud sharp hit can fire a little early) and it retriggers in long decays and legato material. Starts with values tuned for drums and percussion.
Credit: the Classic algorithm follows the two-envelope detector of MK Slicer by Maxim Kokarev (based on EUGEN27771's Drums to MIDI), as used in Mr. Frenkie's REAPER Transient Detector. Idea credit only; it is reimplemented here, no code was copied.
Parameters
The knobs mean the same in both algorithms. Defaults below are for Spectral.
| Parameter | Default | What it does |
|---|---|---|
| Algorithm | Spectral | Spectral or Classic. |
| Low Cut | 199 Hz | Ignores content below this, such as rumble and hum. |
| High Cut | 20000 Hz | Ignores content above this, such as hiss. |
| Gain | 3.6 dB | Lowers the gate: the gate is Threshold minus Gain. It doesn't change the signal. |
| Threshold | -37 dB | Level gate relative to the clip's loudest point after the band filter. |
| Sensitivity | 6.4 | 1 to 10; higher finds softer onsets. Shown in tenths in the Inspector, so 64 means 6.4. |
| Retrig | 12 ms | After an onset, no new one for this long. In Spectral a quick flam can still count. |
| Reduce | 500 | 1 to 500: keeps only the strongest Reduce/500 of the onsets, so 500 keeps all and 250 the stronger half. A single onset is always kept. |
| Offset | 0 ms | -20 to +20 ms, moves every onset. Mainly for Classic, which places onsets slightly late. |
The values are shared by the Inspector and Settings > Mods, are kept between sessions, and also apply to automatic detection. Reduce used to be a time in ms; after updating it starts at 500, off, once.
Notes
- Samples are read with Bitwig's own decoder where possible. If that isn't available, WAV and AIFF are read directly and other formats are decoded with Bitwig's bundled ffmpeg. Audio longer than 30 minutes is analysed at a lower sample rate.
- Files decoded for the Inspector stay in memory, up to 256 MB, so tuning is quick.
- Decoding and detection run on background threads.
- Stereo is mixed to mono. Broken samples count as silence.
- If the detector fails on a file during automatic detection, Bitwig's own detector is used for it.
Requires
notifications-framework, inspector-composition-framework, preferences-composition-framework. The frameworks ship with Patchbay. fatyzzz Tempo and fatyzzz Trim depend on this mod; Patchbay Launcher installs it automatically.
Self-test: fatyzzz-transients/test/run.sh (offline, no Bitwig, needs JDK 25).
Build from source: tools/build.sh fatyzzz-transients (see the top-level README).