import path from "node:path"; import { SONG_DATA, dataFile, stateFile } from "./paths"; import { readJson, withStateLock, writeJsonAtomic } from "./state"; // --------------------------------------------------------------------------- // Trimming the SOURCE CLIPS a song is built from. // // Two kinds of source clip, and only one of them needs anything built: // // um clips already fully editable. /sort, /salvage and /verify are the // Waveform over wav48/