Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
647 commits
Select commit Hold shift + click to select a range
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
16a5673
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
3e0ca4c
merge: pull in the main-merge conflict fix
vanceingalls Aug 12, 2026
c6f3970
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
df86bb1
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
d1a8158
merge: pull in the CRAP-score fix
vanceingalls Aug 13, 2026
dc884fd
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
4ad15f1
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
59ac1bc
merge: pull in the PR #3025 conflict fix
vanceingalls Aug 13, 2026
84ead32
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
3d54fee
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
c627c27
merge: pull in the unused-import fix
vanceingalls Aug 13, 2026
ab2350b
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
fccdc95
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
eb18c23
merge: pull in the PR #3055 conflict fix
vanceingalls Aug 13, 2026
d5fca20
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
644b435
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
4956f5f
merge: pull in the PR #3207 conflict fix
vanceingalls Aug 13, 2026
39a38d5
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
400dde8
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
a7131f5
merge: pull in the PR #3208 conflict fix
vanceingalls Aug 13, 2026
13f9431
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
4cceef6
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
ef4d96e
chore: merge in the wa-18b-reschedule fallow/typecheck fix
vanceingalls Aug 13, 2026
d4f4817
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
2b8dd2b
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
2262fef
chore: merge in the via-conic NaN fix
vanceingalls Aug 13, 2026
ba846fe
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
d0a7172
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
3b000a4
chore: merge in the waveform cache key fix
vanceingalls Aug 13, 2026
713cb7d
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
2a53d7d
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
45a5d87
chore: merge in the PropertyPanel timeout fix
vanceingalls Aug 13, 2026
115a110
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
8332da4
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
2187440
chore: merge in the duplicate-effect carve fix
vanceingalls Aug 13, 2026
f980c45
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
906cfad
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
3aad9b4
chore: merge in the main restack from #3210
vanceingalls Aug 13, 2026
0086d18
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
1feca8e
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
9652805
chore: merge in the carve UI type-shape fix
vanceingalls Aug 13, 2026
3b8dbd1
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
1e7e5b6
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
f9af8ae
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
4151db0
chore: pull in main after #3211's squash merge
vanceingalls Aug 13, 2026
f156d46
chore: pull in main after #3179's squash merge
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 @@ -104,6 +104,12 @@
"types": "./dist/audioFxEq.d.ts",
"environments": ["browser", "bun", "node"]
},
"./audio-leveller": {
"source": "./src/audioLeveller.ts",
"runtime": "./dist/audioLeveller.js",
"types": "./dist/audioLeveller.d.ts",
"environments": ["browser", "bun", "node"]
},
"./audio-fx-presets": {
"source": "./src/audioFxPresets.ts",
"runtime": "./dist/audioFxPresets.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 @@ -118,6 +118,12 @@
"import": "./src/audioFxEq.ts",
"types": "./src/audioFxEq.ts"
},
"./audio-leveller": {
"bun": "./src/audioLeveller.ts",
"node": "./dist/audioLeveller.js",
"import": "./src/audioLeveller.ts",
"types": "./src/audioLeveller.ts"
},
"./audio-fx-presets": {
"bun": "./src/audioFxPresets.ts",
"node": "./dist/audioFxPresets.js",
Expand Down Expand Up @@ -418,6 +424,10 @@
"import": "./dist/audioFxEq.js",
"types": "./dist/audioFxEq.d.ts"
},
"./audio-leveller": {
"import": "./dist/audioLeveller.js",
"types": "./dist/audioLeveller.d.ts"
},
"./audio-fx-presets": {
"import": "./dist/audioFxPresets.js",
"types": "./dist/audioFxPresets.d.ts"
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/audioFx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,11 @@ export interface HfAudioFxNode {
* effect type and its bands stay ordinary filters underneath.
*/
fromEq?: string;
/**
* Set on the gain stage the leveller writes, so re-running replaces it rather
* than stacking a second one — the same contract `fromCarve` has.
*/
fromLeveller?: boolean;
/** Absent means enabled — chain files written before the field existed still load. */
enabled?: boolean;
params?: HfAudioFxParamValues;
Expand Down Expand Up @@ -884,6 +889,7 @@ export function parseAudioFxChain(json: string): HfAudioFxChain {
fromPreset?: unknown;
label?: unknown;
fromEq?: unknown;
fromLeveller?: unknown;
};
if (typeof node.type !== "string" || !BY_ID.has(node.type)) {
throw new AudioFxChainError(`Node ${i} has unknown effect type: ${String(node.type)}`);
Expand All @@ -900,6 +906,7 @@ export function parseAudioFxChain(json: string): HfAudioFxChain {
: {}),
...(typeof node.label === "string" && node.label ? { label: node.label } : {}),
...(typeof node.fromEq === "string" && node.fromEq ? { fromEq: node.fromEq } : {}),
...(node.fromLeveller === true ? { fromLeveller: true as const } : {}),
enabled: node.enabled !== false,
params: normalizeAudioFxParams(
node.type,
Expand All @@ -926,6 +933,7 @@ export function serializeAudioFxChain(chain: HfAudioFxChain): string {
...(node.fromPreset ? { fromPreset: node.fromPreset } : {}),
...(node.label ? { label: node.label } : {}),
...(node.fromEq ? { fromEq: node.fromEq } : {}),
...(node.fromLeveller === true ? { fromLeveller: true } : {}),
...(node.enabled === false ? { enabled: false } : {}),
params: normalizeAudioFxParams(node.type, node.params),
})),
Expand Down
266 changes: 266 additions & 0 deletions packages/core/src/audioLeveller.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
import { describe, expect, it } from "vitest";
import {
HF_AUDIO_FX_CHAIN_VERSION,
parseAudioFxChain,
serializeAudioFxChain,
type HfAudioFxChain,
} from "./audioFx.js";
import { sampleAutomationLane } from "./audioAutomation.js";
import { applyAudioFxPreset, getAudioFxPreset } from "./audioFxPresets.js";
import {
analyseLevelling,
levellerProfile,
levellingResult,
levellingSummary,
removeLevelling,
} from "./audioLeveller.js";

const SR = 48000;
const empty = (): HfAudioFxChain => ({ version: HF_AUDIO_FX_CHAIN_VERSION, nodes: [] });

/** A tone whose amplitude changes per section, so the levelling has real work. */
function uneven(sections: { seconds: number; amp: number }[]): Float32Array {
const total = sections.reduce((n, s) => n + Math.floor(SR * s.seconds), 0);
const out = new Float32Array(total);
let at = 0;
for (const section of sections) {
const n = Math.floor(SR * section.seconds);
for (let i = 0; i < n; i += 1) {
out[at + i] = section.amp * Math.sin((2 * Math.PI * 300 * (at + i)) / SR);
}
at += n;
}
return out;
}

const at = (points: { t: number; v: number }[], t: number) =>
sampleAutomationLane({ target: "fx.n1.gain", points }, t);

describe("measuring", () => {
it("lifts a quiet passage and leaves the loud one alone", () => {
// Loud, then 18 dB down, then loud again.
const points = analyseLevelling(
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
{ seconds: 3, amp: 0.5 },
]),
SR,
);
expect(points.length).toBeGreaterThan(0);
// Mid-quiet-section, well past the attack.
expect(at(points, 5.5)).toBeGreaterThan(3);
// Mid-loud-section, well past the release.
expect(Math.abs(at(points, 2.5))).toBeLessThan(2);
});

it("finds nothing to do on a track that is already even", () => {
// A script that always writes something teaches an author it is doing
// nothing; saying "already even" is the useful answer.
expect(analyseLevelling(uneven([{ seconds: 6, amp: 0.4 }]), SR)).toEqual([]);
});

it("leaves room tone alone rather than lifting it into the mix", () => {
// Deliberately NOT digital silence: a real pause is quiet but finite, and
// that is the case the floor exists for. Absolute zero would be skipped by
// the isFinite check alone and prove nothing.
const points = analyseLevelling(
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.0008 },
{ seconds: 3, amp: 0.5 },
]),
SR,
1,
);
// ~56 dB down: a pause with a noise floor, not a quiet passage. Gain
// applied here is gain applied to the room.
expect(Math.abs(at(points, 5.5))).toBeLessThan(1.5);
});

it("targets a level the track reaches, not its loudest instant", () => {
// Mostly quiet with one loud burst. Against the PEAK the whole body of the
// track reads as "quiet" and gets hauled up; against a level the track
// actually sustains, the body is already the target and barely moves.
const points = analyseLevelling(
uneven([
{ seconds: 6, amp: 0.08 },
{ seconds: 1, amp: 0.8 },
{ seconds: 5, amp: 0.08 },
]),
SR,
1,
);
expect(Math.abs(at(points, 3))).toBeLessThan(3);
});

it("never asks for more correction than it can justify", () => {
// ~30 dB below the loud section: still well above the silence floor, so it
// IS a passage to lift — and at full strength the raw ask is over 25 dB,
// which is more gain than any quiet passage should be given.
const points = analyseLevelling(
uneven([
{ seconds: 3, amp: 0.6 },
{ seconds: 4, amp: 0.019 },
]),
SR,
1,
);
expect(points.some((p) => p.v > 6)).toBe(true);
for (const p of points) expect(Math.abs(p.v)).toBeLessThanOrEqual(12);
});

it("starts at the clip's start, so the lane does not slide in from nowhere", () => {
const points = analyseLevelling(
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
);
expect(points[0]?.t).toBe(0);
});

it("handles an empty track without inventing a lane", () => {
expect(analyseLevelling(new Float32Array(0), SR)).toEqual([]);
expect(analyseLevelling(uneven([{ seconds: 1, amp: 0.4 }]), 0)).toEqual([]);
});
});

describe("strength", () => {
it("corrects more the further it is turned up", () => {
const track = uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]);
const gentle = at(analyseLevelling(track, SR, 0.1), 5.5);
const strong = at(analyseLevelling(track, SR, 1), 5.5);
expect(strong).toBeGreaterThan(gentle);
});

it("still leaves some of the performance in at full strength", () => {
// Driving a track to a flat line removes the performance along with the
// inconsistency, so even 1.0 corrects most rather than all of it.
expect(levellerProfile(1).correction).toBeLessThan(1);
expect(levellerProfile(0).correction).toBeGreaterThan(0);
});
});

describe("what it writes", () => {
it("rides a gain node, because a volume lane can only attenuate", () => {
// VOLUME_RANGE is 0..1 and normaliseEnvelope clamps into it, so a volume
// lane cannot lift a quiet passage at all. This is the whole reason the
// script writes a node instead of only a lane.
const result = levellingResult(
empty(),
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
);
expect(result).not.toBeNull();
const node = result!.chain.nodes[0]!;
expect(node.type).toBe("gain");
expect(node.label).toBe("Even Out Levels");
expect(node.params?.gain).toBe(0);
expect(result!.automation.lanes[0]!.target).toBe(`fx.${node.id}.gain`);
});

it("returns nothing when there is nothing to correct", () => {
expect(levellingResult(empty(), uneven([{ seconds: 6, amp: 0.4 }]), SR)).toBeNull();
});

it("replaces its own stage instead of stacking a second one", () => {
const track = uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]);
const once = levellingResult(empty(), track, SR)!;
const twice = levellingResult(once.chain, track, SR)!;
expect(twice.chain.nodes.filter((n) => n.fromLeveller)).toHaveLength(1);
// Same node id, so the lane it already wrote still addresses the right stage.
expect(twice.chain.nodes[0]!.id).toBe(once.chain.nodes[0]!.id);
});

it("goes in FRONT of a trailing limiter, never after it", () => {
// The likely sequence: apply Clean Voice, then even out the levels. Clean
// Voice ends in a Peak Ceiling, and up to 12 dB of lift landing after that
// ceiling means loud material at -1 dBFS goes over full scale and the
// render shears it flat. A ceiling with something after it is not a ceiling.
const voiced = applyAudioFxPreset(empty(), getAudioFxPreset("voice-clean")!);
expect(voiced.nodes[voiced.nodes.length - 1]!.type).toBe("limiter");

const result = levellingResult(
voiced,
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
)!;
const types = result.chain.nodes.map((n) => n.type);
expect(types[types.length - 1]).toBe("limiter");
expect(types[types.length - 2]).toBe("gain");
expect(result.chain.nodes.find((n) => n.fromLeveller)).toBeTruthy();
});

it("leaves hand-added effects alone", () => {
const chain: HfAudioFxChain = {
version: HF_AUDIO_FX_CHAIN_VERSION,
nodes: [{ type: "reverb", id: "mine", enabled: true }],
};
const result = levellingResult(
chain,
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
)!;
expect(result.chain.nodes.map((n) => n.id)).toContain("mine");
expect(result.chain.nodes).toHaveLength(2);
});

it("survives the attribute round trip", () => {
const result = levellingResult(
empty(),
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
)!;
const back = parseAudioFxChain(serializeAudioFxChain(result.chain));
// Without fromLeveller surviving, re-running stacks a second gain stage.
expect(back.nodes.filter((n) => n.fromLeveller)).toHaveLength(1);
expect(back.nodes[0]!.label).toBe("Even Out Levels");
});

it("names the lane it takes away with it", () => {
const result = levellingResult(
empty(),
uneven([
{ seconds: 3, amp: 0.5 },
{ seconds: 3, amp: 0.06 },
]),
SR,
)!;
const removed = removeLevelling(result.chain);
expect(removed.chain.nodes).toHaveLength(0);
// An orphaned lane keeps driving a parameter that is no longer there.
expect(removed.removedTarget).toBe(result.automation.lanes[0]!.target);
});
});

describe("what it says", () => {
it("describes the moves rather than listing numbers", () => {
expect(
levellingSummary([
{ t: 0, v: 0 },
{ t: 1, v: 4.2 },
]),
).toMatch(/lifting quiet parts/);
expect(levellingSummary([])).toMatch(/Already even/);
});
});
Loading
Loading