Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
572 commits
Select commit Hold shift + click to select a range
e3c9d9a
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
b4cea20
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
09884db
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
9c46df4
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
2e6a7aa
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
76fbfcb
fix(core): remove the build-audio-fx-runtime.ts stray resurrected by …
vanceingalls Aug 12, 2026
0467055
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
a664bb8
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
4fe82ee
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
c96b429
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
16a471c
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
182af24
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
1bfdf40
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
6bcd100
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
c812ecb
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
e8a9a2c
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
ed09bbb
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
282315d
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
815739e
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
2df9ff9
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
6381e9a
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
b1e779a
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
46f9e52
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
129f256
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
407e67d
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
3aff10a
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
5984632
merge: pull in the stray-file cleanup
vanceingalls Aug 12, 2026
a4699e4
Merge remote-tracking branch 'origin/main' into wa-10-lane-component
vanceingalls Aug 12, 2026
7359e64
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
dac4f9e
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
44ec112
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
b886ae4
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
006027f
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
b8e5e83
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
c44f776
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
b6e650f
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
5987b0f
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
477f57b
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
f676c61
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
f224f68
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
ce19e90
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
d572ef8
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
55aa6b0
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
562bf86
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
115fa11
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
d7629b6
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
c84df9a
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
79ca5b6
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
7bd053a
fix(studio): pull TimelineLanes under the 600-line cap
vanceingalls Aug 12, 2026
6232f24
merge: pull in the file-size fix
vanceingalls Aug 12, 2026
c6f1db7
merge: pull in the file-size fix
vanceingalls Aug 12, 2026
f99bf5e
merge: pull in the file-size fix
vanceingalls Aug 12, 2026
43407fe
merge: pull in the file-size fix
vanceingalls Aug 12, 2026
2936314
merge: pull in the file-size fix
vanceingalls Aug 12, 2026
c03fd4a
fix(studio): split the extracted pointerdown handler under the CRAP t…
vanceingalls Aug 13, 2026
1a5bac7
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
a9f33b6
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
0cfd6fd
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
b35c9d8
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
afcbd9e
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
3a38cc2
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
a259d14
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
4cd60ec
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
4652d4f
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
836760e
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
fb286aa
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
2c5e7ee
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
cefde3c
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
7f2b063
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
ab23ff5
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
2c2cdf4
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
e910444
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
001bead
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
10e31b1
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
533f2b6
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
0bdfaca
Merge remote-tracking branch 'origin/main' into wa-11-panel-writes
vanceingalls Aug 13, 2026
76703a8
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
919e588
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
d938c79
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
d1222df
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
fe0e70e
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
6815d46
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
7fc994b
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
00bb341
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
7bf1fff
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
2284323
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
10a280b
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
9bdf345
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
e5d70cd
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
c14c5fe
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
897529e
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
7ae88f4
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
2d2ff34
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
e4d9635
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
5d6d89e
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
cf02c1e
fix(studio): drop the unused DomEditSelection import in PropertyPanel…
vanceingalls Aug 13, 2026
50e48e1
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
144ae1a
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
4f9317e
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
86ace73
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
e4b4734
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
add851f
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
1afa49b
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
5f70922
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
45aefad
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
3e48807
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
c0e4d35
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
996db02
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
569ee8d
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
0703348
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
e3f6ce0
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
2865303
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
78550ca
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
685d27e
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
0f4ec28
Merge remote-tracking branch 'origin/main' into wa-15-lane-selection
vanceingalls Aug 13, 2026
f4e0584
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
92069b5
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
d0570f8
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
ccacc78
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
1eede7f
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
9341941
merge: pull in the PR #3050 conflict fix
vanceingalls Aug 13, 2026
ae71729
Merge remote-tracking branch 'origin/main' into wa-16-lane-shapes
vanceingalls Aug 13, 2026
cb920a4
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
8fbcc15
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
4279188
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
3a43040
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
57e696e
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
3eae9eb
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
5cafa11
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
146f9ac
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
9e2ffa3
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
424f893
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
5427e69
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
169bf06
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
6e00388
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
9d47023
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
3e6597f
Merge remote-tracking branch 'origin/main' into wa-18a-retime-stretch
vanceingalls Aug 13, 2026
69bff86
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
d59e6cf
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
1656bdb
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
13f40e5
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
c461a7d
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
3165b4a
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
f9c26b2
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
487ab39
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
5fdfc75
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
9fabbd8
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
8832671
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
2ba9dd5
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
ea18fb5
Merge remote-tracking branch 'origin/main' into wa-18b-reschedule
vanceingalls Aug 13, 2026
8e748ac
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
1befa91
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
bcc3747
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
0122e1b
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
de04d9f
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
9f3963d
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
6c8c2b1
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
2313aec
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
059cbef
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
58371d6
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
aee687c
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
4dacf28
fix(studio): close the typecheck and fallow gaps wa-18b-reschedule op…
vanceingalls Aug 13, 2026
32d4918
merge: pull in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
252b1c2
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
aed1e7b
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
d993284
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
00d0b2a
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
67bcf88
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
577002a
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
51f144c
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
e0a510e
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
459fe0a
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
9adb9b5
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
9e828a0
fix(core): cap the via conic's weight so an edge-clamped via point ca…
vanceingalls Aug 13, 2026
36b63cc
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
adbc910
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
024470c
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
4ceeb6f
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
f21d4d1
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
9fc52ee
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
70c3191
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
f790a7f
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
ddaae3e
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
a43f818
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
518e75d
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
f6fc7e9
fix(studio-server): fingerprint the proactive waveform cache key too
vanceingalls Aug 13, 2026
248fd70
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
32598dd
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
3722f9c
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
bed05ba
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
9d0b75b
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
a5478a0
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
0658830
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
332ef78
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
48fe084
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
99f0c4b
style(docs): run oxfmt on the /hyperframes-audio skill docs
vanceingalls Aug 13, 2026
cc631a2
chore: merge in the skill-docs format fix
vanceingalls Aug 13, 2026
009fb88
fix(core): stop \b from missing underscore-separated names, guard cli…
vanceingalls Aug 13, 2026
64eccec
chore: merge in the carve regex+overlap fix
vanceingalls Aug 13, 2026
06aff52
fix(studio): widen PropertyPanel's resetModules render timeout again
vanceingalls Aug 13, 2026
93c7abf
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
a81b652
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
cfd5551
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
4efaa33
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
011a9f0
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
aa4c875
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
2ea9b38
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
d02190a
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
ad6bfdd
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
fb5ea90
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
e2c3c62
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
13285b6
fix(studio): stop the single-candidate auto-apply carve firing twice
vanceingalls Aug 13, 2026
e965111
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
7565f5d
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
8faa870
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
33d6f14
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
d08724a
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
eab3096
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
e36c1ba
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
9a94c82
chore: pull in main after #3210's squash merge
vanceingalls Aug 13, 2026
49c619b
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
df4daca
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
16bf7ca
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
df5ea4d
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
49be0c9
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
15f6fa0
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
d785c14
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
f7b5a21
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
de18eaa
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
93921f0
feat(core): carve against every voice over a bed, always (#3212)
vanceingalls Aug 13, 2026
03c1634
fix(studio): port the carve UI off the removed source/dynamic fields
vanceingalls Aug 13, 2026
9a7e19e
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
590043c
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
b1401f7
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
2284c8c
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
007eee8
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
49e3623
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
93dd2bb
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
816671f
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
c8fcb64
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
de8f963
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
9fae6e8
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
4e46fae
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
b02131f
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
d41e754
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
f0d6bfb
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
8f35103
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
65a484c
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
4d39cf7
chore: pull in main after #3176's squash merge
vanceingalls Aug 13, 2026
45bac8e
docs(plans): fix pre-existing oxfmt formatting drift in audio-fx-ux R…
vanceingalls Aug 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/core/package-subpaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@
"types": "./dist/audioFx.d.ts",
"environments": ["browser", "bun", "node"]
},
"./audio-fx-presets": {
"source": "./src/audioFxPresets.ts",
"runtime": "./dist/audioFxPresets.js",
"types": "./dist/audioFxPresets.d.ts",
"environments": ["browser", "bun", "node"]
},
"./audio-fx-tail": {
"source": "./src/audio/audioFxTail.ts",
"runtime": "./dist/audio/audioFxTail.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
"import": "./src/audioFx.ts",
"types": "./src/audioFx.ts"
},
"./audio-fx-presets": {
"bun": "./src/audioFxPresets.ts",
"node": "./dist/audioFxPresets.js",
"import": "./src/audioFxPresets.ts",
"types": "./src/audioFxPresets.ts"
},
"./audio-fx-tail": {
"bun": "./src/audio/audioFxTail.ts",
"node": "./dist/audio/audioFxTail.js",
Expand Down Expand Up @@ -402,6 +408,10 @@
"import": "./dist/audioFx.js",
"types": "./dist/audioFx.d.ts"
},
"./audio-fx-presets": {
"import": "./dist/audioFxPresets.js",
"types": "./dist/audioFxPresets.d.ts"
},
"./audio-fx-tail": {
"import": "./dist/audio/audioFxTail.js",
"types": "./dist/audio/audioFxTail.d.ts"
Expand Down
9 changes: 9 additions & 0 deletions packages/core/src/audioFx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,15 @@ export interface HfAudioFxNode {
/** Set on nodes the carve analysis generated, so re-running replaces them
* instead of stacking another set on top of hand-added effects. */
fromCarve?: boolean;
/**
* Id of the preset that wrote this node, for the same reason `fromCarve`
* exists: re-applying a preset replaces its own nodes rather than adding a
* second copy, and the rack can brace them together under the preset's name.
*
* The id rather than a flag, because a chain can carry more than one preset
* and each has to be able to find its own.
*/
fromPreset?: string;
/** Absent means enabled — chain files written before the field existed still load. */
enabled?: boolean;
params?: HfAudioFxParamValues;
Expand Down
227 changes: 227 additions & 0 deletions packages/core/src/audioFxPresets.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
import { describe, expect, it } from "vitest";
import {
getAudioFxDef,
HF_AUDIO_FX_CHAIN_VERSION,
normalizeAudioFxParams,
parseAudioFxChain,
serializeAudioFxChain,
type HfAudioFxChain,
type HfAudioFxNumberParam,
} from "./audioFx.js";
import {
activeAudioFxPresetIds,
applyAudioFxPreset,
audioFxPresetNodes,
audioFxPresetsByFamily,
getAudioFxPreset,
HF_AUDIO_FX_PRESET_FAMILIES,
HF_AUDIO_FX_PRESETS,
} from "./audioFxPresets.js";

const empty = (): HfAudioFxChain => ({ version: HF_AUDIO_FX_CHAIN_VERSION, nodes: [] });
const need = (id: string) => {
const p = getAudioFxPreset(id);
if (!p) throw new Error(`no preset ${id}`);
return p;
};

/**
* The catalogue is hand-written numbers, which is exactly the kind of thing
* that rots quietly: a value outside its declared range does not throw, it gets
* clamped, and the preset then sounds like something nobody chose. These check
* the data itself rather than the machinery around it.
*/
describe("the catalogue is internally valid", () => {
it("has unique ids and a family the menu knows", () => {
const ids = HF_AUDIO_FX_PRESETS.map((p) => p.id);
expect(new Set(ids).size).toBe(ids.length);
for (const p of HF_AUDIO_FX_PRESETS) {
expect(HF_AUDIO_FX_PRESET_FAMILIES, `${p.id} sits on no shelf`).toContain(p.family);
expect(p.nodes.length, `${p.id} is empty`).toBeGreaterThan(0);
expect(p.label.length).toBeGreaterThan(0);
expect(p.description.length).toBeGreaterThan(0);
}
});

it("names only real effects", () => {
for (const p of HF_AUDIO_FX_PRESETS) {
for (const node of p.nodes) {
expect(getAudioFxDef(node.type), `${p.id} uses unknown effect "${node.type}"`).toBeTruthy();
}
}
});

it("names only parameters those effects declare", () => {
for (const p of HF_AUDIO_FX_PRESETS) {
for (const node of p.nodes) {
const keys = new Set((getAudioFxDef(node.type)?.params ?? []).map((x) => x.key));
for (const key of Object.keys(node.params ?? {})) {
expect(keys.has(key), `${p.id}: ${node.type} has no parameter "${key}"`).toBe(true);
}
}
}
});

it("sets every value inside its own declared range", () => {
// The one that actually catches typos. A value out of range is silently
// clamped, so without this a preset can ship sounding like nothing anyone
// chose and still pass every other test here.
for (const p of HF_AUDIO_FX_PRESETS) {
for (const node of p.nodes) {
const def = getAudioFxDef(node.type);
for (const [key, raw] of Object.entries(node.params ?? {})) {
const param = def?.params.find((x) => x.key === key);
if (!param) continue;
if (param.kind === "enum") {
expect(
param.options.some((o) => o.value === raw),
`${p.id}: ${node.type}.${key} = "${String(raw)}" is not one of its options`,
).toBe(true);
continue;
}
const n = param as HfAudioFxNumberParam;
expect(typeof raw, `${p.id}: ${node.type}.${key} is not a number`).toBe("number");
expect(
raw as number,
`${p.id}: ${node.type}.${key} = ${String(raw)} is below its minimum ${n.min}`,
).toBeGreaterThanOrEqual(n.min);
expect(
raw as number,
`${p.id}: ${node.type}.${key} = ${String(raw)} is above its maximum ${n.max}`,
).toBeLessThanOrEqual(n.max);
}
}
}
});

it("survives being written to an attribute and read back", () => {
for (const p of HF_AUDIO_FX_PRESETS) {
const chain = applyAudioFxPreset(empty(), p);
const back = parseAudioFxChain(serializeAudioFxChain(chain));
expect(
back.nodes.map((n) => n.type),
`${p.id} did not round-trip`,
).toEqual(chain.nodes.map((n) => n.type));
}
});

it("ends anything that boosts with a ceiling", () => {
// A preset that adds presence and makeup gain can push the chain past full
// scale, and the render clamps what it is handed. Every preset that lifts
// has to hand the mix something bounded.
for (const p of HF_AUDIO_FX_PRESETS) {
const lifts = p.nodes.some((node) => {
const g = node.params?.["gain"];
const makeup = node.params?.["makeup"];
const out = node.params?.["output"];
return (
(typeof g === "number" && g > 0) ||
(typeof makeup === "number" && makeup > 0) ||
(typeof out === "number" && out > 0)
);
});
if (!lifts) continue;
const last = p.nodes[p.nodes.length - 1];
const bounded =
p.nodes.some((n) => n.type === "limiter") ||
// A band-limited character preset cannot run away: its own filters and
// soft clip cap it, and a limiter would change the effect.
p.family === "character";
expect(bounded, `${p.id} lifts level but never bounds it (ends on ${last?.type})`).toBe(true);
}
});

it("puts the limiter last wherever it has one", () => {
for (const p of HF_AUDIO_FX_PRESETS) {
const at = p.nodes.findIndex((n) => n.type === "limiter");
if (at === -1) continue;
expect(at, `${p.id}: a limiter that is not last is not a ceiling`).toBe(p.nodes.length - 1);
}
});

it("keeps every shelf stocked", () => {
for (const family of HF_AUDIO_FX_PRESET_FAMILIES) {
expect(audioFxPresetsByFamily(family).length, `${family} is empty`).toBeGreaterThan(0);
}
});
});

describe("applying a preset", () => {
it("writes ordinary nodes with their defaults filled in", () => {
const chain = applyAudioFxPreset(empty(), need("rumble-cut"));
expect(chain.nodes).toHaveLength(1);
const node = chain.nodes[0]!;
expect(node.type).toBe("highpass");
// Named 100 Hz; everything else comes from the effect, so the file holds a
// complete node rather than a partial one the graph has to guess at.
expect(node.params).toEqual({ ...normalizeAudioFxParams("highpass", {}), frequency: 100 });
expect(node.fromPreset).toBe("rumble-cut");
expect(node.enabled).toBe(true);
});

it("gives every node an id, because a lane addresses effects by id", () => {
const chain = applyAudioFxPreset(empty(), need("telephone"));
const ids = chain.nodes.map((n) => n.id);
expect(ids.every(Boolean)).toBe(true);
expect(new Set(ids).size).toBe(ids.length);
});

it("appends rather than replacing, so a character preset can stack on a clean voice", () => {
const voiced = applyAudioFxPreset(empty(), need("voice-clean"));
const both = applyAudioFxPreset(voiced, need("telephone"));
expect(both.nodes.length).toBe(voiced.nodes.length + need("telephone").nodes.length);
expect(activeAudioFxPresetIds(both)).toEqual(["voice-clean", "telephone"]);
// ids stay unique across the two batches
expect(new Set(both.nodes.map((n) => n.id)).size).toBe(both.nodes.length);
});

it("replaces the whole chain when asked", () => {
const voiced = applyAudioFxPreset(empty(), need("voice-clean"));
const only = applyAudioFxPreset(voiced, need("hall"), { replaceChain: true });
expect(activeAudioFxPresetIds(only)).toEqual(["hall"]);
expect(only.nodes).toHaveLength(need("hall").nodes.length);
});

it("re-applying swaps its own nodes instead of stacking a second copy", () => {
const once = applyAudioFxPreset(empty(), need("telephone"));
const twice = applyAudioFxPreset(once, need("telephone"));
expect(twice.nodes.length).toBe(once.nodes.length);
expect(activeAudioFxPresetIds(twice)).toEqual(["telephone"]);
});

it("re-applying keeps the preset's place in the signal order", () => {
// Order is audible: a telephone band before a limiter is a different sound
// from one after it. Re-applying must not quietly move the preset to the end.
const start = applyAudioFxPreset(empty(), need("telephone"));
const withTail = applyAudioFxPreset(start, need("hall"));
const again = applyAudioFxPreset(withTail, need("telephone"));
expect(again.nodes.map((n) => n.fromPreset)).toEqual([
...new Array(need("telephone").nodes.length).fill("telephone"),
...new Array(need("hall").nodes.length).fill("hall"),
]);
});

it("leaves hand-added effects alone when a preset is re-applied", () => {
const hand = { type: "reverb", id: "mine", params: normalizeAudioFxParams("reverb", {}) };
const chain: HfAudioFxChain = { version: HF_AUDIO_FX_CHAIN_VERSION, nodes: [hand] };
const once = applyAudioFxPreset(chain, need("voice-clean"));
const twice = applyAudioFxPreset(once, need("voice-clean"));
expect(twice.nodes.filter((n) => n.id === "mine")).toHaveLength(1);
expect(twice.nodes.filter((n) => n.fromPreset === "voice-clean")).toHaveLength(
need("voice-clean").nodes.length,
);
});

it("mints ids that cannot collide with what is already in the chain", () => {
const chain: HfAudioFxChain = {
version: HF_AUDIO_FX_CHAIN_VERSION,
nodes: [
{ type: "reverb", id: "n1" },
{ type: "delay", id: "n2" },
],
};
const made = audioFxPresetNodes(need("voice-clean"), chain);
for (const node of made) expect(["n1", "n2"]).not.toContain(node.id);
expect(new Set(made.map((n) => n.id)).size).toBe(made.length);
});
});
Loading
Loading