feat(scripts): prototype the momentary fatness lane
scripts/fatness.py measures momentary bass fatness of rendered files with the final model from Schmedeke's dissertation (section 5.4.3, adjusted R² .773): two logistic terms on the C-weighted level and the MPEG-7 harmonic ratio below 200 Hz, over 50 ms windows, after normalising to -23 LUFS (BS.1770 integrated, gated). The thesis does not state the dB(C) of its reference, so --offset maps dBFS to dB(C) (default 100). On the seven Devath references, drops read 4-6, breakdowns near 0, and kick gaps show as 50 ms dips; SPL<200 medians of 67-69 dB(C) suggest the offset may be 2-5 dB low. Also corrects docs/ideas.md, which quoted the thesis's preliminary linear model instead of the final one.
This commit is contained in:
1 parent
8ecdc03832
commit
1479854503
3 files changed
+211
-13
No files matched your search
+21
-13
@@ -97,14 +97,21 @@ From the papers in `research/` (local, not committed). Each finding names where
|
||||
it goes in the suite. They are starting points to test by ear, not rules.
|
||||
|
||||
- **A published bass fatness model.** Schmedeke's dissertation (Hamburg 2021,
|
||||
"BASS DROP!") fits a regression on 4,070 ratings by DJs and club-goers,
|
||||
measured at sixteenth-note resolution:
|
||||
`Fatness = 1.743 − 0.013·Centroid<200Hz + 0.080·Loudness<200Hz − 0.041·Loudness>200Hz + 5.923·SNR<200Hz`
|
||||
(adjusted R² 0.597). The strongest term is how tonal the band below 200 Hz
|
||||
is (β 0.616), and loudness above 200 Hz lowers fatness. Anvil's clean sine
|
||||
maximises the strongest term; Quench keeps it when the top is clipped. Goes
|
||||
into Assay as one lane, never as an overall score. Before building, check the
|
||||
thesis's exact SNR and loudness definitions (units, windows).
|
||||
"BASS DROP!", section 5.4.3) models momentary fatness of dance-music excerpts
|
||||
over 50 ms windows from two inputs only, with adjusted R² 0.773:
|
||||
`l = 10 / (1 + 4.5487·exp(0.13·(62.9366 − SPL<200)))`,
|
||||
`h = 10 / (1 + 1.4317·exp(2.5575·(0.3299 − HR<200)))`,
|
||||
`Fat = 0.14689·l·h` (0 to 14.7). SPL<200 is the C-weighted level below
|
||||
200 Hz in dB(C) with the material normalised to −23 LUFS; HR<200 is the
|
||||
MPEG-7 harmonic ratio (how periodic) of the same band. Chapter 4's earlier
|
||||
linear model on synthetic tones (R² 0.597) points the same way: a tonal low
|
||||
band is fatter, a noisy one is not. Anvil's clean sine maximises HR; Quench
|
||||
keeps it when the top is clipped. The thesis does not state the dB(C) of its
|
||||
reference, so the dBFS-to-dB(C) offset is an assumption. Measured with
|
||||
`scripts/fatness.py` on the seven Devath references (offset 100 dB): drops
|
||||
sit at 4–6, breakdowns near 0, kick gaps show as 50 ms dips; SPL<200 medians
|
||||
are 67–69 dB(C), a few dB under the thesis's "mostly 70–80", so the offset
|
||||
may be 2–5 dB low. Goes into Assay as one lane, never as an overall score.
|
||||
- **Virtual bass from known harmonics.** Moliner, Rämö and Välimäki (DAFx 2020)
|
||||
boost the harmonics that exist with weights that follow the sound's spectral
|
||||
envelope (limits 10 dB/oct below, 3 dB/oct above) and generate the missing
|
||||
@@ -348,11 +355,12 @@ patterns. No name yet.
|
||||
|
||||
### Fatness lane (problems 2, 8)
|
||||
|
||||
Momentary fatness per sixteenth note from Schmedeke's model (see Research
|
||||
findings), drawn as one lane next to sub/mid energy, for a patch and a
|
||||
reference. It explains why two drops at the same LUFS feel different in weight:
|
||||
noise below 200 Hz and loud upper bands both lower the value. The first piece
|
||||
of Assay.
|
||||
Momentary fatness per 50 ms from Schmedeke's model (see Research findings),
|
||||
drawn as one lane next to sub/mid energy, for a patch and a reference. It
|
||||
explains why two drops at the same LUFS feel different in weight: a quieter or
|
||||
noisier low band lowers the value. Prototype: `scripts/fatness.py` (offline,
|
||||
on rendered files). The first piece of Assay. Open: the dB(C) offset, and how
|
||||
the lane reads on a single bass patch rather than a full mix.
|
||||
|
||||
### Drop compare (problem 8)
|
||||
|
||||
|
||||
Reference in new issue
Block a user