Completes the bank whose first half went in with the scene commits. The remaining work was all in what "covered" means. Two axis ranges were wrong, and being wrong made the coverage report lie in both directions. Loudness is a raw mean spectral magnitude, not a normalised 0..1, so every song read as 0.00 and the axis looked dead. Centroid is mapped to a log frequency axis, so a track of nothing but sub-bass and a 55Hz pad still measures 0.28 and pure hiss measures 0.93 — against a nominal [0,1] the bank would have reported a permanent 50% gap that no synth change could close. Both now carry the range the statistic can really take on, with the reason. Spread on every axis is not coverage of the space, so the tool also measures correlation between axes. It immediately found brightness and noisiness moving together at r=0.95: noise colour had been tied to brightness, one axis wearing two names, leaving the dark-and-noisy quadrant unreachable. Noise colour is now its own parameter — hiss over a sub-bass pad is an ordinary record. That got r to 0.94, and no further. Flatness is the geometric mean of the spectrum over its arithmetic mean across the whole band, so a signal only measures flat if it has energy everywhere, which is the same thing as measuring bright; band-limiting the noise to hold the centroid down empties the top and drops the flatness with it. It is a property of the analyser and real material does the same, so it is allowlisted with its reason. Anything not on that list still fails — the check is there to catch a bank that has collapsed, not to relitigate physics every run. The output is gitignored. It is 172MB of deterministic audio derived from a table that will keep changing: rebuild it, do not carry it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
26 lines
691 B
JSON
26 lines
691 B
JSON
{
|
|
"name": "flow-state",
|
|
"version": "1.0.0",
|
|
"description": "Ambient/EDM music video generator with a deterministic render core",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint:scenes": "node tools/lint-scenes.js",
|
|
"test": "node --test test/*.test.js",
|
|
"new:scene": "node tools/new-scene.js",
|
|
"build:songs": "node tools/build-song-bank.js",
|
|
"check:songs": "node tools/build-song-bank.js --check",
|
|
"cast:census": "node tools/cast-census.js"
|
|
},
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"vite": "^7.2.2"
|
|
},
|
|
"dependencies": {
|
|
"mp4-muxer": "^5.2.2",
|
|
"three": "^0.181.1"
|
|
}
|
|
}
|