Skip to content

Ears for coding agents: let AI hear, review and make sound. CPU-only, open source.

bank: 51 recipe-made 0.4 members (252 sounds), the drip allowance in the audit

Leonxlnx14b351673308
diff --git a/earshot/forge/bank.py b/earshot/forge/bank.py
index de40dea..ce0e9d4 100644
--- a/earshot/forge/bank.py
+++ b/earshot/forge/bank.py
@@ -9,6 +9,7 @@
python -m earshot.forge.bank build out/forge_v2/*/final -o earshot/forge/bank/forge_v2.json
python -m earshot.forge.bank build --pluck -o earshot/forge/bank/pluck.json
+ python -m earshot.forge.bank build --forge04 -o earshot/forge/bank/forge04.json # the 0.4 recipe members
python -m earshot.forge.bank add-fit model.json --id fit/hit/door --source source.json
python -m earshot.forge.bank check [IDS ...] # re-render entries against their stored fingerprints
@@ -24,7 +25,7 @@ as different sounds. A bank entry is the final's schema-2 render block (earshot.
Bank file (earshot/forge/bank/*.json, package data; extra files: EARSHOT_BANK, paths joined by os.pathsep: ';' on
Windows, ':' elsewhere; a missing or unreadable one is a BankError naming it):
- {"bank": 1, "name": "forge_v2", "version": "forge_v2r6", "earshot": "0.3.0", "note": "...",
+ {"bank": 1, "name": "forge_v2", "version": "forge_v2r6", "earshot": "0.4.0", "note": "...",
"categories": {"click": {"recipe": "click", "target": "...", "kinds": ["click"], "use": "..."}, ...},
"entries": {"click/soft": {<entry>}, ...}}
Entry types:
@@ -49,6 +50,7 @@ new takes of the same member (the noise, jitter and micro-timing change; the cha
import copy
import difflib
import glob
+import hashlib
import json
import os
import re
@@ -106,6 +108,14 @@ CATEGORIES = {
'pro_typing_run': (['key.run'], 'a whole typed run as one file'),
'pluck': (['bell', 'text', 'hit'], 'a kalimba tine: tuned melodic notes (bells, motifs, a tonal lockup)'),
'fit': ([], 'a recipe fitted from a public-domain recording'),
+ # earshot 0.4 (forge04.json): the soft, short, mid-register sounds of music-led launch films
+ 'cut_hit': (['hit', 'drop', 'land'], 'a short sub hit with a kick, or a short punchy hit, on a cut (0.2-0.5 s)'),
+ 'reverse_swell': (['swell'], 'a reverse cymbal / reverse swell that peaks just after a cut (at most one a film)'),
+ 'ui_pop': (['pop', 'land.light'], 'soft rounded mid pops for elements arriving: chips, bubbles, rows'),
+ 'knock': (['tock', 'land.light'], 'mid-band wood and plastic knocks (0.1-0.2 s)'),
+ 'mallet': (['bell', 'text'], 'short gated mallet notes (glockenspiel, celesta, marimba), a soft pluck, chime runs'),
+ 'drip': (['pop'], 'water drops: a bubble whose pitch rises (the audit allows a bubble its climb)'),
+ 'shutter': (['snap', 'click'], 'camera shutters: a two-stage mechanical click for snap zooms and whip-cuts'),
}
# the tuned voices: pluck/<name> = edits of the launch film's forge pick (recipes/pluck.py DEFAULTS = that pick),
@@ -130,9 +140,10 @@ _STATE = {}
def _files():
- """the bank files: the shipped ones (forge_v2 first, then by name), then EARSHOT_BANK's"""
+ """the bank files: the shipped ones (forge_v2 first, the other forge files, then by name), then EARSHOT_BANK's"""
own = sorted(glob.glob(os.path.join(BANK_DIR, '*.json')),
- key=lambda p: (not os.path.basename(p).startswith('forge'), os.path.basename(p)))
+ key=lambda p: (os.path.basename(p) != 'forge_v2.json', not os.path.basename(p).startswith('forge'),
+ os.path.basename(p)))
extra = [p for p in (os.environ.get('EARSHOT_BANK') or '').split(os.pathsep) if p.strip()]
return own + [os.path.abspath(p) for p in extra]
@@ -250,8 +261,8 @@ def renderer(entry, seed=None):
if kind == 'fit':
from . import fit as _fit
- def run(edit=None, fit_knobs=None):
- kn = {'vary': float(entry.get('vary') or 0.0), 'take': True, **(fit_knobs or {})}
+ def run(edit=None, fit_knobs=None): # bed=False: a take is the sound alone, never a stripped fit's bed
+ kn = {'vary': float(entry.get('vary') or 0.0), 'take': True, 'bed': False, **(fit_knobs or {})}
if not kn['vary']:
kn.pop('vary')
return _valid(np.asarray(_fit.render(entry['model'], seed=seed, **kn), np.float64), entry)
@@ -585,6 +596,249 @@ def build_pluck(out, version='pluck1', log=print):
return doc
+# earshot 0.4: recipe-made members of the new categories and new members of old ones (forge04.json). Each is a palette
+# member of its recipe module (FAMILY / FAMILIES / FAMILY_MID / RUNS by name), rendered on its seed: id -> (recipe
+# module, seed, kinds (the first is the kit role its takes are audited in), note)
+FORGE04_VERSION = 'forge04r1'
+FORGE04 = {
+ 'cut_hit/sub': ('cuthit', 4101, ['drop', 'hit'], 'a short sub hit, 225 -> 46 Hz, with a kick and a low punch'),
+ 'cut_hit/kick': ('cuthit', 4102, ['drop', 'hit'], 'a kick-led sub hit: the beater lifts it to ~275 Hz'),
+ 'cut_hit/punch': ('cuthit', 4103, ['hit', 'land'], 'a short punchy cut hit (0.28 s), two thirds under 150 Hz'),
+ 'cut_hit/rumble': ('cuthit', 4104, ['hit'], 'a kick on a slow sub drop into a wide granular rumble (1.4 s)'),
+ 'cut_hit/air': ('cuthit', 4105, ['hit'], 'a fast wide sub hit under a sustained bright air band'),
+ 'reverse_swell/cymbal': ('revcymbal', 4301, ['swell'], 'a bright wide reverse cymbal: a plateau after the peak, '
+ 'then a stop'),
+ 'reverse_swell/ring': ('revcymbal', 4302, ['swell'], 'a reverse cymbal that swells harder and rings out'),
+ 'reverse_swell/dark': ('revcymbal', 4303, ['swell'], 'a darker, near-mono reverse swell with a low body'),
+ 'reverse_swell/short': ('revcymbal', 4304, ['swell'], 'a short bright reverse cymbal for a quick cut (0.33 s '
+ 'to the peak)'),
+ 'reverse_swell/breath': ('revcymbal', 4305, ['swell'], 'a mid-band reverse breath, half wide (1.3 kHz)'),
+ 'ui_pop/soft': ('ui_pop', 1, ['pop', 'land.light'], 'a soft rounded mid pop: 550 Hz, 22 ms onset, t20 75 ms'),
+ 'ui_pop/step': ('ui_pop', 1, ['pop'], 'the soft pop a step higher, falling 3 st'),
+ 'ui_pop/boop': ('ui_pop', 1, ['pop'], 'a rounder boop falling 9 st'),
+ 'ui_pop/blip': ('ui_pop', 1, ['pop'], 'a bright 890 Hz blip, fully decorrelated (L / R correlation ~0.1)'),
+ 'ui_pop/fall': ('ui_pop', 1, ['pop'], 'an eased 7 st fall with a faint second pop'),
+ 'ui_pop/wide': ('ui_pop', 1, ['pop'], 'a wide 620 Hz pop with a lip click (correlation ~0.5)'),
+ 'knock/wood': ('knock', 1, ['tock', 'land.light'], 'a mid-band wooden knock: a 400 Hz block and its faint rattle'),
+ 'knock/plastic': ('knock', 1, ['tock'], 'a plastic click that bounces back 18 ms later (2.4 kHz)'),
+ 'knock/snap': ('knock', 1, ['tock'], 'a soft contact, then a bright plastic snap with a bounce (3 kHz)'),
+ 'knock/desk': ('knock', 1, ['tock', 'land.light'], 'a knuckle on a desk: a low wooden knock with the table '
+ 'under it'),
+ 'knock/double': ('knock', 1, ['tock'], 'a knock-knock: two wooden taps 55 ms apart'),
+ 'mallet/glock': ('mallet', 1, ['bell', 'text'], 'a gated glockenspiel note doubled an octave under (0.35 s)'),
+ 'mallet/pluck': ('mallet', 1, ['text', 'bell'], 'a soft, felt-like low pluck'),
+ 'mallet/celesta': ('mallet', 1, ['bell', 'text'], 'a wide celesta note (G5, L / R correlation ~0.5), gated'),
+ 'mallet/marimba': ('mallet', 1, ['bell', 'text'], 'a short dry wooden marimba note (G4)'),
+ 'mallet/flourish': ('mallet', 1, ['bell'], 'a quick three-note chime flourish in an arc, near mono'),
+ 'mallet/up4': ('mallet', 1, ['bell'], 'four gated chime notes up a pentatonic scale in skips, 110 ms apart, panned '
+ 'note by note'),
+ 'drip/drop': ('drip', 1, ['pop'], 'a water drop: a 306 Hz bubble rising 8 st within 40 ms, soft onset'),
+ 'drip/bubble': ('drip', 1, ['pop'], 'a lower bubble rising 10 st with a daughter bubble'),
+ 'drip/plink': ('drip', 1, ['pop'], 'a small high plink rising 3 st'),
+ 'drip/bloop': ('drip', 1, ['pop'], "a big drop's slow bloop: ~5 st over 0.1-0.15 s (the audit's drip allowance)"),
+ 'drip/tiny': ('drip', 1, ['pop'], 'a tiny fast droplet at 1.15 kHz, 0.1 s'),
+ 'shutter/dslr': ('shutter', 1, ['snap', 'click'], 'a camera shutter: latch, 39 ms of curtain travel, the landing '
+ 'on a 1.4 kHz box'),
+ 'shutter/snap': ('shutter', 1, ['snap', 'click'], 'a dry, bright 2 kHz snap-zoom shutter'),
+ 'shutter/mirror': ('shutter', 1, ['snap'], 'a slower mirror-box shutter with an audible travel'),
+ 'shutter/film': ('shutter', 1, ['snap'], 'a heavier film camera: a dark box after 95 ms of travel, the body\'s '
+ 'thump, a spring rattle'),
+ 'shutter/quick': ('shutter', 1, ['snap', 'click'], 'a quick double click: release and curtain 21 ms apart'),
+ 'notify/mid_tine': ('notify', 1, ['click.confirm', 'bell'], 'a rounded mid ding: a felt-struck tine over its '
+ 'octave (690 Hz, 32 ms onset)'),
+ 'notify/mid_wood': ('notify', 1, ['click.confirm', 'bell'], 'a soft wooden bar with its octave body, a step '
+ 'higher'),
+ 'whoosh_big/thump': ('thump', 4201, ['whoosh.long'], 'a big low whoosh that lands with a thump (~80 ms in, rings '
+ '~0.35 s)'),
+ 'whoosh_big/thump_deep': ('thump', 4202, ['whoosh.long'], 'the thump-whoosh, deeper and longer'),
+ 'whoosh_big/thump_airy': ('thump', 4203, ['whoosh.long'], 'the thump-whoosh, airier'),
+ 'riser/dark': ('darkriser', 4401, ['riser'], 'a short dark riser (noise, sub, a speeding stutter), no synth '
+ 'sweep'),
+ 'riser/build': ('darkriser', 4402, ['riser'], 'a sub-heavy build with crackle and a speeding gate (1.1 s)'),
+ 'riser/snatch': ('darkriser', 4403, ['riser'], 'a half-second stutter snatch into a cut'),
+ 'swish/bright': ('brightswish', 4501, ['whoosh.short'], 'a bright (~2.4 kHz) quick swish'),
+ 'swish/flick': ('brightswish', 4502, ['whoosh.short'], 'a high flick that rises and stops dead, wide'),
+ 'whoosh_fast/whip': ('brightswish', 4503, ['whoosh.short'], 'a designed bright whip: a wide ring that falls'),
+ 'glitch/burst': ('burstglitch', 4601, ['glitch'], 'crackle, then bright bursts that hit first and speed up'),
+ 'glitch/mid': ('burstglitch', 4602, ['glitch'], 'a short mid glitch that hits first'),
+ 'glitch/chirp': ('burstglitch', 4603, ['glitch'], 'a pitched data-chirp stutter that hits first'),
+}
+# the largest CLAP cosine of each member's delivered render to any clip of a private set of licensed reference clips
+# (the clips the 0.4 recipes were tuned toward; three excerpt conventions, the largest kept), measured when the file was
+# built: a member is an original made from its recipe when this stays at or under FORGE04_REF_MAX. Each value holds
+# for the render it was measured on only: FORGE04_REF_ON names that render's block (forge04_digest: recipe, fn,
+# params, seed), and build_forge04 refuses a recorded value whose member's block, or whose render against the shipped
+# file's fingerprint, has changed since (measure it again and pass it: ref_clap / --ref-clap)
+FORGE04_REF_MAX = 0.96
+FORGE04_REF_CLAP = {'cut_hit/sub': 0.674, 'cut_hit/kick': 0.593, 'cut_hit/punch': 0.704, 'cut_hit/rumble': 0.665,
+ 'cut_hit/air': 0.697, 'reverse_swell/cymbal': 0.565, 'reverse_swell/ring': 0.564, 'reverse_swell/dark': 0.606,
+ 'reverse_swell/short': 0.602, 'reverse_swell/breath': 0.576, 'ui_pop/soft': 0.715, 'ui_pop/step': 0.722,
+ 'ui_pop/boop': 0.712, 'ui_pop/blip': 0.788, 'ui_pop/fall': 0.744, 'ui_pop/wide': 0.691, 'knock/wood': 0.682,
+ 'knock/plastic': 0.839, 'knock/snap': 0.813, 'knock/desk': 0.749, 'knock/double': 0.821, 'mallet/glock': 0.560,
+ 'mallet/pluck': 0.532, 'mallet/celesta': 0.625, 'mallet/marimba': 0.565, 'mallet/flourish': 0.629,
+ 'mallet/up4': 0.586, 'drip/drop': 0.599, 'drip/bubble': 0.630, 'drip/plink': 0.571, 'drip/bloop': 0.657,
+ 'drip/tiny': 0.561, 'shutter/dslr': 0.660, 'shutter/snap': 0.693, 'shutter/mirror': 0.658, 'shutter/film': 0.637,
+ 'shutter/quick': 0.705, 'notify/mid_tine': 0.626, 'notify/mid_wood': 0.624, 'whoosh_big/thump': 0.531,
+ 'whoosh_big/thump_deep': 0.530, 'whoosh_big/thump_airy': 0.581, 'riser/dark': 0.583, 'riser/build': 0.542,
+ 'riser/snatch': 0.608, 'swish/bright': 0.606, 'swish/flick': 0.702, 'whoosh_fast/whip': 0.629,
+ 'glitch/burst': 0.714, 'glitch/mid': 0.750, 'glitch/chirp': 0.688}
+FORGE04_REF_ON = {'cut_hit/sub': 'a842072e12', 'cut_hit/kick': '04f0ccb2da', 'cut_hit/punch': '4ad38c718f',
+ 'cut_hit/rumble': '174989feb8', 'cut_hit/air': '7d737f0a4e', 'reverse_swell/cymbal': '8d0cdf4fd2',
+ 'reverse_swell/ring': '5c66601165', 'reverse_swell/dark': 'f60776413c', 'reverse_swell/short': '571b7b289d',
+ 'reverse_swell/breath': '01d59674f1', 'ui_pop/soft': '239df13649', 'ui_pop/step': '8355185610',
+ 'ui_pop/boop': 'f2bc82e872', 'ui_pop/blip': 'f33a2978d3', 'ui_pop/fall': '7b92521683',
+ 'ui_pop/wide': '97b68cfadd', 'knock/wood': 'e871a566c2', 'knock/plastic': '837d57689f',
+ 'knock/snap': '8a2449eb61', 'knock/desk': '7682da31bc', 'knock/double': '6b77d96a84',
+ 'mallet/glock': 'd16b587aed', 'mallet/pluck': '6ff0bafc59', 'mallet/celesta': '52086c35ce',
+ 'mallet/marimba': '2f1023c99a', 'mallet/flourish': '28fc9494e8', 'mallet/up4': '6affe9d150',
+ 'drip/drop': 'a022744543', 'drip/bubble': 'eb98c3ffda', 'drip/plink': 'd1ba69b03d', 'drip/bloop': 'e1a7a8b2a1',
+ 'drip/tiny': '849a3e0dfe', 'shutter/dslr': '65d4b4039c', 'shutter/snap': '553b94a48a',
+ 'shutter/mirror': '1c1469945f', 'shutter/film': 'da19924b46', 'shutter/quick': '3a14623b70',
+ 'notify/mid_tine': '081493ee92', 'notify/mid_wood': '381f6a89bc', 'whoosh_big/thump': 'c7e5eb2b85',
+ 'whoosh_big/thump_deep': 'df07f1eabd', 'whoosh_big/thump_airy': '956fd4a4ff', 'riser/dark': '1ad784f257',
+ 'riser/build': '1341cf20c3', 'riser/snatch': 'b5538d8e2c', 'swish/bright': 'f17312bd9f',
+ 'swish/flick': '2393d879ec', 'whoosh_fast/whip': '131ec99eb6', 'glitch/burst': 'f9ca6c2ee1',
+ 'glitch/mid': '97596f865a', 'glitch/chirp': 'd8ca9812c2'}
+FORGE04_TAKES = 6 # takes audited per member (its seed and the next five) in its first kind's role
+FORGE04_MIN_CLEAN = 5 # of those, at least this many clean (a kit re-rolls the odd one); its own always
+
+
+def _palette(recipe, cat, name):
+ """(fn, complete params) of a palette member of a recipe module, by member name"""
+ import importlib
+ mod = importlib.import_module(f'earshot.forge.recipes.{recipe}')
+ base = dict(getattr(mod, 'DEFAULTS', {}))
+ for c, lst in (getattr(mod, 'FAMILIES', {}) or {}).items():
+ for nm, p in lst:
+ if nm == name: # a module with a base per category (brightswish, thump) completes it its own way
+ return 'render', (mod.preset_full(c, p) if hasattr(mod, 'preset_full') else {**base, **p})
+ pairs = [(getattr(mod, 'FAMILY', {}), getattr(mod, 'FAMILY_NAMES', {}), '', 'render'),
+ (getattr(mod, 'FAMILY_MID', {}), getattr(mod, 'FAMILY_NAMES_MID', {}), 'mid_', 'render'),
+ (getattr(mod, 'RUNS', {}), getattr(mod, 'RUN_NAMES', {}), '', 'render_run')]
+ for fam, names, pre, fn in pairs:
+ for c, lst in fam.items():
+ for nm, p in zip(names.get(c, []), lst):
+ if pre + nm == name:
+ return fn, {**(getattr(mod, 'RUN_DEFAULTS', base) if fn == 'render_run' else base), **p}
+ raise BankError(f'{cat}/{name}: no palette member {name!r} in recipes/{recipe}.py')
+
+
+def forge04_entry(sound_id):
+ """the bare render entry of a FORGE04 member (no meta): its palette params on its seed, at -1 dBFS"""
+ recipe, seed, kinds, note = FORGE04[sound_id]
+ cat, name = sound_id.split('/')
+ fn, params = _palette(recipe, cat, name)
+ return {'type': 'forge', 'category': cat, 'member': name, 'recipe': recipe, 'fn': fn, 'params': params,
+ 'seed': int(seed), 'peak_db': PEAK_DB, 'gain_db': 0.0, 'kinds': [*kinds], 'notes': note}
+
+
+def _profile(y):
+ """the catalog's model-free measures of a render (recipes/_tonal.measure), JSON-safe"""
+ from .recipes._tonal import measure as tm
+ return {k: (None if v is None else round(float(v), 3)) for k, v in tm(y).items()}
+
+
+def forge04_digest(entry):
+ """the digest of a 0.4 member's render block (recipe, fn, params, seed): what its recorded originality was
+ measured on (FORGE04_REF_ON)"""
+ blk = {k: entry[k] for k in ('recipe', 'fn', 'params', 'seed')}
+ return hashlib.sha1(json.dumps(blk, sort_keys=True, separators=(',', ':')).encode()).hexdigest()[:10]
+
+
+def _forge04_shipped():
+ """the shipped forge04.json's entries (the renders FORGE04_REF_CLAP was measured on), {} without the file"""
+ p = os.path.join(BANK_DIR, 'forge04.json')
+ try:
+ return _read(p)['entries'] if os.path.isfile(p) else {}
+ except (BankError, KeyError, OSError, ValueError):
+ return {}
+
+
+def _forge04_stale(sid, e, y, shipped):
+ """why FORGE04_REF_CLAP's value for a member does not hold for its render now, or None: its block is not the one
+ the value was measured on (FORGE04_REF_ON), or its render differs from the shipped entry's fingerprint (a recipe
+ change under the same params; bank check's tolerances)"""
+ if FORGE04_REF_ON.get(sid) != forge04_digest(e):
+ return 'its params / seed / recipe changed since its originality was measured'
+ old = shipped.get(sid)
+ if old and old.get('meta') and forge04_digest(old) == forge04_digest(e):
+ d = compare_fp(old['meta'], y)
+ if d['len_diff'] != 0 or abs(d['peak_diff_ms']) > 5 or d['env_db'] > 0.5:
+ return (f"its render changed since its originality was measured (against the shipped fingerprint: len "
+ f"{d['len_diff']:+d}, peak {d['peak_diff_ms']:+.1f} ms, env {d['env_db']:.2f} dB)")
+ return None
+
+
+def build_forge04(out, version=FORGE04_VERSION, ref_clap=None, log=print):
+ """the 0.4 member bank file (forge04.json): every FORGE04 member rendered from its recipe palette, measured (meta,
+ fingerprint, the catalog profile), its takes audited in its role (seed .. seed + FORGE04_TAKES - 1: its own take
+ clean and at least FORGE04_MIN_CLEAN clean) and its originality on record, at most FORGE04_REF_MAX: ref_clap
+ {id: cosine} (fresh measurements of these renders), else FORGE04_REF_CLAP's recorded value, which holds only
+ while the member renders as it did when measured (_forge04_stale: the block in FORGE04_REF_ON, the shipped
+ fingerprint); a stale or missing value is refused, never written as if measured. One member that fails and
+ nothing is written (BankError). Returns the document."""
+ from . import sfx
+ ref_clap = dict(ref_clap or {})
+ shipped = _forge04_shipped()
+ entries, bad, fresh = {}, [], []
+ for sid in FORGE04:
+ e = forge04_entry(sid)
+ x = renderer(e)()
+ y = normalize(x).astype(np.float32)
+ e['meta'] = meta_of(y)
+ e['profile'] = _profile(y)
+ role = e['kinds'][0]
+ clean, codes = [], set()
+ for k in range(FORGE04_TAKES):
+ yk = y if k == 0 else render(e | {'id': sid}, seed=e['seed'] + k, checks=False)[0]
+ c = sfx.check(yk, category=e['category'], role=role, sound=sid)
+ clean.append(bool(c['ok']))
+ codes |= {w['code'] for w in c['warnings']}
+ e['audit'] = {'role': role, 'seeds': [e['seed'], e['seed'] + FORGE04_TAKES - 1], 'clean': int(sum(clean)),
+ 'warnings': sorted(codes)}
+ if not clean[0] or sum(clean) < FORGE04_MIN_CLEAN:
+ bad.append(f"{sid}: {sum(clean)} / {FORGE04_TAKES} takes clean ({', '.join(sorted(codes))})"
+ + ('; its own take is not' if not clean[0] else ''))
+ stale = None
+ if sid in ref_clap:
+ cos = ref_clap[sid]
+ fresh.append(f"'{sid}': '{forge04_digest(e)}'")
+ else:
+ cos = FORGE04_REF_CLAP.get(sid)
+ stale = _forge04_stale(sid, e, y, shipped) if cos is not None else None
+ if stale:
+ bad.append(f'{sid}: the recorded reference CLAP {cos} is stale: {stale}; measure it again on this render '
+ 'and pass it (ref_clap / --ref-clap)')
+ cos = None
+ elif not isinstance(cos, (int, float)) or isinstance(cos, bool) or cos > FORGE04_REF_MAX:
+ bad.append(f'{sid}: nearest reference CLAP {cos} (needs a measured value <= {FORGE04_REF_MAX})')
+ e['original'] = {'made': 'recipe', 'max_ref_clap': cos}
+ entries[sid] = e
+ if log:
+ log(f" {sid:26s} {e['meta']['dur_s']:6.3f} s takes {sum(clean)}/{FORGE04_TAKES} ref CLAP {cos}")
+ if bad:
+ raise BankError(f'{len(bad)} member(s) refused, nothing written:\n ' + '\n '.join(bad))
+ if fresh and log:
+ log('freshly measured originality: record the values in FORGE04_REF_CLAP and these blocks in FORGE04_REF_ON: '
+ + ', '.join(fresh))
+ import importlib
+ cats = {}
+ for sid, e in entries.items():
+ c = e['category']
+ if c in cats or c not in ('cut_hit', 'reverse_swell', 'ui_pop', 'knock', 'mallet', 'drip', 'shutter'):
+ continue
+ kinds, use = CATEGORIES[c]
+ mod = importlib.import_module(f"earshot.forge.recipes.{e['recipe']}")
+ cats[c] = {'recipe': e['recipe'], 'target': getattr(mod, 'TARGET', None), 'kinds': kinds, 'use': use}
+ doc = {'bank': FORMAT, 'name': 'forge04', 'version': version, 'earshot': _version(),
+ 'note': 'earshot 0.4 recipe members (render blocks of recipe palettes): the new categories and new members '
+ 'of old ones; each entry carries its catalog profile, its take audit and its originality (the '
+ 'largest CLAP cosine to a private set of licensed reference clips, <= 0.96)',
+ 'categories': cats, 'entries': entries}
+ _write(out, doc)
+ return doc
+
+
FIT_ID = re.compile(r'^fit/[a-z0-9_.]+/[a-z0-9_]+$')
SOURCE_KEYS = ('id', 'title', 'author', 'license', 'url')
FREE = ('cc0', 'public domain', 'publicdomain', 'cc-pdm', 'pdm')
@@ -612,6 +866,9 @@ def add_fit(model, sound_id, source, bank_path=None, seed=0, vary=0.0, notes=Non
if not any(f in lic for f in FREE) and not allow_license:
raise BankError(f"licence {source['license']!r} is not CC0 / public domain (pass allow_license to keep an "
'attribution licence, and credit the source)')
+ if float(vary) and 'vary' not in auto.knobs_of(m):
+ raise BankError(f"a {auto.kind_of(m)} fit without a vary knob (an air-only gesture: no tones to jitter) "
+ 'cannot take vary; leave it at 0 (takes still differ by seed)')
fe = m.pop('fit_engine', None) or {}
role = sound_id.split('/')[1]
e = {'type': 'fit', 'category': 'fit', 'member': sound_id.split('/', 1)[1], 'model': m, 'seed': int(seed),
@@ -684,7 +941,12 @@ def main(argv=None):
b.add_argument('dirs', nargs='*', help='final folders (globs work), e.g. out/forge_v2/*/final')
b.add_argument('-o', '--out', required=True)
b.add_argument('--pluck', action='store_true', help='build the tuned pluck voices instead (no folders)')
- b.add_argument('--version', help=f'bank version tag (default {FORGE_VERSION}, or pluck1 with --pluck)')
+ b.add_argument('--forge04', action='store_true',
+ help='build the 0.4 recipe members instead (FORGE04, from the recipe palettes; no folders)')
+ b.add_argument('--version', help=f'bank version tag (default {FORGE_VERSION}, pluck1 with --pluck, '
+ f'{FORGE04_VERSION} with --forge04)')
+ b.add_argument('--ref-clap', help='with --forge04: JSON {id: cosine}, the originality freshly measured on the '
+ "members' current renders (a member whose recorded value is stale needs one)")
f = sub.add_parser('add-fit', help='add a fitted recipe (earshot fit model.json) as fit/<role>/<name>')
f.add_argument('model')
f.add_argument('--id', required=True, dest='sound_id')
@@ -703,6 +965,12 @@ def main(argv=None):
if a.cmd == 'build':
if a.pluck:
doc = build_pluck(a.out, version=a.version or 'pluck1')
+ elif a.forge04:
+ ref = None
+ if a.ref_clap:
+ with open(a.ref_clap, encoding='utf-8') as fh:
+ ref = json.load(fh)
+ doc = build_forge04(a.out, version=a.version or FORGE04_VERSION, ref_clap=ref)
else:
doc = build(a.dirs, a.out, version=a.version or FORGE_VERSION)
print(f"wrote {a.out}: {len(doc['entries'])} entries ({doc['version']}), "
diff --git a/earshot/forge/bank/forge04.json b/earshot/forge/bank/forge04.json
new file mode 100644
index 0000000..7a23ee8
--- /dev/null
+++ b/earshot/forge/bank/forge04.json
@@ -0,0 +1,64 @@
+{"bank": 1, "name": "forge04", "version": "forge04r1", "earshot": "0.4.0", "note": "earshot 0.4 recipe members (render blocks of recipe palettes): the new categories and new members of old ones; each entry carries its catalog profile, its take audit and its originality (the largest CLAP cosine to a private set of licensed reference clips, <= 0.96)",
+ "categories": {
+ "cut_hit": {"recipe": "cuthit", "target": "a short deep sub bass hit with a kick drum", "kinds": ["hit", "drop", "land"], "use": "a short sub hit with a kick, or a short punchy hit, on a cut (0.2-0.5 s)"},
+ "reverse_swell": {"recipe": "revcymbal", "target": "a reverse cymbal swell", "kinds": ["swell"], "use": "a reverse cymbal / reverse swell that peaks just after a cut (at most one a film)"},
+ "ui_pop": {"recipe": "ui_pop", "target": "a soft rounded pop, a small bubble popping in a user interface", "kinds": ["pop", "land.light"], "use": "soft rounded mid pops for elements arriving: chips, bubbles, rows"},
+ "knock": {"recipe": "knock", "target": "a knock on a wooden block", "kinds": ["tock", "land.light"], "use": "mid-band wood and plastic knocks (0.1-0.2 s)"},
+ "mallet": {"recipe": "mallet", "target": "a short glockenspiel note", "kinds": ["bell", "text"], "use": "short gated mallet notes (glockenspiel, celesta, marimba), a soft pluck, chime runs"},
+ "drip": {"recipe": "drip", "target": "a water drop falling into water, a drip", "kinds": ["pop"], "use": "water drops: a bubble whose pitch rises (the audit allows a bubble its climb)"},
+ "shutter": {"recipe": "shutter", "target": "a camera shutter click", "kinds": ["snap", "click"], "use": "camera shutters: a two-stage mechanical click for snap zooms and whip-cuts"}
+ },
+ "entries": {
+ "cut_hit/sub": {"type": "forge", "category": "cut_hit", "member": "sub", "recipe": "cuthit", "fn": "render", "params": {"length": 0.2858, "fade": 0.1949, "sub_f0": 224.8, "sub_f1": 45.69, "sub_glide": 0.04827, "sub_attack": 0.01613, "sub_t20": 0.04364, "sub_drive": 0.6188, "sub_phase": 0.0, "kick": 0.6151, "kick_f0": 174.9, "kick_f1": 92.57, "kick_tau": 0.008307, "kick_decay": 0.2089, "click": 0.1667, "click_f": 1226.0, "click_ms": 2.506, "punch": 1.069, "punch_f": 374.4, "punch_decay": 0.1464, "rumble": 0.0, "rumble_t20": 0.1565, "grain_rate": 12.92, "grain_tick": 0.002876, "crackle": 0.0, "air": 0.0, "air_f": 9115.0, "air_len": 0.03, "width": 0.3875, "room": 0.05584}, "seed": 4101, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["drop", "hit"], "notes": "a short sub hit, 225 -> 46 Hz, with a kick and a low punch", "meta": {"onset_s": 0.0, "peak_s": 0.0205, "end_s": 0.263, "dur_s": 0.2858, "lufs_m_max": -14.86, "attack_ms": 15.25, "centroid_hz": 219.6, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -6.0, -10.4, -16.1, -25.9, -47.5]}}, "profile": {"dur_s": 0.258, "attack_ms": 20.0, "t20_ms": 156.0, "t40_ms": 230.0, "centroid_hz": 212.0, "lo150": 0.546, "hi4k": 0.0, "tonal": 0.48, "glide_st": -9.7, "corr": 0.98}, "audit": {"role": "drop", "seeds": [4101, 4106], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.674}},
+ "cut_hit/kick": {"type": "forge", "category": "cut_hit", "member": "kick", "recipe": "cuthit", "fn": "render", "params": {"length": 1.022, "fade": 0.0589, "sub_f0": 176.6, "sub_f1": 37.04, "sub_glide": 0.1106, "sub_attack": 0.007655, "sub_t20": 0.05602, "sub_drive": 0.3078, "sub_phase": 0.0, "kick": 1.025, "kick_f0": 363.2, "kick_f1": 108.2, "kick_tau": 0.009914, "kick_decay": 0.03626, "click": 0.1688, "click_f": 2440.0, "click_ms": 5.914, "punch": 1.077, "punch_f": 437.1, "punch_decay": 0.04711, "rumble": 0.0, "rumble_t20": 0.1437, "grain_rate": 29.02, "grain_tick": 0.0, "crackle": 0.0, "air": 0.0, "air_f": 6018.0, "air_len": 0.07952, "width": 0.0, "room": 0.01595}, "seed": 4102, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["drop", "hit"], "notes": "a kick-led sub hit: the beater lifts it to ~275 Hz", "meta": {"onset_s": 0.0, "peak_s": 0.0135, "end_s": 0.243, "dur_s": 0.325, "lufs_m_max": -16.29, "attack_ms": 2.5, "centroid_hz": 273.5, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -9.4, -23.3, -32.7, -41.8, -53.1]}}, "profile": {"dur_s": 0.22, "attack_ms": 15.0, "t20_ms": 83.0, "t40_ms": 185.0, "centroid_hz": 275.0, "lo150": 0.476, "hi4k": 0.0, "tonal": 0.42, "glide_st": -9.7, "corr": 1.0}, "audit": {"role": "drop", "seeds": [4102, 4107], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.593}},
+ "cut_hit/punch": {"type": "forge", "category": "cut_hit", "member": "punch", "recipe": "cuthit", "fn": "render", "params": {"length": 0.2823, "fade": 0.01307, "sub_f0": 144.2, "sub_f1": 47.8, "sub_glide": 0.06248, "sub_attack": 0.06125, "sub_t20": 0.03285, "sub_drive": 2.878, "sub_phase": 0.09153, "kick": 0.6973, "kick_f0": 284.4, "kick_f1": 84.94, "kick_tau": 0.0141, "kick_decay": 0.04286, "click": 0.4873, "click_f": 9000.0, "click_ms": 5.467, "punch": 0.9001, "punch_f": 1000.0, "punch_decay": 0.07649, "rumble": 0.0, "rumble_t20": 0.1443, "grain_rate": 15.95, "grain_tick": 0.04938, "crackle": 0.0, "air": 0.0, "air_f": 5858.0, "air_len": 0.1071, "width": 0.346, "room": 0.1467}, "seed": 4103, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["hit", "land"], "notes": "a short punchy cut hit (0.28 s), two thirds under 150 Hz", "meta": {"onset_s": 0.0, "peak_s": 0.0575, "end_s": 0.278, "dur_s": 0.2823, "lufs_m_max": -15.46, "attack_ms": 20.75, "centroid_hz": 227.3, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-1.7, 0.0, -18.7, -26.3, -31.9, -39.3]}}, "profile": {"dur_s": 0.276, "attack_ms": 59.0, "t20_ms": 51.0, "t40_ms": 195.0, "centroid_hz": 178.0, "lo150": 0.825, "hi4k": 0.0, "tonal": 0.43, "glide_st": 0.0, "corr": 0.96}, "audit": {"role": "hit", "seeds": [4103, 4108], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.704}},
+ "cut_hit/rumble": {"type": "forge", "category": "cut_hit", "member": "rumble", "recipe": "cuthit", "fn": "render", "params": {"length": 1.4, "fade": 0.04147, "sub_f0": 125.0, "sub_f1": 40.27, "sub_glide": 0.15, "sub_attack": 0.07542, "sub_t20": 0.09859, "sub_drive": 0.863, "sub_phase": 1.0, "kick": 0.3807, "kick_f0": 197.6, "kick_f1": 69.6, "kick_tau": 0.004458, "kick_decay": 0.0623, "click": 0.0, "click_f": 2568.0, "click_ms": 2.467, "punch": 0.03031, "punch_f": 140.0, "punch_decay": 0.01199, "rumble": 1.2, "rumble_t20": 1.5, "grain_rate": 21.45, "grain_tick": 0.6988, "crackle": 0.0, "air": 0.3205, "air_f": 3809.0, "air_len": 0.166, "width": 0.6293, "room": 0.3665}, "seed": 4104, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["hit"], "notes": "a kick on a slow sub drop into a wide granular rumble (1.4 s)", "meta": {"onset_s": 0.0, "peak_s": 0.0725, "end_s": 1.396, "dur_s": 1.4, "lufs_m_max": -12.65, "attack_ms": 3.25, "centroid_hz": 123.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-2.8, 0.0, -6.6, -10.0, -10.7, -12.3, -19.5, -10.8, -11.0, -16.3, -15.1, -23.6, -14.0, -40.5, -19.2, -12.7, -18.2, -26.3, -53.9, -28.9, -20.0, -34.4, -21.0, -30.4, -26.1, -35.3, -53.9, -22.8]}}, "profile": {"dur_s": 1.393, "attack_ms": 76.0, "t20_ms": 113.0, "t40_ms": 251.0, "centroid_hz": 119.0, "lo150": 0.913, "hi4k": 0.003, "tonal": 0.54, "glide_st": 3.2, "corr": 0.19}, "audit": {"role": "hit", "seeds": [4104, 4109], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.665}},
+ "cut_hit/air": {"type": "forge", "category": "cut_hit", "member": "air", "recipe": "cuthit", "fn": "render", "params": {"length": 0.5493, "fade": 0.2087, "sub_f0": 203.3, "sub_f1": 50.96, "sub_glide": 0.02, "sub_attack": 0.05396, "sub_t20": 0.03, "sub_drive": 3.0, "sub_phase": 1.0, "kick": 1.084, "kick_f0": 193.6, "kick_f1": 50.09, "kick_tau": 0.006564, "kick_decay": 0.03479, "click": 0.4183, "click_f": 3710.0, "click_ms": 1.241, "punch": 0.1212, "punch_f": 190.7, "punch_decay": 0.1313, "rumble": 0.9522, "rumble_t20": 0.4372, "grain_rate": 14.47, "grain_tick": 0.4375, "crackle": 0.7462, "air": 0.824, "air_f": 10810.0, "air_len": 0.6526, "width": 1.0, "room": 0.4}, "seed": 4105, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["hit"], "notes": "a fast wide sub hit under a sustained bright air band", "meta": {"onset_s": 0.0, "peak_s": 0.0435, "end_s": 0.504, "dur_s": 0.5493, "lufs_m_max": -16.52, "attack_ms": 1.75, "centroid_hz": 644.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -4.0, -19.7, -21.4, -21.1, -21.2, -22.9, -24.3, -28.6, -35.8, -50.4]}}, "profile": {"dur_s": 0.492, "attack_ms": 42.0, "t20_ms": 41.0, "t40_ms": 428.0, "centroid_hz": 245.0, "lo150": 0.898, "hi4k": 0.011, "tonal": 0.47, "glide_st": 0.0, "corr": 0.18}, "audit": {"role": "hit", "seeds": [4105, 4110], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.697}},
+ "reverse_swell/cymbal": {"type": "forge", "category": "reverse_swell", "member": "cymbal", "recipe": "revcymbal", "fn": "render", "params": {"length": 0.5037, "swell_db": 19.55, "curve": 1.831, "hold": 0.22, "hold_db": -8.039, "tail_tau": 0.03096, "cym_f": 2600.0, "bw": 3.469, "metal": 0.6317, "partials": 78, "shimmer": 0.5093, "open": 0.0, "hp": 118.7, "low_db": -50.0, "flut_depth": 0.6266, "flut_f": 18.8, "width": 0.98, "room": 0.0, "rt60": 1.386}, "seed": 4301, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["swell"], "notes": "a bright wide reverse cymbal: a plateau after the peak, then a stop", "meta": {"onset_s": 0.005, "peak_s": 0.5185, "end_s": 0.856, "dur_s": 0.895, "lufs_m_max": -13.68, "attack_ms": 18.75, "centroid_hz": 3344.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-20.8, -19.3, -20.3, -17.6, -10.6, -7.8, -7.1, -8.3, -9.9, -4.1, 0.0, -6.5, -8.5, -9.5, -15.1, -27.4, -40.1, -53.5]}}, "profile": {"dur_s": 0.831, "attack_ms": 503.0, "t20_ms": 219.0, "t40_ms": 297.0, "centroid_hz": 3345.0, "lo150": 0.0, "hi4k": 0.27, "tonal": 0.26, "glide_st": -4.4, "corr": 0.16}, "audit": {"role": "swell", "seeds": [4301, 4306], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.565}},
+ "reverse_swell/ring": {"type": "forge", "category": "reverse_swell", "member": "ring", "recipe": "revcymbal", "fn": "render", "params": {"length": 0.808, "swell_db": 40.86, "curve": 2.308, "hold": 0.0, "hold_db": -2.062, "tail_tau": 0.1542, "cym_f": 2070.0, "bw": 5.575, "metal": 0.7482, "partials": 79, "shimmer": 0.8912, "open": 3.093, "hp": 658.9, "low_db": -50.0, "flut_depth": 0.4417, "flut_f": 21.97, "width": 1.0, "room": 0.129, "rt60": 1.209}, "seed": 4302, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["swell"], "notes": "a reverse cymbal that swells harder and rings out", "meta": {"onset_s": 0.1715, "peak_s": 0.6145, "end_s": 1.573, "dur_s": 1.68, "lufs_m_max": -15.29, "attack_ms": 20.0, "centroid_hz": 3429.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-42.1, -37.0, -34.6, -26.7, -25.1, -17.9, -16.3, -12.8, -10.7, -8.1, -10.2, -6.2, 0.0, -2.6, -0.6, -1.3, -7.5, -8.7, -11.3, -13.9, -16.6, -20.3, -24.5, -23.6, -28.0, -33.6, -37.6, -35.5, -38.9, -43.6, -46.1, -47.5, -52.4]}}, "profile": {"dur_s": 1.256, "attack_ms": 333.0, "t20_ms": 373.0, "t40_ms": 682.0, "centroid_hz": 3443.0, "lo150": 0.0, "hi4k": 0.353, "tonal": 0.21, "glide_st": -24.2, "corr": 0.01}, "audit": {"role": "swell", "seeds": [4302, 4307], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.564}},
+ "reverse_swell/dark": {"type": "forge", "category": "reverse_swell", "member": "dark", "recipe": "revcymbal", "fn": "render", "params": {"length": 0.5391, "swell_db": 30.0, "curve": 0.5, "hold": 0.03684, "hold_db": -0.4249, "tail_tau": 0.03842, "cym_f": 346.0, "bw": 3.456, "metal": 0.259, "partials": 117, "shimmer": 0.3166, "open": 2.554, "hp": 80.0, "low_db": 0.0, "flut_depth": 0.004984, "flut_f": 28.16, "width": 0.35, "room": 0.08302, "rt60": 0.5783}, "seed": 4303, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["swell"], "notes": "a darker, near-mono reverse swell with a low body", "meta": {"onset_s": 0.0032, "peak_s": 0.5695, "end_s": 0.872, "dur_s": 0.9189, "lufs_m_max": -14.87, "attack_ms": 7.75, "centroid_hz": 419.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-29.3, -26.2, -24.9, -23.6, -20.6, -18.4, -17.1, -14.7, -12.4, -7.1, -1.2, 0.0, -8.5, -19.2, -29.9, -35.4, -42.4, -47.9]}}, "profile": {"dur_s": 0.833, "attack_ms": 285.0, "t20_ms": 128.0, "t40_ms": 242.0, "centroid_hz": 421.0, "lo150": 0.102, "hi4k": 0.0, "tonal": 0.35, "glide_st": -9.3, "corr": 0.91}, "audit": {"role": "swell", "seeds": [4303, 4308], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.606}},
+ "reverse_swell/short": {"type": "forge", "category": "reverse_swell", "member": "short", "recipe": "revcymbal", "fn": "render", "params": {"length": 0.33, "swell_db": 24.0, "curve": 0.8282, "hold": 0.08, "hold_db": -6.0, "tail_tau": 0.025, "cym_f": 3200.0, "bw": 3.2, "metal": 0.6, "partials": 70, "shimmer": 0.04221, "open": 0.5, "hp": 300.0, "low_db": -50.0, "flut_depth": 0.8351, "flut_f": 24.0, "width": 0.95, "room": 0.05, "rt60": 0.8}, "seed": 4304, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["swell"], "notes": "a short bright reverse cymbal for a quick cut (0.33 s to the peak)", "meta": {"onset_s": 0.0102, "peak_s": 0.3325, "end_s": 0.553, "dur_s": 0.6507, "lufs_m_max": -19.28, "attack_ms": 11.0, "centroid_hz": 3714.2, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-22.4, -19.3, -20.1, -10.3, -8.5, -6.7, 0.0, -10.7, -12.7, -29.2, -40.0, -45.6, -51.1]}}, "profile": {"dur_s": 0.511, "attack_ms": 277.0, "t20_ms": 63.0, "t40_ms": 156.0, "centroid_hz": 3713.0, "lo150": 0.0, "hi4k": 0.273, "tonal": 0.31, "glide_st": 1.8, "corr": 0.26}, "audit": {"role": "swell", "seeds": [4304, 4309], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.602}},
+ "reverse_swell/breath": {"type": "forge", "category": "reverse_swell", "member": "breath", "recipe": "revcymbal", "fn": "render", "params": {"length": 0.7, "swell_db": 30.0, "curve": 1.3, "hold": 0.094, "hold_db": 0.0, "tail_tau": 0.06, "cym_f": 1200.0, "bw": 1.499, "metal": 0.12, "partials": 60, "shimmer": 0.3, "open": 1.5, "hp": 150.0, "low_db": -24.0, "flut_depth": 0.366, "flut_f": 14.0, "width": 0.5818, "room": 0.2272, "rt60": 0.5846}, "seed": 4305, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["swell"], "notes": "a mid-band reverse breath, half wide (1.3 kHz)", "meta": {"onset_s": 0.0905, "peak_s": 0.7325, "end_s": 1.167, "dur_s": 1.235, "lufs_m_max": -13.63, "attack_ms": 9.5, "centroid_hz": 1321.3, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-36.2, -29.4, -23.5, -25.5, -23.6, -18.5, -20.3, -17.2, -14.2, -8.3, -5.1, -5.6, -3.6, -4.0, 0.0, -1.7, -5.5, -14.6, -22.1, -26.6, -33.8, -38.4, -44.3, -50.1, -57.5]}}, "profile": {"dur_s": 1.006, "attack_ms": 465.0, "t20_ms": 170.0, "t40_ms": 335.0, "centroid_hz": 1323.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.43, "glide_st": -0.4, "corr": 0.75}, "audit": {"role": "swell", "seeds": [4305, 4310], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.576}},
+ "ui_pop/soft": {"type": "forge", "category": "ui_pop", "member": "soft", "recipe": "ui_pop", "fn": "render", "params": {"f0": 370.0, "bend": 0.7, "ptau": 0.0075, "sweep": 0.0, "ease": 1.0, "onset": 0.0236, "curve": 2.45, "hold": 0.0147, "tau": 0.041, "dcurve": 2.12, "h2": 0.57, "h3": 0.35, "hdec": 1.0, "inh": 0.0, "m2": 0.66, "m2r": 1.72, "m2dec": 1.43, "breath": -14.0, "bq": 3.6, "bdec": 0.6, "puff": -40.0, "puff_hz": 4270.0, "puff_ms": 2.7, "thump": -15.7, "thump_f": 129.0, "click": -60.0, "click_hz": 3500.0, "dbl": -60.0, "dgap": 0.07, "dratio": 0.8, "hp": 112.0, "lp": 3530.0, "room": 0.15, "rt": 0.1, "width": 0.1, "jit": 0.5}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop", "land.light"], "notes": "a soft rounded mid pop: 550 Hz, 22 ms onset, t20 75 ms", "meta": {"onset_s": 0.0025, "peak_s": 0.0415, "end_s": 0.157, "dur_s": 0.1805, "lufs_m_max": -15.37, "attack_ms": 6.5, "centroid_hz": 546.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -2.3, -24.3, -52.6]}}, "profile": {"dur_s": 0.143, "attack_ms": 22.0, "t20_ms": 75.0, "t40_ms": 109.0, "centroid_hz": 551.0, "lo150": 0.029, "hi4k": 0.0, "tonal": 0.49, "glide_st": 0.0, "corr": 0.98}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.715}},
+ "ui_pop/step": {"type": "forge", "category": "ui_pop", "member": "step", "recipe": "ui_pop", "fn": "render", "params": {"f0": 466.16, "bend": 3.0, "ptau": 0.03, "sweep": 0.0, "ease": 1.0, "onset": 0.0236, "curve": 2.45, "hold": 0.0147, "tau": 0.041, "dcurve": 2.12, "h2": 0.57, "h3": 0.35, "hdec": 1.0, "inh": 0.0, "m2": 0.66, "m2r": 1.72, "m2dec": 1.43, "breath": -14.0, "bq": 3.6, "bdec": 0.6, "puff": -40.0, "puff_hz": 4270.0, "puff_ms": 2.7, "thump": -15.7, "thump_f": 129.0, "click": -60.0, "click_hz": 3500.0, "dbl": -60.0, "dgap": 0.07, "dratio": 0.8, "hp": 112.0, "lp": 3530.0, "room": 0.15, "rt": 0.1, "width": 0.1, "jit": 0.5}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "the soft pop a step higher, falling 3 st", "meta": {"onset_s": 0.0025, "peak_s": 0.0445, "end_s": 0.163, "dur_s": 0.1871, "lufs_m_max": -15.94, "attack_ms": 20.75, "centroid_hz": 699.0, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -2.2, -22.7, -48.1]}}, "profile": {"dur_s": 0.156, "attack_ms": 43.0, "t20_ms": 59.0, "t40_ms": 96.0, "centroid_hz": 706.0, "lo150": 0.029, "hi4k": 0.0, "tonal": 0.48, "glide_st": -0.8, "corr": 0.99}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.722}},
+ "ui_pop/boop": {"type": "forge", "category": "ui_pop", "member": "boop", "recipe": "ui_pop", "fn": "render", "params": {"f0": 357.1, "bend": 9.0, "ptau": 0.03, "sweep": 0.0, "ease": 1.0, "onset": 0.025, "curve": 2.0, "hold": 0.0062, "tau": 0.026, "dcurve": 1.4, "h2": 0.61, "h3": 0.17, "hdec": 1.63, "inh": 0.0, "m2": 0.79, "m2r": 3.69, "m2dec": 2.68, "breath": -13.8, "bq": 7.0, "bdec": 0.4, "puff": -51.0, "puff_hz": 4600.0, "puff_ms": 1.9, "thump": -8.0, "thump_f": 76.0, "click": -54.0, "click_hz": 3500.0, "dbl": -60.0, "dgap": 0.07, "dratio": 0.8, "hp": 95.0, "lp": 12000.0, "room": 0.115, "rt": 0.093, "width": 0.2, "jit": 0.5}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a rounder boop falling 9 st", "meta": {"onset_s": 0.0002, "peak_s": 0.0275, "end_s": 0.168, "dur_s": 0.1949, "lufs_m_max": -18.62, "attack_ms": 9.25, "centroid_hz": 739.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -10.4, -32.5, -50.3]}}, "profile": {"dur_s": 0.139, "attack_ms": 25.0, "t20_ms": 52.0, "t40_ms": 106.0, "centroid_hz": 768.0, "lo150": 0.036, "hi4k": 0.0, "tonal": 0.68, "glide_st": -3.0, "corr": 0.95}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.712}},
+ "ui_pop/blip": {"type": "forge", "category": "ui_pop", "member": "blip", "recipe": "ui_pop", "fn": "render", "params": {"f0": 889.1, "bend": -3.0, "ptau": 0.08, "sweep": 0.0, "ease": 1.576, "onset": 0.01359, "curve": 2.5, "hold": 0.00311, "tau": 0.01052, "dcurve": 2.007, "h2": 0.3, "h3": 0.09244, "hdec": 1.107, "inh": 0.01188, "m2": 0.2913, "m2r": 4.115, "m2dec": 1.032, "breath": -21.12, "bq": 2.26, "bdec": 1.076, "puff": -46.31, "puff_hz": 4264.0, "puff_ms": 0.5636, "thump": -36.45, "thump_f": 108.6, "click": -45.55, "click_hz": 4013.0, "dbl": -55.33, "dgap": 0.05156, "dratio": 0.7141, "hp": 60.0, "lp": 12000.0, "room": 0.0, "rt": 0.2241, "width": 1.341, "jit": 0.6717}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a bright 890 Hz blip, fully decorrelated (L / R correlation ~0.1)", "meta": {"onset_s": 0.0055, "peak_s": 0.0165, "end_s": 0.047, "dur_s": 0.1177, "lufs_m_max": -17.6, "attack_ms": 6.75, "centroid_hz": 1029.6, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -54.2]}}, "profile": {"dur_s": 0.043, "attack_ms": 13.0, "t20_ms": 19.0, "t40_ms": 27.0, "centroid_hz": 1029.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.85, "glide_st": 0.5, "corr": 0.07}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.788}},
+ "ui_pop/fall": {"type": "forge", "category": "ui_pop", "member": "fall", "recipe": "ui_pop", "fn": "render", "params": {"f0": 345.76, "bend": 7.36, "ptau": 0.0058, "sweep": 0.0894, "ease": 1.123, "onset": 0.0177, "curve": 1.658, "hold": 0.0006, "tau": 0.0225, "dcurve": 2.138, "h2": 0.671, "h3": 0.49, "hdec": 1.424, "inh": 0.0, "m2": 0.53, "m2r": 4.5, "m2dec": 1.0, "breath": -8.81, "bq": 2.61, "bdec": 1.89, "puff": -47.5, "puff_hz": 5000.0, "puff_ms": 6.13, "thump": -26.1, "thump_f": 81.0, "click": -33.5, "click_hz": 4083.0, "dbl": -29.6, "dgap": 0.113, "dratio": 1.155, "hp": 79.7, "lp": 11076.0, "room": 0.0, "rt": 0.076, "width": 0.64, "jit": 0.83}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "an eased 7 st fall with a faint second pop", "meta": {"onset_s": 0.0042, "peak_s": 0.0215, "end_s": 0.164, "dur_s": 0.2043, "lufs_m_max": -18.33, "attack_ms": 8.5, "centroid_hz": 921.4, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -24.0, -29.9, -42.8]}}, "profile": {"dur_s": 0.158, "attack_ms": 18.0, "t20_ms": 31.0, "t40_ms": 46.0, "centroid_hz": 893.0, "lo150": 0.003, "hi4k": 0.001, "tonal": 0.58, "glide_st": -1.8, "corr": 0.67}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.744}},
+ "ui_pop/wide": {"type": "forge", "category": "ui_pop", "member": "wide", "recipe": "ui_pop", "fn": "render", "params": {"f0": 622.5, "bend": -0.9783, "ptau": 0.08, "sweep": 0.00291, "ease": 1.822, "onset": 0.04115, "curve": 2.5, "hold": 0.00244, "tau": 0.03267, "dcurve": 1.844, "h2": 0.5426, "h3": 0.1129, "hdec": 1.054, "inh": 0.02561, "m2": 0.2683, "m2r": 4.5, "m2dec": 1.0, "breath": -9.013, "bq": 3.179, "bdec": 0.5391, "puff": -13.68, "puff_hz": 5000.0, "puff_ms": 1.019, "thump": -46.85, "thump_f": 107.4, "click": -10.1, "click_hz": 6070.0, "dbl": -47.17, "dgap": 0.07519, "dratio": 0.6551, "hp": 67.89, "lp": 11620.0, "room": 0.00401, "rt": 0.1363, "width": 0.8105, "jit": 0.3896}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a wide 620 Hz pop with a lip click (correlation ~0.5)", "meta": {"onset_s": 0.0, "peak_s": 0.0445, "end_s": 0.143, "dur_s": 0.1904, "lufs_m_max": -15.95, "attack_ms": 7.0, "centroid_hz": 930.1, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -1.7, -22.8, -54.3]}}, "profile": {"dur_s": 0.142, "attack_ms": 44.0, "t20_ms": 58.0, "t40_ms": 96.0, "centroid_hz": 887.0, "lo150": 0.0, "hi4k": 0.002, "tonal": 0.7, "glide_st": -0.7, "corr": 0.51}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.691}},
+ "knock/wood": {"type": "forge", "category": "knock", "member": "wood", "recipe": "knock", "fn": "render", "params": {"mat": "block", "f1": 400.0, "decay": 0.00898, "slope": 1.4, "tilt": 0.4048, "cloud": -9.5, "cloud_hi": 6.712, "cloud_dec": 0.8552, "jitter": 0.01331, "bend": 2.919, "bend_ms": 3.488, "contact": 0.00076, "grit": 0.6466, "noise": 0.01577, "noise_hz": 300.0, "noise_ms": 0.3, "flam": -42.5, "flam_ms": 12.92, "bounce": -19.75, "bounce_ms": 44.74, "body": -11.36, "body_f": 102.0, "body_ms": 4.521, "hp": 107.2, "lp": 11210.0, "room": 0.1648, "rt": 0.1519, "width": 0.2037, "jit": 0.1328}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["tock", "land.light"], "notes": "a mid-band wooden knock: a 400 Hz block and its faint rattle", "meta": {"onset_s": 0.0122, "peak_s": 0.0155, "end_s": 0.13, "dur_s": 0.1536, "lufs_m_max": -22.85, "attack_ms": 1.0, "centroid_hz": 783.5, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -16.5, -39.2]}}, "profile": {"dur_s": 0.113, "attack_ms": 10.0, "t20_ms": 31.0, "t40_ms": 87.0, "centroid_hz": 665.0, "lo150": 0.027, "hi4k": 0.001, "tonal": 0.4, "glide_st": 0.9, "corr": 0.95}, "audit": {"role": "tock", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.682}},
+ "knock/plastic": {"type": "forge", "category": "knock", "member": "plastic", "recipe": "knock", "fn": "render", "params": {"mat": "block", "f1": 589.7, "decay": 0.0042, "slope": 1.4, "tilt": 0.2389, "cloud": -60.0, "cloud_hi": 6.513, "cloud_dec": 0.5565, "jitter": 0.00101, "bend": 3.485, "bend_ms": 5.989, "contact": 0.004, "grit": 0.9598, "noise": -29.01, "noise_hz": 304.7, "noise_ms": 9.585, "flam": -26.35, "flam_ms": 48.96, "bounce": -10.06, "bounce_ms": 18.4, "body": -48.31, "body_f": 177.7, "body_ms": 38.28, "hp": 40.0, "lp": 3815.0, "room": 0.03, "rt": 0.08539, "width": 0.2528, "jit": 0.2616}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["tock"], "notes": "a plastic click that bounces back 18 ms later (2.4 kHz)", "meta": {"onset_s": 0.0015, "peak_s": 0.0525, "end_s": 0.124, "dur_s": 0.1531, "lufs_m_max": -23.02, "attack_ms": 1.5, "centroid_hz": 2412.2, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-18.1, 0.0, -39.7]}}, "profile": {"dur_s": 0.113, "attack_ms": 8.0, "t20_ms": 31.0, "t40_ms": 51.0, "centroid_hz": 2417.0, "lo150": 0.032, "hi4k": 0.011, "tonal": 0.57, "glide_st": -8.2, "corr": 0.94}, "audit": {"role": "tock", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.839}},
+ "knock/snap": {"type": "forge", "category": "knock", "member": "snap", "recipe": "knock", "fn": "render", "params": {"mat": "block", "f1": 1055.0, "decay": 0.00446, "slope": 0.9923, "tilt": 0.4321, "cloud": -53.72, "cloud_hi": 10.0, "cloud_dec": 0.4418, "jitter": 0.01216, "bend": 4.0, "bend_ms": 1.017, "contact": 0.004, "grit": 1.0, "noise": -21.06, "noise_hz": 1316.0, "noise_ms": 11.51, "flam": -15.46, "flam_ms": 38.32, "bounce": -11.12, "bounce_ms": 21.61, "body": -51.53, "body_f": 180.6, "body_ms": 23.32, "hp": 94.95, "lp": 5813.0, "room": 0.03, "rt": 0.08, "width": 0.2403, "jit": 0.2051}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["tock"], "notes": "a soft contact, then a bright plastic snap with a bounce (3 kHz)", "meta": {"onset_s": 0.0008, "peak_s": 0.0415, "end_s": 0.101, "dur_s": 0.1335, "lufs_m_max": -23.6, "attack_ms": 1.25, "centroid_hz": 2982.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -9.8, -51.2]}}, "profile": {"dur_s": 0.096, "attack_ms": 43.0, "t20_ms": 13.0, "t40_ms": 45.0, "centroid_hz": 2980.0, "lo150": 0.004, "hi4k": 0.106, "tonal": 0.47, "glide_st": -14.8, "corr": 0.94}, "audit": {"role": "tock", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.813}},
+ "knock/desk": {"type": "forge", "category": "knock", "member": "desk", "recipe": "knock", "fn": "render", "params": {"mat": "block", "f1": 699.2, "decay": 0.02025, "slope": 0.552, "tilt": 0.08284, "cloud": -0.8436, "cloud_hi": 5.867, "cloud_dec": 0.9966, "jitter": 0.01775, "bend": 2.157, "bend_ms": 71.36, "contact": 0.00066, "grit": 0.894, "noise": 3.033, "noise_hz": 1279.0, "noise_ms": 14.94, "flam": -20.16, "flam_ms": 12.09, "bounce": -47.54, "bounce_ms": 16.56, "body": 4.088, "body_f": 95.0, "body_ms": 28.8, "hp": 70.0, "lp": 4889.0, "room": 0.09192, "rt": 0.276, "width": 0.5584, "jit": 0.8611}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["tock", "land.light"], "notes": "a knuckle on a desk: a low wooden knock with the table under it", "meta": {"onset_s": 0.0, "peak_s": 0.0245, "end_s": 0.2, "dur_s": 0.2237, "lufs_m_max": -19.11, "attack_ms": 10.0, "centroid_hz": 529.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -12.5, -32.3, -43.6, -59.6]}}, "profile": {"dur_s": 0.188, "attack_ms": 16.0, "t20_ms": 52.0, "t40_ms": 110.0, "centroid_hz": 435.0, "lo150": 0.806, "hi4k": 0.003, "tonal": 0.63, "glide_st": 0.0, "corr": 0.72}, "audit": {"role": "tock", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.749}},
+ "knock/double": {"type": "forge", "category": "knock", "member": "double", "recipe": "knock", "fn": "render", "params": {"mat": "tok", "f1": 537.0, "decay": 0.005, "slope": -0.00403, "tilt": 0.5245, "cloud": -50.47, "cloud_hi": 3.995, "cloud_dec": 1.394, "jitter": 0.01402, "bend": 1.762, "bend_ms": 9.208, "contact": 0.00244, "grit": 0.6739, "noise": -27.15, "noise_hz": 2665.0, "noise_ms": 3.251, "flam": -2.088, "flam_ms": 55.14, "bounce": -14.68, "bounce_ms": 28.8, "body": -15.67, "body_f": 179.5, "body_ms": 4.703, "hp": 169.2, "lp": 7249.0, "room": 0.00579, "rt": 0.2958, "width": 0.3936, "jit": 0.8699}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["tock"], "notes": "a knock-knock: two wooden taps 55 ms apart", "meta": {"onset_s": 0.0, "peak_s": 0.0575, "end_s": 0.111, "dur_s": 0.1561, "lufs_m_max": -21.94, "attack_ms": 2.0, "centroid_hz": 1186.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -0.1, -41.0]}}, "profile": {"dur_s": 0.107, "attack_ms": 5.0, "t20_ms": 16.0, "t40_ms": 22.0, "centroid_hz": 1173.0, "lo150": 0.012, "hi4k": 0.009, "tonal": 0.47, "glide_st": 7.0, "corr": 0.86}, "audit": {"role": "tock", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.821}},
+ "mallet/glock": {"type": "forge", "category": "mallet", "member": "glock", "recipe": "mallet", "fn": "render", "params": {"style": "note", "bar": "glock", "f0": 1274.0, "decay": 0.5027, "slope": 0.8703, "hard": 0.6343, "strike": -14.89, "beat": 4.807, "onset": 0.00162, "gate": 0.08478, "gate_tau": 0.0422, "tilt": 0.6, "pos": 0.4314, "contact": 0.00436, "body": -21.52, "body_f": 360.3, "hp": 194.3, "lp": 6499.0, "width": 0.3488, "pan": 0.0, "room": 0.2474, "rt": 0.4467, "oct": -2.483, "oct_ratio": 0.5, "jit": 0.4495}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["bell", "text"], "notes": "a gated glockenspiel note doubled an octave under (0.35 s)", "meta": {"onset_s": 0.0, "peak_s": 0.0105, "end_s": 0.374, "dur_s": 0.4123, "lufs_m_max": -13.44, "attack_ms": 3.0, "centroid_hz": 1325.6, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -3.7, -11.1, -19.1, -27.4, -33.4, -40.1, -48.9]}}, "profile": {"dur_s": 0.345, "attack_ms": 14.0, "t20_ms": 158.0, "t40_ms": 301.0, "centroid_hz": 1325.0, "lo150": 0.0, "hi4k": 0.006, "tonal": 0.53, "glide_st": -12.0, "corr": 0.85}, "audit": {"role": "bell", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.56}},
+ "mallet/pluck": {"type": "forge", "category": "mallet", "member": "pluck", "recipe": "mallet", "fn": "render", "params": {"style": "pluck", "bar": "glock", "f0": 284.2, "decay": 0.1234, "slope": 0.3789, "hard": 0.1259, "strike": -49.8, "beat": 2.786, "onset": 0.06, "gate": 0.1256, "gate_tau": 0.01994, "tilt": 0.7913, "pos": 0.07761, "contact": 0.00563, "body": -40.86, "body_f": 125.1, "hp": 372.5, "lp": 4270.0, "width": 0.08427, "pan": 0.0, "room": 0.07512, "rt": 0.6068, "oct": -60.0, "oct_ratio": 0.5, "jit": 0.02373}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["text", "bell"], "notes": "a soft, felt-like low pluck", "meta": {"onset_s": 0.0065, "peak_s": 0.0555, "end_s": 0.415, "dur_s": 0.4944, "lufs_m_max": -11.63, "attack_ms": 19.0, "centroid_hz": 464.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-3.3, 0.0, -4.9, -21.5, -32.1, -39.5, -47.3, -47.0, -49.4, -57.1]}}, "profile": {"dur_s": 0.285, "attack_ms": 46.0, "t20_ms": 104.0, "t40_ms": 211.0, "centroid_hz": 464.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.58, "glide_st": -12.0, "corr": 0.99}, "audit": {"role": "text", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.532}},
+ "mallet/celesta": {"type": "forge", "category": "mallet", "member": "celesta", "recipe": "mallet", "fn": "render", "params": {"style": "note", "bar": "celesta", "f0": 784.0, "decay": 0.7148, "slope": 0.4249, "hard": 0.5432, "strike": -49.98, "beat": 1.934, "onset": 0.00548, "gate": 0.08034, "gate_tau": 0.04521, "tilt": 1.4, "pos": 0.18, "contact": 0.003, "body": -14.0, "body_f": 180.0, "hp": 678.6, "lp": 8593.0, "width": 0.8211, "pan": 0.0, "room": 0.1831, "rt": 0.4, "oct": -60.0, "oct_ratio": 0.5, "jit": 0.4}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["bell", "text"], "notes": "a wide celesta note (G5, L / R correlation ~0.5), gated", "meta": {"onset_s": 0.0005, "peak_s": 0.0235, "end_s": 0.344, "dur_s": 0.414, "lufs_m_max": -13.05, "attack_ms": 11.75, "centroid_hz": 1053.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -2.2, -11.9, -23.4, -34.1, -41.6, -46.4, -54.1]}}, "profile": {"dur_s": 0.305, "attack_ms": 25.0, "t20_ms": 128.0, "t40_ms": 221.0, "centroid_hz": 1067.0, "lo150": 0.0, "hi4k": 0.004, "tonal": 0.8, "glide_st": 0.5, "corr": 0.48}, "audit": {"role": "bell", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.625}},
+ "mallet/marimba": {"type": "forge", "category": "mallet", "member": "marimba", "recipe": "mallet", "fn": "render", "params": {"style": "note", "bar": "marimba", "f0": 392.0, "decay": 1.6, "slope": 0.3, "hard": 0.45, "strike": -16.89, "beat": 1.747, "onset": 0.004282, "gate": 0.06156, "gate_tau": 0.03, "tilt": 1.4, "pos": 0.18, "contact": 0.003, "body": -14.0, "body_f": 180.0, "hp": 120.0, "lp": 16000.0, "width": 0.3335, "pan": 0.0, "room": 0.1626, "rt": 0.6887, "oct": -60.0, "oct_ratio": 0.5, "jit": 0.4}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["bell", "text"], "notes": "a short dry wooden marimba note (G4)", "meta": {"onset_s": 0.0, "peak_s": 0.0065, "end_s": 0.385, "dur_s": 0.5643, "lufs_m_max": -13.26, "attack_ms": 3.75, "centroid_hz": 504.3, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -4.5, -24.6, -34.1, -35.3, -32.4, -40.3, -48.1, -56.1, -55.0, -57.0]}}, "profile": {"dur_s": 0.332, "attack_ms": 10.0, "t20_ms": 95.0, "t40_ms": 219.0, "centroid_hz": 503.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.9, "glide_st": 0.0, "corr": 0.91}, "audit": {"role": "bell", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.565}},
+ "mallet/flourish": {"type": "forge", "category": "mallet", "member": "flourish", "recipe": "mallet", "fn": "render_run", "params": {"style": "note", "bar": "glock", "f0": 802.3, "decay": 0.06476, "slope": 0.4859, "hard": 0.3246, "strike": -51.63, "beat": 2.417, "onset": 0.00098, "gate": 0.2162, "gate_tau": 0.04794, "tilt": 0.7552, "pos": 0.3692, "contact": 0.00257, "body": -19.32, "body_f": 400.0, "hp": 142.8, "lp": 3000.0, "width": 0.01723, "pan": 0.0, "room": 0.09026, "rt": 0.2059, "oct": -60.0, "oct_ratio": 0.5, "jit": 0.5908, "notes": 3, "step": 0.04412, "swing": 0.06969, "scale": "lydian", "pattern": "arc", "span": 2, "spread": 0.1809, "accent": -4.474, "last_gate": 3.365, "ramp": 0.0}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["bell"], "notes": "a quick three-note chime flourish in an arc, near mono", "meta": {"onset_s": 0.0, "peak_s": 0.0505, "end_s": 0.428, "dur_s": 0.5043, "lufs_m_max": -12.79, "attack_ms": 1.0, "centroid_hz": 952.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-0.3, 0.0, -5.7, -12.4, -19.7, -26.9, -34.6, -40.9, -46.7, -52.2]}}, "profile": {"dur_s": 0.386, "attack_ms": 53.0, "t20_ms": 155.0, "t40_ms": 292.0, "centroid_hz": 975.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.64, "glide_st": 0.0, "corr": 0.98}, "audit": {"role": "bell", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.629}},
+ "mallet/up4": {"type": "forge", "category": "mallet", "member": "up4", "recipe": "mallet", "fn": "render_run", "params": {"style": "note", "bar": "glock", "f0": 1046.5, "decay": 0.6, "slope": 0.9, "hard": 0.5, "strike": -26.0, "beat": 1.2, "onset": 0.004, "gate": 0.12, "gate_tau": 0.03, "tilt": 1.4, "pos": 0.18, "contact": 0.003, "body": -14.0, "body_f": 180.0, "hp": 300.0, "lp": 12000.0, "width": 0.5, "pan": 0.0, "room": 0.1, "rt": 0.3, "oct": -60.0, "oct_ratio": 0.5, "jit": 0.5, "notes": 4, "step": 0.11, "swing": 0.0, "scale": "penta", "pattern": "up", "span": 2, "spread": 0.6, "accent": 2.0, "last_gate": 2.0, "ramp": 0.0}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["bell"], "notes": "four gated chime notes up a pentatonic scale in skips, 110 ms apart, panned note by note", "meta": {"onset_s": 0.0, "peak_s": 0.3355, "end_s": 0.716, "dur_s": 0.7486, "lufs_m_max": -7.39, "attack_ms": 114.25, "centroid_hz": 1974.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-0.7, -1.6, 0.0, -1.5, -0.2, -0.6, -0.3, -0.9, -2.6, -3.7, -5.0, -7.7, -21.6, -34.9, -48.8]}}, "profile": {"dur_s": 0.701, "attack_ms": 339.0, "t20_ms": 270.0, "t40_ms": 347.0, "centroid_hz": 2002.0, "lo150": 0.0, "hi4k": 0.054, "tonal": 0.85, "glide_st": 13.8, "corr": 0.66}, "audit": {"role": "bell", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.586}},
+ "drip/drop": {"type": "forge", "category": "drip", "member": "drop", "recipe": "drip", "fn": "render", "params": {"f0": 306.4, "rise": 8.033, "rtau": 0.00719, "onset": 0.02135, "curve": 2.192, "tau": 0.0411, "h2": 0.09568, "hdec": 1.765, "breath": -22.71, "bq": 6.109, "daughter": -3.0, "d_ratio": 2.271, "d_delay": 0.03833, "click": -40.83, "click_hz": 2300.0, "click_ms": 2.804, "thump": -23.28, "thump_f": 164.8, "hp": 183.0, "lp": 10010.0, "room": 0.2097, "rt": 0.08963, "width": 0.164, "jit": 0.2181}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a water drop: a 306 Hz bubble rising 8 st within 40 ms, soft onset", "meta": {"onset_s": 0.0038, "peak_s": 0.0225, "end_s": 0.271, "dur_s": 0.3341, "lufs_m_max": -12.32, "attack_ms": 7.75, "centroid_hz": 581.4, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -2.2, -12.4, -25.0, -36.3, -46.7, -58.3]}}, "profile": {"dur_s": 0.245, "attack_ms": 18.0, "t20_ms": 112.0, "t40_ms": 199.0, "centroid_hz": 590.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.63, "glide_st": 0.0, "corr": 0.97}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.599}},
+ "drip/bubble": {"type": "forge", "category": "drip", "member": "bubble", "recipe": "drip", "fn": "render", "params": {"f0": 254.5, "rise": 9.767, "rtau": 0.00977, "onset": 0.01237, "curve": 1.123, "tau": 0.03743, "h2": 0.1299, "hdec": 1.755, "breath": -26.28, "bq": 1.0, "daughter": -3.0, "d_ratio": 1.976, "d_delay": 0.02129, "click": -51.96, "click_hz": 7393.0, "click_ms": 0.4349, "thump": -8.339, "thump_f": 155.3, "hp": 148.0, "lp": 5147.0, "room": 0.1926, "rt": 0.1608, "width": 0.297, "jit": 0.7479}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a lower bubble rising 10 st with a daughter bubble", "meta": {"onset_s": 0.0, "peak_s": 0.0145, "end_s": 0.241, "dur_s": 0.2894, "lufs_m_max": -15.05, "attack_ms": 6.25, "centroid_hz": 482.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -7.6, -20.0, -31.0, -42.3, -54.3]}}, "profile": {"dur_s": 0.221, "attack_ms": 15.0, "t20_ms": 94.0, "t40_ms": 186.0, "centroid_hz": 531.0, "lo150": 0.006, "hi4k": 0.0, "tonal": 0.67, "glide_st": 0.9, "corr": 0.91}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.63}},
+ "drip/plink": {"type": "forge", "category": "drip", "member": "plink", "recipe": "drip", "fn": "render", "params": {"f0": 694.6, "rise": 3.332, "rtau": 0.01, "onset": 0.03436, "curve": 0.7727, "tau": 0.03, "h2": 0.1039, "hdec": 2.57, "breath": -24.02, "bq": 1.697, "daughter": -8.628, "d_ratio": 1.607, "d_delay": 0.04, "click": -44.91, "click_hz": 1378.0, "click_ms": 0.5007, "thump": -39.42, "thump_f": 121.8, "hp": 97.33, "lp": 4560.0, "room": 0.07537, "rt": 0.1075, "width": 0.1842, "jit": 0.225}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a small high plink rising 3 st", "meta": {"onset_s": 0.0018, "peak_s": 0.0305, "end_s": 0.213, "dur_s": 0.2565, "lufs_m_max": -13.03, "attack_ms": 22.0, "centroid_hz": 882.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -4.8, -18.6, -34.7, -49.3]}}, "profile": {"dur_s": 0.194, "attack_ms": 29.0, "t20_ms": 83.0, "t40_ms": 145.0, "centroid_hz": 890.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.72, "glide_st": 0.0, "corr": 0.96}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.571}},
+ "drip/bloop": {"type": "forge", "category": "drip", "member": "bloop", "recipe": "drip", "fn": "render", "params": {"f0": 420.0, "rise": 10.0, "rtau": 0.025, "onset": 0.02, "curve": 1.0, "tau": 0.05, "h2": 0.25, "hdec": 1.6, "breath": -10.0, "bq": 3.0, "daughter": -6.0, "d_ratio": 2.2, "d_delay": 0.03, "click": -24.0, "click_hz": 2500.0, "click_ms": 0.6, "thump": -20.0, "thump_f": 120.0, "hp": 80.0, "lp": 6000.0, "room": 0.12, "rt": 0.18, "width": 0.15, "jit": 0.5}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a big drop's slow bloop: ~5 st over 0.1-0.15 s (the audit's drip allowance)", "meta": {"onset_s": 0.0, "peak_s": 0.0305, "end_s": 0.316, "dur_s": 0.3725, "lufs_m_max": -13.9, "attack_ms": 7.25, "centroid_hz": 755.1, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -4.6, -14.6, -22.7, -32.8, -39.9, -49.7, -59.9]}}, "profile": {"dur_s": 0.294, "attack_ms": 25.0, "t20_ms": 118.0, "t40_ms": 232.0, "centroid_hz": 793.0, "lo150": 0.001, "hi4k": 0.001, "tonal": 0.77, "glide_st": 4.1, "corr": 0.96}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.657}},
+ "drip/tiny": {"type": "forge", "category": "drip", "member": "tiny", "recipe": "drip", "fn": "render", "params": {"f0": 1150.0, "rise": 0.9682, "rtau": 0.004, "onset": 0.006, "curve": 1.296, "tau": 0.01727, "h2": 0.3661, "hdec": 1.6, "breath": -2.0, "bq": 3.0, "daughter": -60.0, "d_ratio": 1.8, "d_delay": 0.012, "click": -21.63, "click_hz": 4898.0, "click_ms": 0.6, "thump": -40.0, "thump_f": 120.0, "hp": 200.0, "lp": 12230.0, "room": 0.0, "rt": 0.12, "width": 0.2436, "jit": 0.3}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["pop"], "notes": "a tiny fast droplet at 1.15 kHz, 0.1 s", "meta": {"onset_s": 0.0, "peak_s": 0.0085, "end_s": 0.108, "dur_s": 0.1422, "lufs_m_max": -19.61, "attack_ms": 4.75, "centroid_hz": 1448.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -22.7, -47.5]}}, "profile": {"dur_s": 0.102, "attack_ms": 10.0, "t20_ms": 41.0, "t40_ms": 85.0, "centroid_hz": 1458.0, "lo150": 0.0, "hi4k": 0.022, "tonal": 0.78, "glide_st": 0.0, "corr": 0.94}, "audit": {"role": "pop", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.561}},
+ "shutter/dslr": {"type": "forge", "category": "shutter", "member": "dslr", "recipe": "shutter", "fn": "render", "params": {"gap": 0.0391, "a_db": -23.5, "a_hz": 5537.0, "a_ms": 0.5005, "a_modes": 0.3966, "whirr": -9.218, "whirr_hz": 1085.0, "b_hz": 1433.0, "b_decay": 0.006, "b_noise": -1.243, "b_noise_hz": 1355.0, "b_contact": 0.00221, "body": -20.61, "body_f": 238.2, "body_ms": 19.41, "rattle": -26.17, "rattle_hz": 5575.0, "hp": 92.91, "lp": 5091.0, "room": 0.2557, "rt": 0.2552, "width": 0.1069}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["snap", "click"], "notes": "a camera shutter: latch, 39 ms of curtain travel, the landing on a 1.4 kHz box", "meta": {"onset_s": 0.0005, "peak_s": 0.0415, "end_s": 0.19, "dur_s": 0.2418, "lufs_m_max": -22.49, "attack_ms": 2.0, "centroid_hz": 1085.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -11.3, -23.2, -37.4, -47.8]}}, "profile": {"dur_s": 0.188, "attack_ms": 40.0, "t20_ms": 31.0, "t40_ms": 101.0, "centroid_hz": 1065.0, "lo150": 0.078, "hi4k": 0.021, "tonal": 0.3, "glide_st": -30.7, "corr": 0.97}, "audit": {"role": "snap", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.66}},
+ "shutter/snap": {"type": "forge", "category": "shutter", "member": "snap", "recipe": "shutter", "fn": "render", "params": {"gap": 0.05821, "a_db": -22.88, "a_hz": 3300.0, "a_ms": 2.964, "a_modes": 0.1957, "whirr": -15.59, "whirr_hz": 5000.0, "b_hz": 2037.0, "b_decay": 0.004, "b_noise": -2.783, "b_noise_hz": 2530.0, "b_contact": 0.00031, "body": -10.33, "body_f": 156.8, "body_ms": 5.495, "rattle": -48.36, "rattle_hz": 2581.0, "hp": 173.8, "lp": 9437.0, "room": 0.01662, "rt": 0.0526, "width": 0.234}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["snap", "click"], "notes": "a dry, bright 2 kHz snap-zoom shutter", "meta": {"onset_s": 0.0, "peak_s": 0.0615, "end_s": 0.098, "dur_s": 0.137, "lufs_m_max": -23.37, "attack_ms": 0.75, "centroid_hz": 2839.6, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-9.4, 0.0, -55.5]}}, "profile": {"dur_s": 0.093, "attack_ms": 54.0, "t20_ms": 15.0, "t40_ms": 28.0, "centroid_hz": 2767.0, "lo150": 0.017, "hi4k": 0.2, "tonal": 0.42, "glide_st": -56.2, "corr": 0.95}, "audit": {"role": "snap", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.693}},
+ "shutter/mirror": {"type": "forge", "category": "shutter", "member": "mirror", "recipe": "shutter", "fn": "render", "params": {"gap": 0.06462, "a_db": -18.51, "a_hz": 8113.0, "a_ms": 0.5578, "a_modes": 0.1115, "whirr": -6.0, "whirr_hz": 688.7, "b_hz": 1511.0, "b_decay": 0.00622, "b_noise": 0.0, "b_noise_hz": 1468.0, "b_contact": 0.003, "body": -33.33, "body_f": 300.0, "body_ms": 22.0, "rattle": -26.59, "rattle_hz": 7000.0, "hp": 128.8, "lp": 6009.0, "room": 0.3, "rt": 0.374, "width": 0.09233}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["snap"], "notes": "a slower mirror-box shutter with an audible travel", "meta": {"onset_s": 0.0015, "peak_s": 0.0675, "end_s": 0.285, "dur_s": 0.3307, "lufs_m_max": -20.39, "attack_ms": 2.25, "centroid_hz": 1185.3, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-0.3, 0.0, -14.5, -23.4, -33.8, -41.1, -50.0]}}, "profile": {"dur_s": 0.26, "attack_ms": 65.0, "t20_ms": 50.0, "t40_ms": 155.0, "centroid_hz": 1218.0, "lo150": 0.018, "hi4k": 0.012, "tonal": 0.38, "glide_st": 16.4, "corr": 0.97}, "audit": {"role": "snap", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.658}},
+ "shutter/film": {"type": "forge", "category": "shutter", "member": "film", "recipe": "shutter", "fn": "render", "params": {"gap": 0.095, "a_db": -12.29, "a_hz": 4200.0, "a_ms": 0.9, "a_modes": 0.5, "whirr": -14.0, "whirr_hz": 900.0, "b_hz": 720.0, "b_decay": 0.01103, "b_noise": -7.79, "b_noise_hz": 600.0, "b_contact": 0.001728, "body": -12.0, "body_f": 112.7, "body_ms": 26.32, "rattle": -24.0, "rattle_hz": 4200.0, "hp": 84.56, "lp": 6500.0, "room": 0.3, "rt": 0.2, "width": 0.08}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["snap"], "notes": "a heavier film camera: a dark box after 95 ms of travel, the body's thump, a spring rattle", "meta": {"onset_s": 0.0, "peak_s": 0.0995, "end_s": 0.256, "dur_s": 0.2835, "lufs_m_max": -19.15, "attack_ms": 1.75, "centroid_hz": 638.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-11.5, -2.9, 0.0, -18.7, -31.7, -47.9]}}, "profile": {"dur_s": 0.248, "attack_ms": 86.0, "t20_ms": 54.0, "t40_ms": 127.0, "centroid_hz": 625.0, "lo150": 0.197, "hi4k": 0.001, "tonal": 0.42, "glide_st": -34.2, "corr": 0.98}, "audit": {"role": "snap", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.637}},
+ "shutter/quick": {"type": "forge", "category": "shutter", "member": "quick", "recipe": "shutter", "fn": "render", "params": {"gap": 0.021, "a_db": -4.0, "a_hz": 3800.0, "a_ms": 0.2281, "a_modes": 0.4098, "whirr": -40.0, "whirr_hz": 1800.0, "b_hz": 1250.0, "b_decay": 0.008, "b_noise": -6.0, "b_noise_hz": 2200.0, "b_contact": 0.001477, "body": -17.09, "body_f": 199.6, "body_ms": 8.0, "rattle": -50.0, "rattle_hz": 3500.0, "hp": 150.0, "lp": 9000.0, "room": 0.09189, "rt": 0.2138, "width": 0.1}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["snap", "click"], "notes": "a quick double click: release and curtain 21 ms apart", "meta": {"onset_s": 0.0, "peak_s": 0.0235, "end_s": 0.121, "dur_s": 0.16, "lufs_m_max": -23.2, "attack_ms": 1.0, "centroid_hz": 2169.1, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -26.5, -40.5]}}, "profile": {"dur_s": 0.115, "attack_ms": 25.0, "t20_ms": 17.0, "t40_ms": 72.0, "centroid_hz": 1586.0, "lo150": 0.024, "hi4k": 0.037, "tonal": 0.33, "glide_st": -29.0, "corr": 0.99}, "audit": {"role": "snap", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.705}},
+ "notify/mid_tine": {"type": "forge", "category": "notify", "member": "mid_tine", "recipe": "notify", "fn": "render", "params": {"style": "chime", "f0": 830.61, "att": 0.00316, "step_db": -30.0, "hold": 0.032, "hold_tau": 0.15, "drop_db": -24.0, "drop_ms": 5.0, "ring_tau": 0.05, "bright": 0.35, "p2": 3.42, "oct": 0.06, "detune": 0.9, "tick_db": -30.0, "tick_f": 7000.0, "body_db": -23.0, "body_ratio": 0.5, "body_in": 0.012, "body_tau": 0.3, "body_p3": 0.45, "body_p7": 0.6, "trem_hz": 24.0, "trem": 0.55, "drive": 0.0, "verb": 0.255, "rt60": 0.358, "width": 0.313, "head_width": 0.15, "length": 0.425, "fade": 0.0435, "hp": 135.6, "interval": 7, "gap": 0.085, "second_db": -2.0, "partials": "celesta", "decay": 0.8, "slope": 0.8, "hard": 0.4, "beat": 1.0, "room": 0.12, "early_db": 0.0, "early_tau": 0.05, "strike": -60.0, "strike_tau": 0.015, "head_drive": -1.0, "air": -60.0, "air_tau": 0.06, "p3": 0.0, "p3_tau": 0.02, "strike_max": 20.0, "air_lo": 0.0, "mat": "tine", "c_fast": 0.623, "c_tf": 0.0187, "c_ts": 0.0623, "c_mallet": -59.0, "c_hard": 1.0, "c_bend": 18.8, "c_sub": 0.45, "c_motif": "single", "c_index": 1.655, "c_itau": 0.0097, "ring": 0.82, "soft": 0.049, "bell_len": 0.0}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["click.confirm", "bell"], "notes": "a rounded mid ding: a felt-struck tine over its octave (690 Hz, 32 ms onset)", "meta": {"onset_s": 0.0035, "peak_s": 0.0385, "end_s": 0.319, "dur_s": 0.425, "lufs_m_max": -14.46, "attack_ms": 20.25, "centroid_hz": 689.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -3.5, -16.7, -24.3, -32.7, -38.2, -47.7, -56.8]}}, "profile": {"dur_s": 0.29, "attack_ms": 32.0, "t20_ms": 88.0, "t40_ms": 233.0, "centroid_hz": 686.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.61, "glide_st": 0.0, "corr": 0.94}, "audit": {"role": "click.confirm", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.626}},
+ "notify/mid_wood": {"type": "forge", "category": "notify", "member": "mid_wood", "recipe": "notify", "fn": "render", "params": {"style": "chime", "f0": 880.0, "att": 0.00814, "step_db": -30.0, "hold": 0.032, "hold_tau": 0.15, "drop_db": -24.0, "drop_ms": 5.0, "ring_tau": 0.05, "bright": 0.35, "p2": 3.42, "oct": 0.06, "detune": 1.68, "tick_db": -30.0, "tick_f": 7000.0, "body_db": -23.0, "body_ratio": 0.5, "body_in": 0.012, "body_tau": 0.3, "body_p3": 0.45, "body_p7": 0.6, "trem_hz": 24.0, "trem": 0.55, "drive": 0.0, "verb": 0.35, "rt60": 0.363, "width": 0.229, "head_width": 0.15, "length": 0.317, "fade": 0.0613, "hp": 254.7, "interval": 7, "gap": 0.085, "second_db": -2.0, "partials": "celesta", "decay": 0.8, "slope": 0.8, "hard": 0.4, "beat": 1.0, "room": 0.12, "early_db": 0.0, "early_tau": 0.05, "strike": -60.0, "strike_tau": 0.015, "head_drive": -1.0, "air": -60.0, "air_tau": 0.06, "p3": 0.0, "p3_tau": 0.02, "strike_max": 20.0, "air_lo": 0.0, "mat": "wood", "c_fast": 0.596, "c_tf": 0.0291, "c_ts": 0.077, "c_mallet": -25.3, "c_hard": 0.058, "c_bend": 22.9, "c_sub": 0.45, "c_motif": "single", "c_index": 4.38, "c_itau": 0.0064, "ring": 0.65, "soft": 0.047, "bell_len": 0.0}, "seed": 1, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["click.confirm", "bell"], "notes": "a soft wooden bar with its octave body, a step higher", "meta": {"onset_s": 0.0045, "peak_s": 0.0385, "end_s": 0.294, "dur_s": 0.317, "lufs_m_max": -13.45, "attack_ms": 22.25, "centroid_hz": 704.0, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -1.4, -8.6, -19.6, -30.3, -38.1]}}, "profile": {"dur_s": 0.283, "attack_ms": 32.0, "t20_ms": 126.0, "t40_ms": 235.0, "centroid_hz": 697.0, "lo150": 0.0, "hi4k": 0.0, "tonal": 0.57, "glide_st": -12.0, "corr": 0.91}, "audit": {"role": "click.confirm", "seeds": [1, 6], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.624}},
+ "whoosh_big/thump": {"type": "forge", "category": "whoosh_big", "member": "thump", "recipe": "thump", "fn": "render", "params": {"rise": 0.13, "rise_k": 1.266, "hold": 0.01, "fall": 0.55, "fall_k": 1.6, "start_db": -34.0, "track": 0.871, "f_peak": 200.0, "up_oct": 2.118, "down_oct": 1.68, "dop_st": 2.0, "dop_w": 0.06, "q_air": 1.0, "lp_ratio": 4.211, "flut_depth": 0.26, "flut_f": 10.37, "rustle": 0.0, "rustle_f": 90.0, "low_db": -22.24, "low_f": 283.6, "low_smooth": 0.03, "sub_db": -14.85, "sub_f": 59.26, "sub_glide": 0.8055, "sub_drive": 1.462, "hiss_db": -15.21, "hiss_hp": 3308.0, "hiss_open": 0.8, "hiss_pow": 1.3, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -50.0, "grain_rate": 300.0, "grain_f": 3000.0, "room_wet": 0.15, "rt60": 0.3, "pan": 0.05, "width": 0.4326, "drive_db": 2.5, "end_db": -64.0, "end_fade": 0.08, "hiss_tail": null, "hiss_mfloor": 0.0, "room_damp": 0.45, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "eq_lo_db": 0.0, "eq_lo_f": 150.0, "eq_hi_db": 0.0, "eq_hi_f": 4000.0, "hiss_pre": null, "hiss_width": 0.0, "low_width": 0.0, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.6, "tail_gust": 0.0, "thump_db": -6.0, "thump_f0": 120.0, "thump_f1": 70.85, "thump_tau": 0.12, "thump_lead": 0.01}, "seed": 4201, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.long"], "notes": "a big low whoosh that lands with a thump (~80 ms in, rings ~0.35 s)", "meta": {"onset_s": 0.0462, "peak_s": 0.1375, "end_s": 0.88, "dur_s": 1.03, "lufs_m_max": -14.32, "attack_ms": 1.0, "centroid_hz": 267.5, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-28.0, -9.3, 0.0, -0.1, -3.1, -3.9, -4.1, -9.3, -13.1, -13.6, -19.2, -22.3, -26.5, -28.9, -30.4, -36.8, -39.3, -45.4, -52.7, -56.0]}}, "profile": {"dur_s": 0.8, "attack_ms": 84.0, "t20_ms": 346.0, "t40_ms": 588.0, "centroid_hz": 269.0, "lo150": 0.64, "hi4k": 0.015, "tonal": 0.39, "glide_st": 7.0, "corr": 0.93}, "audit": {"role": "whoosh.long", "seeds": [4201, 4206], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.531}},
+ "whoosh_big/thump_deep": {"type": "forge", "category": "whoosh_big", "member": "thump_deep", "recipe": "thump", "fn": "render", "params": {"rise": 0.1401, "rise_k": 0.8922, "hold": 0.01, "fall": 0.75, "fall_k": 1.761, "start_db": -34.0, "track": 0.9656, "f_peak": 150.0, "up_oct": 2.965, "down_oct": 1.4, "dop_st": 2.0, "dop_w": 0.06, "q_air": 1.343, "lp_ratio": 1.959, "flut_depth": 0.06493, "flut_f": 22.93, "rustle": 0.0, "rustle_f": 90.0, "low_db": -17.48, "low_f": 241.1, "low_smooth": 0.03, "sub_db": -20.64, "sub_f": 44.0, "sub_glide": 0.8703, "sub_drive": 0.9437, "hiss_db": -15.95, "hiss_hp": 4168.0, "hiss_open": 0.8, "hiss_pow": 1.3, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -50.0, "grain_rate": 300.0, "grain_f": 3000.0, "room_wet": 0.2214, "rt60": 0.8878, "pan": 0.05, "width": 0.2907, "drive_db": 5.561, "end_db": -64.0, "end_fade": 0.08, "hiss_tail": null, "hiss_mfloor": 0.0, "room_damp": 0.45, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "eq_lo_db": 0.0, "eq_lo_f": 150.0, "eq_hi_db": 0.0, "eq_hi_f": 4000.0, "hiss_pre": null, "hiss_width": 0.0, "low_width": 0.0, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.6, "tail_gust": 0.0, "thump_db": -9.0, "thump_f0": 92.21, "thump_f1": 41.61, "thump_tau": 0.1913, "thump_lead": 1e-05}, "seed": 4202, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.long"], "notes": "the thump-whoosh, deeper and longer", "meta": {"onset_s": 0.0658, "peak_s": 0.1645, "end_s": 1.255, "dur_s": 1.36, "lufs_m_max": -10.74, "attack_ms": 1.25, "centroid_hz": 335.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-31.8, -27.1, -9.2, -1.6, -2.6, 0.0, -3.3, -2.6, -5.8, -5.3, -11.7, -8.6, -12.0, -11.3, -17.4, -22.0, -26.6, -26.4, -30.9, -34.5, -38.0, -40.7, -41.1, -47.0, -49.1, -51.5, -56.6]}}, "profile": {"dur_s": 1.112, "attack_ms": 139.0, "t20_ms": 404.0, "t40_ms": 729.0, "centroid_hz": 336.0, "lo150": 0.798, "hi4k": 0.029, "tonal": 0.5, "glide_st": 0.0, "corr": 0.93}, "audit": {"role": "whoosh.long", "seeds": [4202, 4207], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.53}},
+ "whoosh_big/thump_airy": {"type": "forge", "category": "whoosh_big", "member": "thump_airy", "recipe": "thump", "fn": "render", "params": {"rise": 0.11, "rise_k": 0.8, "hold": 0.01, "fall": 0.45, "fall_k": 1.6, "start_db": -34.0, "track": 0.7214, "f_peak": 320.0, "up_oct": 2.596, "down_oct": 2.257, "dop_st": 2.0, "dop_w": 0.06, "q_air": 1.52, "lp_ratio": 7.464, "flut_depth": 0.4371, "flut_f": 9.589, "rustle": 0.0, "rustle_f": 90.0, "low_db": -4.037, "low_f": 50.94, "low_smooth": 0.03, "sub_db": -4.72, "sub_f": 57.99, "sub_glide": 0.4, "sub_drive": 1.0, "hiss_db": -20.0, "hiss_hp": 5687.0, "hiss_open": 0.8, "hiss_pow": 1.3, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -50.0, "grain_rate": 300.0, "grain_f": 3000.0, "room_wet": 0.15, "rt60": 0.7, "pan": 0.05, "width": 0.2, "drive_db": 6.444, "end_db": -64.0, "end_fade": 0.08, "hiss_tail": null, "hiss_mfloor": 0.0, "room_damp": 0.45, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "eq_lo_db": 0.0, "eq_lo_f": 150.0, "eq_hi_db": 0.0, "eq_hi_f": 4000.0, "hiss_pre": null, "hiss_width": 0.0, "low_width": 0.0, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.6, "tail_gust": 0.0, "thump_db": -12.0, "thump_f0": 115.4, "thump_f1": 45.69, "thump_tau": 0.06806, "thump_lead": 0.01}, "seed": 4203, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.long"], "notes": "the thump-whoosh, airier", "meta": {"onset_s": 0.0168, "peak_s": 0.1535, "end_s": 0.798, "dur_s": 0.915, "lufs_m_max": -12.3, "attack_ms": 5.25, "centroid_hz": 219.9, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-24.6, -13.5, -0.9, 0.0, -2.5, -2.0, -6.9, -7.3, -11.6, -15.1, -20.7, -28.3, -32.8, -36.8, -41.4, -45.6, -52.9]}}, "profile": {"dur_s": 0.748, "attack_ms": 83.0, "t20_ms": 343.0, "t40_ms": 495.0, "centroid_hz": 220.0, "lo150": 0.625, "hi4k": 0.006, "tonal": 0.4, "glide_st": -3.2, "corr": 0.97}, "audit": {"role": "whoosh.long", "seeds": [4203, 4208], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.581}},
+ "riser/dark": {"type": "forge", "category": "riser", "member": "dark", "recipe": "darkriser", "fn": "render", "params": {"length": 0.74, "start_db": 41.86, "curve": 1.378, "tail_tau": 0.02767, "body_f0": 148.4, "body_f1": 502.3, "body_q": 1.136, "sub_f": 47.85, "sub_db": -10.93, "sub_drive": 0.7114, "crackle_db": -50.0, "crackle_rate": 134.9, "crackle_hp": 3039.0, "gate_at": 0.7039, "gate_f0": 7.817, "gate_f1": 19.91, "gate_depth": 0.8088, "duty": 0.3958, "width": 0.2022, "room": 0.2256}, "seed": 4401, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["riser"], "notes": "a short dark riser (noise, sub, a speeding stutter), no synth sweep", "meta": {"onset_s": 0.1345, "peak_s": 0.6965, "end_s": 0.943, "dur_s": 0.9511, "lufs_m_max": -16.4, "attack_ms": 6.0, "centroid_hz": 451.2, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-35.0, -31.0, -25.8, -24.4, -17.7, -13.9, -12.3, -9.7, -5.6, -2.8, -2.5, -11.9, -2.3, -0.4, 0.0, -1.5, -16.5, -27.8, -36.9]}}, "profile": {"dur_s": 0.806, "attack_ms": 417.0, "t20_ms": 117.0, "t40_ms": 217.0, "centroid_hz": 452.0, "lo150": 0.124, "hi4k": 0.003, "tonal": 0.41, "glide_st": 20.4, "corr": 0.98}, "audit": {"role": "riser", "seeds": [4401, 4406], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.583}},
+ "riser/build": {"type": "forge", "category": "riser", "member": "build", "recipe": "darkriser", "fn": "render", "params": {"length": 1.2, "start_db": 44.04, "curve": 0.8445, "tail_tau": 0.07787, "body_f0": 94.27, "body_f1": 150.0, "body_q": 2.0, "sub_f": 33.58, "sub_db": 3.405, "sub_drive": 1.116, "crackle_db": -6.0, "crackle_rate": 112.1, "crackle_hp": 9000.0, "gate_at": 0.2, "gate_f0": 6.657, "gate_f1": 12.49, "gate_depth": 0.75, "duty": 0.5742, "width": 0.0, "room": 0.1399}, "seed": 4402, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["riser"], "notes": "a sub-heavy build with crackle and a speeding gate (1.1 s)", "meta": {"onset_s": 0.5032, "peak_s": 1.2015, "end_s": 1.664, "dur_s": 1.7579, "lufs_m_max": -15.22, "attack_ms": 5.75, "centroid_hz": 930.5, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-41.2, -38.2, -37.6, -37.1, -34.2, -38.8, -42.9, -32.4, -38.0, -37.8, -27.5, -35.4, -24.7, -26.8, -25.1, -20.6, -20.6, -18.4, -16.2, -12.9, -10.0, -11.1, -4.7, -5.7, 0.0, -6.4, -9.1, -17.0, -21.6, -27.2, -33.7, -38.3, -43.8, -50.4, -55.2]}}, "profile": {"dur_s": 1.12, "attack_ms": 465.0, "t20_ms": 142.0, "t40_ms": 348.0, "centroid_hz": 919.0, "lo150": 0.827, "hi4k": 0.065, "tonal": 0.42, "glide_st": 5.8, "corr": 1.0}, "audit": {"role": "riser", "seeds": [4402, 4407], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.542}},
+ "riser/snatch": {"type": "forge", "category": "riser", "member": "snatch", "recipe": "darkriser", "fn": "render", "params": {"length": 0.45, "start_db": 24.0, "curve": 3.108, "tail_tau": 0.02393, "body_f0": 279.2, "body_f1": 373.3, "body_q": 2.0, "sub_f": 37.65, "sub_db": -13.57, "sub_drive": 1.628, "crackle_db": -22.68, "crackle_rate": 20.44, "crackle_hp": 4463.0, "gate_at": 0.337, "gate_f0": 7.732, "gate_f1": 45.0, "gate_depth": 0.2926, "duty": 0.3132, "width": 0.0431, "room": 0.2851}, "seed": 4403, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["riser"], "notes": "a half-second stutter snatch into a cut", "meta": {"onset_s": 0.0038, "peak_s": 0.3855, "end_s": 0.63, "dur_s": 0.6353, "lufs_m_max": -11.85, "attack_ms": 6.5, "centroid_hz": 463.0, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-18.9, -11.7, -7.9, -5.8, -3.2, -1.9, -0.8, 0.0, -1.6, -3.4, -19.0, -26.6, -37.5]}}, "profile": {"dur_s": 0.626, "attack_ms": 343.0, "t20_ms": 121.0, "t40_ms": 228.0, "centroid_hz": 463.0, "lo150": 0.121, "hi4k": 0.01, "tonal": 0.4, "glide_st": 24.0, "corr": 1.0}, "audit": {"role": "riser", "seeds": [4403, 4408], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.608}},
+ "swish/bright": {"type": "forge", "category": "swish", "member": "bright", "recipe": "brightswish", "fn": "render", "params": {"rise": 0.13, "rise_k": 0.9287, "hold": 0.05657, "fall": 0.07, "fall_k": 1.127, "start_db": -32.0, "track": 0.6361, "f_peak": 2300.0, "up_oct": 1.004, "down_oct": 2.161, "dop_st": 3.0, "dop_w": 0.03, "q_air": 2.813, "lp_ratio": 2.6, "flut_depth": 0.3016, "flut_f": 33.74, "rustle": 0.0, "rustle_f": 90.0, "low_db": -40.0, "low_f": 170.0, "low_smooth": 0.04, "sub_db": -50.0, "sub_f": 60.0, "sub_glide": 0.3, "sub_drive": 0.5, "hiss_db": -3.588, "hiss_hp": 2054.0, "hiss_open": 1.037, "hiss_pow": 1.567, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -50.0, "grain_rate": 2789.0, "grain_f": 2753.0, "room_wet": 0.0, "rt60": 0.4884, "pan": 0.1457, "width": 0.4008, "drive_db": 1.0, "end_db": -62.0, "end_fade": 0.03, "eq_lo_db": -10.06, "eq_lo_f": 300.0, "eq_hi_db": -12.75, "eq_hi_f": 6000.0, "room_damp": 0.3, "hiss_tail": null, "hiss_mfloor": 0.0, "hiss_pre": null, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.8, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "hiss_width": 0.7457, "low_width": 0.0, "tail_gust": 0.0, "comb_mix": 0.0, "comb_f0": 327.0, "comb_f1": 66.57, "comb_fb": 0.5578}, "seed": 4501, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.short"], "notes": "a bright (~2.4 kHz) quick swish", "meta": {"onset_s": 0.0068, "peak_s": 0.1555, "end_s": 0.299, "dur_s": 0.345, "lufs_m_max": -12.41, "attack_ms": 38.5, "centroid_hz": 2420.0, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-22.8, -10.4, -1.8, 0.0, -6.5, -32.5, -55.7]}}, "profile": {"dur_s": 0.271, "attack_ms": 98.0, "t20_ms": 88.0, "t40_ms": 121.0, "centroid_hz": 2424.0, "lo150": 0.0, "hi4k": 0.077, "tonal": 0.47, "glide_st": -10.9, "corr": 0.81}, "audit": {"role": "whoosh.short", "seeds": [4501, 4506], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.606}},
+ "swish/flick": {"type": "forge", "category": "swish", "member": "flick", "recipe": "brightswish", "fn": "render", "params": {"rise": 0.09435, "rise_k": 0.45, "hold": 0.0, "fall": 0.03, "fall_k": 1.335, "start_db": -32.0, "track": 0.7737, "f_peak": 800.3, "up_oct": 1.338, "down_oct": 3.046, "dop_st": 2.201, "dop_w": 0.03, "q_air": 0.6, "lp_ratio": 2.779, "flut_depth": 0.524, "flut_f": 44.69, "rustle": 0.0, "rustle_f": 90.0, "low_db": -40.0, "low_f": 170.0, "low_smooth": 0.04, "sub_db": -50.0, "sub_f": 60.0, "sub_glide": 0.3, "sub_drive": 0.5, "hiss_db": -2.058, "hiss_hp": 3720.0, "hiss_open": 0.7442, "hiss_pow": 1.669, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -50.0, "grain_rate": 381.1, "grain_f": 3588.0, "room_wet": 0.06281, "rt60": 0.307, "pan": 0.05213, "width": 0.5124, "drive_db": 1.0, "end_db": -62.0, "end_fade": 0.02, "eq_lo_db": -12.61, "eq_lo_f": 300.0, "eq_hi_db": 0.8779, "eq_hi_f": 6000.0, "room_damp": 0.3, "hiss_tail": null, "hiss_mfloor": 0.0, "hiss_pre": null, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.8, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "hiss_width": 1.0, "low_width": 0.0, "tail_gust": 0.0, "comb_mix": 0.3188, "comb_f0": 4000.0, "comb_f1": 99.3, "comb_fb": 0.4513}, "seed": 4502, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.short"], "notes": "a high flick that rises and stops dead, wide", "meta": {"onset_s": 0.0015, "peak_s": 0.1105, "end_s": 0.255, "dur_s": 0.32, "lufs_m_max": -19.11, "attack_ms": 6.5, "centroid_hz": 4265.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-25.5, -7.3, 0.0, -25.2, -36.7, -49.7]}}, "profile": {"dur_s": 0.21, "attack_ms": 36.0, "t20_ms": 18.0, "t40_ms": 101.0, "centroid_hz": 4296.0, "lo150": 0.003, "hi4k": 0.51, "tonal": 0.19, "glide_st": -4.8, "corr": 0.2}, "audit": {"role": "whoosh.short", "seeds": [4502, 4507], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.702}},
+ "whoosh_fast/whip": {"type": "forge", "category": "whoosh_fast", "member": "whip", "recipe": "brightswish", "fn": "render", "params": {"rise": 0.02, "rise_k": 0.7391, "hold": 0.05657, "fall": 0.5, "fall_k": 1.127, "start_db": -30.0, "track": 1.071, "f_peak": 4000.0, "up_oct": 0.2647, "down_oct": 3.5, "dop_st": 10.95, "dop_w": 0.05, "q_air": 3.505, "lp_ratio": 1.2, "flut_depth": 0.6, "flut_f": 25.21, "rustle": 0.0, "rustle_f": 90.0, "low_db": -40.0, "low_f": 170.0, "low_smooth": 0.04, "sub_db": -50.0, "sub_f": 60.0, "sub_glide": 0.3, "sub_drive": 0.5, "hiss_db": 0.0, "hiss_hp": 1807.0, "hiss_open": 0.0, "hiss_pow": 1.51, "tone_db": -50.0, "tone_q": 20.0, "tone_ratio": 1.7, "tone_pure": 0.0, "grain_db": -46.8, "grain_rate": 50.0, "grain_f": 5843.0, "room_wet": 0.03593, "rt60": 0.6411, "pan": 0.2634, "width": 0.6, "drive_db": 1.0, "end_db": -60.0, "end_fade": 0.06, "eq_lo_db": -15.23, "eq_lo_f": 300.0, "eq_hi_db": 1.169, "eq_hi_f": 6000.0, "room_damp": 0.3, "hiss_tail": 1.0, "hiss_mfloor": 0.0, "hiss_pre": null, "tail_sweep": 0.0, "tail_tau": 0.25, "hiss_q": 0.8, "low_lag": 0.0, "hiss_rustle": 0.0, "hiss_lo": null, "hiss_width": 1.0, "low_width": 0.0, "tail_gust": 0.0, "comb_mix": 1.0, "comb_f0": 1464.0, "comb_f1": 40.0, "comb_fb": 0.7323}, "seed": 4503, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["whoosh.short"], "notes": "a designed bright whip: a wide ring that falls", "meta": {"onset_s": 0.0048, "peak_s": 0.1155, "end_s": 0.862, "dur_s": 0.91, "lufs_m_max": -14.07, "attack_ms": 17.5, "centroid_hz": 2558.3, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-0.1, -0.2, 0.0, -8.4, -2.6, -9.1, -11.5, -12.8, -24.3, -19.7, -27.6, -33.7, -35.4, -42.1, -42.2, -41.9, -43.7, -46.3]}}, "profile": {"dur_s": 0.765, "attack_ms": 106.0, "t20_ms": 264.0, "t40_ms": 454.0, "centroid_hz": 2550.0, "lo150": 0.0, "hi4k": 0.091, "tonal": 0.47, "glide_st": -42.6, "corr": 0.27}, "audit": {"role": "whoosh.short", "seeds": [4503, 4508], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.629}},
+ "glitch/burst": {"type": "forge", "category": "glitch", "member": "burst", "recipe": "burstglitch", "fn": "render", "params": {"dur": 0.726, "crackle": 0.4906, "crackle_db": -35.95, "crackle_rate": 579.1, "crackle_hp": 7237.0, "grid0": 0.0229, "grid1": 0.02146, "accel": 1.588, "gate": 0.6991, "decay": 0.4964, "accent_db": 3.442, "fall_db": -12.0, "lvl_jit": 7.164, "bits": 7.138, "srate": 5507.0, "tonal": 0.02252, "tone_f": 3311.0, "repeat": 0.5548, "lo_f": 5000.0, "hi_f": 16990.0, "width": 1.0, "low_db": -40.98, "low_f": 156.6, "end_tail": 0.02849, "pattern": 17}, "seed": 4601, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["glitch"], "notes": "crackle, then bright bursts that hit first and speed up", "meta": {"onset_s": 0.3558, "peak_s": 0.3615, "end_s": 0.726, "dur_s": 0.8685, "lufs_m_max": -22.32, "attack_ms": 4.25, "centroid_hz": 8244.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-50.3, -42.3, -42.7, -39.2, -37.1, -36.9, -35.0, 0.0, -3.2, -7.4, -8.3, -13.9, -22.0, -12.7, -30.5]}}, "profile": {"dur_s": 0.371, "attack_ms": 10.0, "t20_ms": 120.0, "t40_ms": 358.0, "centroid_hz": 8250.0, "lo150": 0.002, "hi4k": 0.837, "tonal": 0.48, "glide_st": -70.5, "corr": 0.05}, "audit": {"role": "glitch", "seeds": [4601, 4606], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.714}},
+ "glitch/mid": {"type": "forge", "category": "glitch", "member": "mid", "recipe": "burstglitch", "fn": "render", "params": {"dur": 0.2159, "crackle": 0.1444, "crackle_db": -32.74, "crackle_rate": 40.0, "crackle_hp": 3000.0, "grid0": 0.03, "grid1": 0.01798, "accel": 0.8936, "gate": 0.6, "decay": 0.7133, "accent_db": 3.068, "fall_db": -4.756, "lvl_jit": 2.992, "bits": 6.225, "srate": 8000.0, "tonal": 0.2935, "tone_f": 636.8, "repeat": 0.371, "lo_f": 150.0, "hi_f": 2764.0, "width": 0.1, "low_db": -50.0, "low_f": 150.0, "end_tail": 0.005826, "pattern": 5}, "seed": 4602, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["glitch"], "notes": "a short mid glitch that hits first", "meta": {"onset_s": 0.0305, "peak_s": 0.0385, "end_s": 0.22, "dur_s": 0.245, "lufs_m_max": -18.87, "attack_ms": 6.0, "centroid_hz": 1078.7, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [0.0, -2.3, -4.9, -9.3, -28.5]}}, "profile": {"dur_s": 0.195, "attack_ms": 11.0, "t20_ms": 19.0, "t40_ms": 183.0, "centroid_hz": 1079.0, "lo150": 0.003, "hi4k": 0.011, "tonal": 0.51, "glide_st": -0.5, "corr": 0.89}, "audit": {"role": "glitch", "seeds": [4602, 4607], "clean": 5, "warnings": ["ring"]}, "original": {"made": "recipe", "max_ref_clap": 0.75}},
+ "glitch/chirp": {"type": "forge", "category": "glitch", "member": "chirp", "recipe": "burstglitch", "fn": "render", "params": {"dur": 0.2788, "crackle": 0.2608, "crackle_db": -45.0, "crackle_rate": 94.3, "crackle_hp": 1734.0, "grid0": 0.03896, "grid1": 0.009084, "accel": 0.7294, "gate": 0.7683, "decay": 1.285, "accent_db": 6.973, "fall_db": -9.256, "lvl_jit": 2.413, "bits": 4.329, "srate": 6357.0, "tonal": 0.85, "tone_f": 446.1, "repeat": 0.2995, "lo_f": 459.1, "hi_f": 6342.0, "width": 0.7961, "low_db": -50.0, "low_f": 150.0, "end_tail": 0.02571, "pattern": 29}, "seed": 4603, "peak_db": -1.0, "gain_db": 0.0, "kinds": ["glitch"], "notes": "a pitched data-chirp stutter that hits first", "meta": {"onset_s": 0.072, "peak_s": 0.0765, "end_s": 0.283, "dur_s": 0.4073, "lufs_m_max": -17.98, "attack_ms": 1.75, "centroid_hz": 1117.8, "channels": 2, "fp": {"hop_s": 0.05, "env_db": [-63.6, 0.0, -7.5, -13.0, -15.8, -22.7]}}, "profile": {"dur_s": 0.217, "attack_ms": 11.0, "t20_ms": 61.0, "t40_ms": 205.0, "centroid_hz": 1118.0, "lo150": 0.0, "hi4k": 0.034, "tonal": 0.55, "glide_st": 0.5, "corr": 0.87}, "audit": {"role": "glitch", "seeds": [4603, 4608], "clean": 6, "warnings": []}, "original": {"made": "recipe", "max_ref_clap": 0.688}}
+ }
+}
diff --git a/earshot/forge/sfx.py b/earshot/forge/sfx.py
index 0959fe3..2f0af95 100644
--- a/earshot/forge/sfx.py
+++ b/earshot/forge/sfx.py
@@ -28,7 +28,9 @@
swap), and reports the largest climb of the 5-frame median above its running minimum. Measured on
the 183 forge v2 finals: it flags pro_zip up / up_hi / arc (+20..64 st), the zip and sweep leads of
logo_sting zip_ping and pro_logo_sting sweep_hit (+25, +29 st), and the bubbles pop/2 and pro_pop
- bloop (+6 st over 55-75 ms, a physical bubble); falling sweeps and steady bells read 0.
+ bloop (+6 st over 55-75 ms, a physical bubble); falling sweeps and steady bells read 0. For the
+ drip category a climb a bubble makes (recipes/drip.allows: at most 14 st, starting within the first
+ 60 ms, done within 250 ms) is a note, not a warning: a drop's pitch rises by design (earshot 0.4)
stacked, for a hit (role hit / land): layers() counts separate attacks in a 25 ms RMS envelope (peaks within
pre_swell 6 dB of the loudest, at least 10 dB of dip between them, in the first 0.5 s) and the pre-swell (from
the first frame within 30 dB of the peak to the first within 6 dB): two attacks, or more than
@@ -161,6 +163,12 @@ def live_ms(x, db=-40.0):
return float((e >= e.max() * 10 ** (db / 10)).sum() * 1000.0 * h / SR)
+def _bubble(glide):
+ """a climb a water drop's bubble makes (earshot.forge.recipes.drip.allows): the drip category's allowance"""
+ from .recipes import drip
+ return drip.allows(glide)
+
+
def _ends_on_peak(x):
m = np.abs(_mono(x))
return len(m) > 0 and int(np.argmax(m)) >= 0.97 * len(m)
@@ -208,8 +216,11 @@ def check(x, sr=SR, category=None, role=None, sound=None):
add('tail', f"the tail rises again by {m['bump_db']:.0f} dB (a second event, a roll or a double member)",
soft=True)
if g['rise_st'] > GLIDE_ST and (g['to_s'] - g['from_s']) >= GLIDE_MIN_S:
+ bubble = category == 'drip' and _bubble(g)
add('rising_glide', f"pitch climbs {g['rise_st']:.0f} semitones over {1000 * (g['to_s'] - g['from_s']):.0f} "
- f"ms ({g['from_s']:.2f}-{g['to_s']:.2f} s): a rising synth whip reads as cheap")
+ f"ms ({g['from_s']:.2f}-{g['to_s']:.2f} s)" + (
+ ': a bubble rising (drip allowance)' if bubble else
+ ': a rising synth whip reads as cheap'), soft=bubble)
hit = role in HIT_ROLES
if hit or category in HIT_CATEGORIES:
if lay['count'] >= 2:
diff --git a/tests/test_bank.py b/tests/test_bank.py
index 8ff234b..0ab8fea 100644
--- a/tests/test_bank.py
+++ b/tests/test_bank.py
@@ -9,6 +9,7 @@ import pytest
import soundfile as sf
from earshot.forge import bank, knobs
+from earshot.forge.fit import auto
REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -21,10 +22,13 @@ SHORT = ['click/soft', 'pro_click/tink', 'hover_tick/ping', 'pro_hover_tick/soft
def test_bank_contents():
v = bank.VERSION
- assert v.startswith('forge_v2r6') and 'pluck1' in v and 'fit1' in v
+ assert v.startswith('forge_v2r6+forge04r1') and 'pluck1' in v and 'fit1' in v
ids = bank.ids()
- forge = [i for i in ids if bank.get(i)['type'] == 'forge' and not i.startswith('pluck/')]
+ where = bank._load()['where']
+ forge = [i for i in ids if os.path.basename(where[i]) == 'forge_v2.json']
assert len(forge) == 183 and len({i.split('/')[0] for i in forge}) == 34
+ new = [i for i in ids if os.path.basename(where[i]) == 'forge04.json']
+ assert sorted(new) == sorted(bank.FORGE04) and len(new) == 51 and not set(new) & set(forge)
assert {'pluck/kalimba', 'pluck/kalimba_soft', 'pluck/kalimba_ring'} <= set(ids)
for i in ids:
e = bank.get(i)
@@ -69,6 +73,7 @@ def test_fit_entries_load_with_their_cc0_sources():
assert not any(c in text for c in ('zapsplat', 'soundsnap', 'sound-ideas', 'boom library'))
assert 0.0 <= e['vary'] <= 0.6 and i.split('/')[1] in e['kinds'] and len(e['notes']) > 20
assert 'fit_engine' not in e['model'] and e['meta']['fp']['env_db']
+ assert not auto.finished(e['model']) # fitted by 0.3: renders as it did (no 0.4 fade-in, no limit)
assert i in credits and src['url'] in credits
rows = bank.list(kind='key')
assert any(r['id'].startswith('fit/key/') and r['source']['license'] == 'CC0 1.0' for r in rows)
@@ -369,3 +374,128 @@ def test_add_fit_writes_a_fit_entry_and_checks_its_licence(tmp_path, monkeypatch
monkeypatch.delenv('EARSHOT_BANK')
bank.reload()
assert 'fit/bell/tone' not in bank.ids()
+
+
+def test_bank_fit_takes_leave_a_stripped_bed_out(tone_model):
+ """a fit of a stripped recording keeps post['bed'] (render() puts it back under the sound by default, to compare
+ with the original); a bank or kit take is the sound alone: the entry renders exactly as the model without it"""
+ import copy
+ from earshot.forge.fit import auto
+ n = int(0.3 * SR)
+ bedded = copy.deepcopy(tone_model)
+ bedded['post'] = dict(bedded.get('post') or {}, bed={'t_on': 0.0, 'level_db': -20.0, 'n': n, 'nfft': 512,
+ 'psd_db': [-60.0] * 257})
+ assert not np.array_equal(auto.render(bedded, seed=0, take=True), auto.render(tone_model, seed=0, take=True))
+ e = {'id': 'fit/bell/tone', 'type': 'fit', 'seed': 0, 'vary': 0.0}
+ with_bed = bank.renderer(dict(e, model=bedded))()
+ assert np.array_equal(with_bed, bank.renderer(dict(e, model=tone_model))())
+ assert np.array_equal(with_bed, auto.render(bedded, seed=0, take=True, bed=False))
+
+
+def test_add_fit_refuses_vary_for_an_air_only_gesture(tmp_path):
+ """an air-only gesture fit has no vary knob: add-fit --vary 0.3 is a BankError (it was a ValueError traceback
+ from the render), and the same fit at vary 0 adds"""
+ from earshot.forge.fit import auto, gesture
+ rng = np.random.default_rng(4)
+ t = np.arange(int(0.25 * SR)) / SR
+ x = (rng.standard_normal(len(t)) * np.exp(-t / 0.04) * 0.3).astype(np.float32)
+ m = gesture.fit(x, tones=False, fast=True)
+ assert m['tones'] is None and 'vary' not in auto.knobs_of(m)
+ src = {'id': 'test:2', 'title': 'a test burst', 'author': 'the test', 'license': 'CC0 1.0', 'url': 'https://x.test'}
+ path = tmp_path / 'fit.json'
+ with pytest.raises(bank.BankError, match='vary'):
+ bank.add_fit(m, 'fit/tick/burst', src, str(path), vary=0.3, log=None)
+ assert not path.exists()
+ e = bank.add_fit(m, 'fit/tick/burst', src, str(path), log=None)
+ assert e['vary'] == 0.0 and path.exists()
+
+
+def test_forge04_build_refuses_an_originality_measured_on_another_render(tmp_path, monkeypatch):
+ """FORGE04_REF_CLAP holds for the render it was measured on: a member whose params changed, or whose render
+ moved off the shipped fingerprint, is refused with a stale value instead of getting the old cosine as if
+ measured; a fresh measurement (ref_clap) is taken"""
+ sid = 'ui_pop/blip'
+ monkeypatch.setattr(bank, 'FORGE04', {sid: bank.FORGE04[sid]})
+ out = tmp_path / 'f04.json'
+ doc = bank.build_forge04(str(out), log=None) # unchanged: the recorded value holds
+ shipped = bank.get(sid)
+ assert doc['entries'][sid]['original'] == shipped['original']
+ assert bank.forge04_digest(shipped) == bank.FORGE04_REF_ON[sid]
+ orig = bank.forge04_entry
+
+ def edited(i):
+ e = orig(i)
+ k = next(k for k, v in sorted(e['params'].items()) if isinstance(v, float) and v)
+ e['params'] = dict(e['params'], **{k: e['params'][k] * 1.02})
+ return e
+ monkeypatch.setattr(bank, 'forge04_entry', edited)
+ with pytest.raises(bank.BankError, match='stale: its params'):
+ bank.build_forge04(str(tmp_path / 'f04b.json'), log=None)
+ assert not (tmp_path / 'f04b.json').exists()
+ doc = bank.build_forge04(str(tmp_path / 'f04c.json'), ref_clap={sid: 0.7}, log=None)
+ assert doc['entries'][sid]['original']['max_ref_clap'] == 0.7
+ monkeypatch.setattr(bank, 'forge04_entry', orig) # same block, another render (a recipe change)
+ moved = {sid: dict(shipped, meta=dict(shipped['meta'], fp={'hop_s': 0.05, 'env_db': [0.0, -20.0]}))}
+ monkeypatch.setattr(bank, '_forge04_shipped', lambda: moved)
+ with pytest.raises(bank.BankError, match='stale: its render changed'):
+ bank.build_forge04(str(tmp_path / 'f04d.json'), log=None)
+
+
+# ------------------------------------------------------------------------------------- the 0.4 recipe members
+NEW04 = ['ui_pop/soft', 'knock/wood', 'drip/bloop', 'shutter/quick', 'mallet/celesta', 'cut_hit/punch',
+ 'notify/mid_tine', 'swish/flick']
+
+
+def test_forge04_entries_are_their_recipe_palettes_with_a_record():
+ """every 0.4 member is its recipe palette's member on its seed, with meta, the catalog profile, a clean take audit
+ and its originality on record (CLAP to the private reference clips <= 0.96; the clips themselves are not here)"""
+ cats = {'cut_hit', 'reverse_swell', 'ui_pop', 'knock', 'mallet', 'drip', 'shutter'}
+ for sid in bank.FORGE04:
+ e = bank.get(sid)
+ bare = bank.forge04_entry(sid)
+ assert {k: e[k] for k in ('recipe', 'fn', 'params', 'seed', 'member', 'category')} == {
+ k: bare[k] for k in ('recipe', 'fn', 'params', 'seed', 'member', 'category')}, sid
+ assert e['kinds'] and all(isinstance(k, str) for k in e['kinds']) and len(e['notes']) > 15
+ assert set(e['profile']) >= {'dur_s', 'attack_ms', 't20_ms', 'centroid_hz', 'tonal', 'corr'}
+ a = e['audit']
+ assert a['role'] == e['kinds'][0] and a['clean'] >= bank.FORGE04_MIN_CLEAN
+ assert e['original']['made'] == 'recipe' and 0 < e['original']['max_ref_clap'] <= bank.FORGE04_REF_MAX
+ assert e['meta']['fp']['env_db'] and e['category'] in bank.CATEGORIES
+ assert cats <= {bank.get(i)['category'] for i in bank.FORGE04}
+ for c in cats: # a useful handful per new category, all different
+ members = [i for i in bank.FORGE04 if i.startswith(c + '/')]
+ assert len(members) >= 5, c
+ assert len({json.dumps(bank.get(i)['params'], sort_keys=True) for i in members}) == len(members)
+ assert bank.category_info(c)['kinds'] and bank.list(category=c)
+
+
[email protected]('sid', NEW04)
+def test_forge04_rerenders_to_its_fingerprint_and_audits_clean(sid):
+ e = bank.get(sid)
+ y, meta = bank.render(sid)
+ d = bank.compare_fp(e['meta'], y)
+ assert d['len_diff'] == 0 and abs(d['peak_diff_ms']) <= 5 and d['env_db'] <= 0.5, d
+ assert meta['checks']['ok'], meta['checks']['summary']
+ y2, m2 = bank.render(sid, seed=e['seed'] + 7) # another take of the same member
+ assert m2['checks'] is not None and len(y2)
+
+
+def test_the_bloop_needs_the_drip_allowance():
+ """drip/bloop climbs ~5 st over ~0.1 s: sfx.check accepts it for the drip category (a note), not for others"""
+ from earshot.forge import sfx
+ y, meta = bank.render('drip/bloop')
+ assert meta['checks']['ok'] and 'rising_glide' in [n['code'] for n in meta['checks']['notes']]
+ assert not sfx.check(y, category='ui_pop')['ok']
+
+
+def test_forge04_knobs_where_the_recipes_have_them():
+ y, m = bank.render('cut_hit/sub', pitch='A1') # the sub lands on the root (not measured)
+ p = m['edits']['pitch']
+ assert p['params']['sub_f1'] == 55.0 and p['ok'] is None and m['checks']['ok']
+ y, m = bank.render('reverse_swell/cymbal', dur=1.2)
+ assert abs(len(y) / SR - 1.2) < 1e-3 and knobs.describe(bank.get('reverse_swell/cymbal'))['dur'] == 'param'
+ y, m = bank.render('ui_pop/soft', pitch='A4')
+ assert abs(m['edits']['pitch']['cents_off']) <= 50
+ with pytest.raises(knobs.KnobError, match='no pitch'):
+ bank.render('shutter/dslr', pitch='C5')
+ assert {r['id'] for r in bank.list(kind='swell')} >= {'reverse_swell/cymbal', 'reverse_swell/dark'}