Commit 212ddf3
committed
fix(studio): seed a profiled effect on its curve, not at registry defaults
Found in a running studio, which is the only place it could be found: add
a compressor and the module opens reading **Evenness 0.67** with its
make-up gain at 0 dB.
The registry's defaults are not a point on the profile's curve, and
`audioFxProfileStrength` reads the knob back by inverting that curve — so
a default-seeded compressor reports a strength it was never set to, and
every parameter under the knob disagrees with it. That is the
"quieter as you turn it up" failure the measurement pass fixed, arriving
on the very first frame instead.
Adding a profiled effect now seeds it through the profile at 0.5, so the
knob and the mechanism agree from the start. Everything else still
arrives exactly as the registry declares it.
Falsified: restoring the default seed fails the new test. The old
"seeded with its declared defaults" case asserted the behaviour being
fixed, and now uses an effect that has no derived knob — which is what it
was really about.
studio 3696 passing, 18 todo · core 1762.1 parent 950209e commit 212ddf3
2 files changed
Lines changed: 44 additions & 5 deletions
File tree
- packages/studio/src/components/editor
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | | - | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | | - | |
228 | | - | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
484 | 488 | | |
485 | 489 | | |
486 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
487 | 508 | | |
488 | 509 | | |
489 | 510 | | |
| |||
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
252 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
253 | 264 | | |
254 | 265 | | |
255 | 266 | | |
256 | 267 | | |
257 | 268 | | |
258 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
259 | 277 | | |
260 | 278 | | |
261 | 279 | | |
| |||
0 commit comments