Repository navigation
Errors and Edge Cases
Every error below was printed by mw.py 0.1.17 (tag v0.1.17, 6eef41b; 0.1.19 changed none of them except the SFT pack refusal, on Commands) in the runs these pages come from, unless it says "from the code". The behaviour notes are things the README and the skills do not say.
| Code | When | Where the message goes |
|---|---|---|
| 0 | the command did its job, including doctor when nothing is reachable |
one JSON object on standard output |
| 1 |
"ok": false: a missing file, a bad value, ffmpeg failing, a host that does not answer, librosa missing for analyze or transcribe
|
one JSON object on standard output, with command and error (and fix when librosa is missing) |
| 2 | an argument error caught by argparse: a missing required option, a value not in the choices | usage text on standard error; nothing on standard output |
An argparse error is the one failure that is not JSON:
python mw.py verdict take_s1.flac great[stderr] usage: mw.py verdict [-h] [--note NOTE] [--by BY] take {keep,reject,maybe}
mw.py verdict: error: argument verdict: invalid choice: 'great' (choose from keep, reject, maybe)
[exit 2]
That is Python 3.14.4 on Linux. Python 3.14.6 on Windows quoted the choices ('keep', 'reject', 'maybe'); the text comes from argparse, not from mw.py.
With no ffmpeg on PATH and no MUSICWRIGHT_FFMPEG, an audio command names the first tool it looked for (measure asks ffprobe first):
python mw.py measure take.wav{
"ok": false,
"command": "measure",
"error": "ffprobe not found on PATH; install ffmpeg (winget install ffmpeg, brew install ffmpeg, apt install ffmpeg) or set MUSICWRIGHT_FFMPEG"
}
[exit 1]
When ffmpeg runs and fails, the error is ffmpeg failed (<code>): followed by the last six lines of ffmpeg's own error output. In 0.1.0's runs the code was 254 on Linux and 4294967294 on Windows for the same failure (printed unsigned there), and the program's name is ffmpeg.EXE on Windows.
On Linux with the static ffmpeg 7.0.2 build from johnvansickle.com, 0.1.1's mixcheck stopped on take.wav (44.1 kHz) and take_s1.flac (8 kHz), and so did compare, which runs it. ffmpeg aborted at the end of the file (code -6) with Assertion best_input >= 0 failed at src/fftools/ffmpeg_filter.c:1923, and mixcheck printed that as its error and exited 1. The abort comes when the 48 kHz stream mixcheck analyses does not end on a whole second (the 0.1.2 CHANGELOG). Since 0.1.2, when ffmpeg's error names best_input, mw.py pads a copy of the file with silence to the next whole second at 48 kHz and measures that. The same command on the same build now prints:
python mw.py mixcheck take.wav hot.wavThe output (Linux run, ffmpeg 7.0.2)
{
"ok": true,
"files": [
{
"file": "take.wav",
"duration_s": 45.0,
"lufs_i": -16.0,
"true_peak_dbtp": -4.3,
"plr_db": 11.7,
"psr_db": 10.9,
"contour": {
"short_term_p10": -17.1,
"short_term_median": -16.0,
"short_term_p90": -15.2,
"spread_lu": 1.9,
"loudest_10s_at_s": 24,
"by_tenth_lufs": [
-15.6,
-16.0,
-16.0,
-16.0,
-16.2,
-16.0,
-16.2,
-16.0,
-15.9,
-16.0
]
},
"bands_db": {
"sub": -17.5,
"bass": -5.6,
"lowmid": -6.8,
"mid": -20.1,
"presence": -42.7,
"sibilance": -47.5,
"air": -50.9
},
"lowmid_excess_db": 6.1,
"presence_db": -39.0,
"stereo": {
"correlation": 1.0,
"low_correlation": 1.0,
"mono_fold_db": -0.0
},
"flags": [
{
"code": "MUDDY",
"says": "250-500 Hz sits 6.1 dB above the bass and mid bands' average",
"try": "with stems, cut 250-500 Hz on the pad or keys (not the bass); in a prompt, ask for fewer sustained low-mid parts"
}
]
},
{
"file": "hot.wav",
"duration_s": 6.0,
"lufs_i": -2.2,
"true_peak_dbtp": 0.0,
"plr_db": 2.2,
"psr_db": 2.2,
"contour": {
"short_term_p10": -2.2,
"short_term_median": -2.2,
"short_term_p90": -2.2,
"spread_lu": 0.0,
"loudest_10s_at_s": 0,
"by_tenth_lufs": []
},
"bands_db": {
"sub": -56.1,
"bass": -20.6,
"lowmid": -5.0,
"mid": -8.2,
"presence": -30.0,
"sibilance": -43.2,
"air": -53.1
},
"lowmid_excess_db": 9.4,
"presence_db": -29.6,
"stereo": {
"correlation": 1.0,
"low_correlation": null,
"mono_fold_db": -0.0
},
"flags": [
{
"code": "OVER-LIMITED",
"says": "peak-to-loudness ratio 2.2 dB (under 8): squashed; after streaming normalisation it plays duller, not louder",
"try": "master to the destination preset without extra limiting, or re-roll; never add compression to AI output"
}
]
}
],
"reading": "pointers for what to listen to, not verdicts: analysers miss timing and character. bands_db are each band's level against the whole mid signal; plr_db is true peak minus integrated loudness; mono_fold_db is the level lost when both channels are summed"
}
[exit 0]
Those numbers are the Windows run's (ffmpeg 9.0.1, where no padding is needed; Commands), and compare matched too. The padding is silence, and on a file that is not whole seconds long it lowered the loudness 0.1.2 read and rounded duration_s up. Since 0.1.3 the padded copy is still measured for the bands, stereo and contour, but integrated loudness and true peak come from the original file, and duration_s is the file's real length. A 3.5-second 44.1 kHz tone shows it:
ffmpeg -v error -f lavfi -i "sine=frequency=440:sample_rate=44100:duration=3.5" -ac 2 part35.wav
python mw.py mixcheck part35.wavThe output (Linux run, ffmpeg 7.0.2)
[exit 0]
{
"ok": true,
"files": [
{
"file": "part35.wav",
"duration_s": 3.5,
"lufs_i": -21.8,
"true_peak_dbtp": -21.1,
"plr_db": 0.7,
"psr_db": 0.7,
"contour": {
"short_term_p10": -21.8,
"short_term_median": -21.8,
"short_term_p90": -21.8,
"spread_lu": 0.0,
"loudest_10s_at_s": 0,
"by_tenth_lufs": []
},
"bands_db": {
"sub": -51.5,
"bass": -20.5,
"lowmid": -5.0,
"mid": -8.6,
"presence": -55.1,
"sibilance": -74.6,
"air": -83.8
},
"lowmid_excess_db": 9.6,
"presence_db": -54.3,
"stereo": {
"correlation": 1.0,
"low_correlation": null,
"mono_fold_db": -0.0
},
"flags": [
{
"code": "OVER-LIMITED",
"says": "peak-to-loudness ratio 0.7 dB (under 8): squashed; after streaming normalisation it plays duller, not louder",
"try": "master to the destination preset without extra limiting, or re-roll; never add compression to AI output"
}
]
}
],
"reading": "pointers for what to listen to, not verdicts: analysers miss timing and character. bands_db are each band's level against the whole mid signal; plr_db is true peak minus integrated loudness; mono_fold_db is the level lost when both channels are summed"
}
[exit 0]
The Windows run printed the same duration_s (3.5), lufs_i (-21.8), true_peak_dbtp (-21.1) and flags. 0.1.2 on the 7.0.2 build, run once by hand for this page, read the same file as 4 seconds at -22.0 LUFS. Since 0.1.6 the short-term contour drops the seconds that reach into the padding, so both builds print -21.8 (0.1.3 printed -22.5 on 7.0.2). What still differs on the padded copy is the near-empty bands (sub -51.5 against -54.4 dB).
mixcheck --lowest C4 on the 8 kHz mono take_s1.flac passes with the same flags and below_lowest on both builds, and its bands agree within 0.2 dB down to mid; the near-empty presence and sibilance bands (under -70 dB) differ by a few dB. Since 0.1.6 its true peak agrees too: -10.5 dBTP and a plr_db of 7.5 on both builds, as measure reads it (Commands). 0.1.3 to 0.1.5 printed -13.5 on the normal pass, because the stereo layout spread back up the filter graph, and 0.1.2 printed -13.5 on both builds. The 48 kHz wide.wav and monobass passed on the 7.0.2 build in 0.1.1 already. A snapshot build from the same site (N-71064, 2024) aborted the same way in 0.1.1; it was not rerun for 0.1.2 or 0.1.3. With 0.1.1 and such a build, convert the file to 48 kHz first (python mw.py edit take.wav --rate 48000 --out take48.wav; not run for this wiki), or use another ffmpeg.
Since 0.1.1 the commands that write a file create a missing --out folder: master, edit, join, loop, duck and sheet, and the new commands that write files. In 0.1.0, master, edit, join, loop and duck failed with ffmpeg's "No such file or directory":
python mw.py master take.wav --preset streaming --out new/folder/take_streaming.wav{
"ok": true,
"out": "<work>/new/folder/take_streaming.wav",
"preset": "streaming",
"target": {
"lufs": -14,
"true_peak": -1.0
},
"preset_note": "Spotify normalises to -14 LUFS; keep TP below -1 dBTP (-2 if the master is louder than -14). YouTube turns loud tracks down to about -14.",
"lra_hint": "wide is fine: normalisation turns loud masters down, so dynamics cost nothing here",
"normalization": "linear",
"before": {
"lufs_i": -16.0,
"true_peak_dbtp": -4.3,
"lra": 1.9
},
"after": {
"lufs_i": -13.9,
"true_peak_dbtp": -2.2,
"lra": 1.9,
"duration_s": 45.0,
"sample_rate": 48000
},
"warnings": []
}
[exit 0]
gen creates --out only for a real run, after it has checked the recipe and the options; a dry run creates nothing. After the gen errors below, takes/ did not exist, and music/none/ did, made by the two runs against a closed port (Linux run):
takes exists: False
music/none exists: True
new refuses a folder that already has music.json:
python mw.py new music/menu --name "Main menu" --use game-loop{
"ok": false,
"command": "new",
"error": "music/menu already has music.json"
}
[exit 1]
Since 0.1.1 it also refuses a --preset that is not in loudness.json, before it creates anything (0.1.0 wrote the misspelt name into music.json):
python mw.py new music/odd --name "Odd" --use song --preset louder{
"ok": false,
"command": "new",
"error": "unknown preset louder; choose from apple, broadcast, broadcast-us, game-console-mix, game-mobile-mix, game-music, streaming, web-video"
}
[exit 1]
python mw.py gen --recipe acestep-turbo --caption "x" --dry-run
python mw.py gen --duration 30 --dry-run
python mw.py gen --caption "ambient pads" --seeds 5 --host http://127.0.0.1:9 --out music/none
python mw.py gen --recipe acestep-rest --caption "ambient pads" --seeds 5 --host http://127.0.0.1:9 --out music/none
python mw.py gen --caption "ambient pads" --set "{temperature: 1}" --dry-run{
"ok": false,
"command": "gen",
"error": "unknown recipe acestep-turbo; choose from acestep-rest, acestep-rest-lego, acestep-xl-base, acestep-xl-sft, acestep-xl-sft-classic, acestep-xl-sft-pack, minimax-music3, stable-audio3-medium, yue2-3b-int8"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "give --caption or --caption-file"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "no ComfyUI host can run this recipe: http://127.0.0.1:9: unreachable (URLError)"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "no ACE-Step REST server at http://127.0.0.1:9 (URLError); start it (see musicwright-generate references/acestep-rest.md) or use a comfy recipe"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)"
}
[exit 1]
The third and fourth commands point at a closed port, so nothing was submitted. The errors for --task, --src and --track are on Commands. Behaviour to know:
- A host may be given as
127.0.0.1:8001;http://is added. In 0.1.0 a host without it read as "unreachable (URLError)". - With several ComfyUI hosts,
gentakes the first that answers and lists the recipe's diffusion model; when none can, the error says why each was skipped ("unreachable" or "no "). A dry run takes the first host in the list without asking it. - A ComfyUI job that fails stops
genwithComfyUI job <id> failed: ...; a graph ComfyUI rejects stops it withComfyUI rejected the graph: ...; waiting longer than--timeout(default 3600 s) stops it withtimed out after <n> sand the jobs still pending (from the code). Jobs already queued keep running on the host. -
--no-waitreturns once the jobs are queued and logs each as aqueuedrow in the ledger (since 0.1.6).gen --collect DIRfetches the finished ones (Commands). On the REST route--no-waitis an error. - When a seed's file name is taken, the next take is saved as
<name>_s<seed>_2.<ext>, then_3(from the code). - On the REST route,
--sampler,--schedulerand--plannerare not used, and the result lists them underignored(from the code).
--task errors for the ComfyUI recipes, and the error for a host without the custom node:
python mw.py gen --task extract --src take.wav --track drums --dry-run
python mw.py gen --recipe acestep-xl-base --task extract --src take.wav --dry-run
python mw.py gen --task cover --hints --strength 0.5 --src take.wav --caption "x" --dry-run
python mw.py gen --recipe acestep-rest --task cover --hints --src take.wav --caption "x" --dry-run{
"ok": false,
"command": "gen",
"error": "--task extract in ComfyUI needs the base checkpoint: use --recipe acestep-xl-base (or acestep-rest)"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "--task extract needs --track, one of: woodwinds, brass, fx, synth, strings, percussion, keyboard, guitar, bass, drums, backing_vocals, vocals"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "--hints runs at denoise 1, so --strength does not apply"
}
[exit 1]
{
"ok": false,
"command": "gen",
"error": "--hints is for --task cover on an ACE-Step ComfyUI recipe (REST cover already uses the source's audio codes)"
}
[exit 1]
python mw.py gen --recipe acestep-xl-base --task extract --src take.wav --track drums --duration 45 --seeds 31 --name drums --host http://127.0.0.1:18199 --out music/parts{
"ok": false,
"command": "gen",
"error": "http://127.0.0.1:18199 has no MWAceStep15ExtractGuider node; copy <plugin>/skills/musicwright/comfy_nodes/musicwright_nodes into ComfyUI's custom_nodes folder and restart ComfyUI, or use --recipe acestep-rest"
}
[exit 1]
The port is a stand-in with no custom nodes. The --no-wait and --collect errors:
python mw.py gen --recipe acestep-rest --caption "ambient pads" --seeds 5 --no-wait --out music/none{
"ok": false,
"command": "gen",
"error": "--no-wait is for ComfyUI recipes; the REST route waits for each take"
}
[exit 1]
python mw.py gen --collect music/nowhere{
"ok": false,
"command": "gen",
"error": "no ledger.jsonl at or above music/nowhere"
}
[exit 1]
An extract without --caption sends an empty "text" in the graph since 0.1.8 (see the dry run on Commands). 0.1.7 sent null, which ComfyUI's validation would have turned into the caption None.
The ACE-Step graph always carries a tempo and a key. Without --bpm and --key they are 90 bpm and C major, because the recipes set neither and gen falls back to those values. Since 0.1.1 the result says so in filled_in (the acestep-xl-sft-classic dry run on Commands). The brief template's "Tempo feel and key (or leave to the model)" therefore means C major at 90 bpm to ACE-Step: pass --bpm and --key whenever the brief has them. The MiniMax Music 3 graph has no tempo or key input; given anyway, they are listed under ignored, so put them in the caption's Global Metadata. The REST recipes send them only when given.
master runs ffmpeg's loudnorm twice and asks for one linear gain (linear=true). When loudnorm declines, normalization is "dynamic". There are two reasons, and since 0.1.1 the warning names the one that applies:
- The source has almost no loudness range (its first-pass LRA is under 1 LU), as a steady tone or drone has. loudnorm then used dynamic mode whichever way the gain went: turning the steady test tone down to
broadcast(Commands) and turning it up 1.3 LU both came back dynamic. The warning says peaks were not the cause. - Otherwise the warning is "loudnorm fell back to dynamic mode (the target needs more gain than the peaks allow); dynamics were changed. Lower the target or accept it." (from the code; no run here met it).
python mw.py master tone.wav --lufs -12 --tp -1 --out out/tone_up.wav{
"ok": true,
"out": "<work>/out/tone_up.wav",
"preset": "custom",
"target": {
"lufs": -12.0,
"true_peak": -1.0
},
"preset_note": null,
"lra_hint": null,
"normalization": "dynamic",
"before": {
"lufs_i": -13.3,
"true_peak_dbtp": -5.2,
"lra": 0.0
},
"after": {
"lufs_i": -12.0,
"true_peak_dbtp": -3.6,
"lra": 0.0,
"duration_s": 12.0,
"sample_rate": 48000
},
"warnings": [
"loudnorm used dynamic mode on a source with almost no loudness range (LRA 0.0), as it does on steady tones and drones; peaks were not the cause. Check the result's level; the sound is usually unchanged."
]
}
[exit 0]
Files whose measured range was above zero (the stand-in take at 1.9 LU, the joined score at 8.3 LU, the trimmed download at 0.3 LU) got linear for every target tried. The numbers still landed on the target here (-23.0 and -12.0 LUFS). The produce skill's advice for fades follows from this: fade before master when it reports linear, after it when it reports dynamic.
0.1.1 changed seam's level_jump_db from the first and last 50 ms to the median of 50 ms windows over the first and last half second, so that a loop starting on a drum hit would read clean (its CHANGELOG says it "no longer calls a loop that starts on a drum hit a level jump"). On the stand-in take it helped but did not get there: 3.5 dB, "check by ear". 0.1.2 reads each end's level from a robust line (Theil-Sen) through those window levels, taken at the seam, so a first-beat hit is one outlier and a swell running through the seam is music, not a jump. The 12-bar loop from 5.0 s, which starts on the kick, now reads clean:
python mw.py loop take.wav --start 5 --bars 12 --bpm 96 --xfade 1.5 --out out/take_loop.wav --ogg{
"ok": true,
"out": "<work>/out/take_loop.wav",
"loop_length_s": 30.0,
"source_window_s": [
5.0,
36.5
],
"xfade_s": 1.5,
"seam": {
"file": "out/take_loop.wav",
"seam_jump": 262,
"p99_step": 308,
"ratio": 0.85,
"level_jump_db": 1.29,
"verdict": "clean"
},
"ogg": "<work>/out/take_loop.ogg",
"ogg_note": "LOOPSTART/LOOPLENGTH (in samples) are read by RPG Maker and some players; Unity ignores them, so set Loop on the AudioSource and import the WAV or this OGG",
"bars": 12,
"bpm": 96.0
}
[exit 0]
| Loop | 0.1.0 level jump | 0.1.1 level jump | 0.1.1 verdict | 0.1.2 level jump | 0.1.2 verdict |
|---|---|---|---|---|---|
| 12 bars from 5.0 s (on the kick) | 4.51 dB | 3.5 dB | check by ear | 1.29 dB | clean |
| 12 bars from 5.3 s | 0.47 dB | 2.58 dB | clean | 0.3 dB | clean |
| window 2.5 to 40 s | 0.4 dB | -0.08 dB | clean | 0.27 dB | clean |
| a tone that drops to half level (Commands) | not run | not run | 6.02 dB | audible seam likely |
The kick here is a strong decaying hit every 0.625 s, so the first half second holds a whole attack and the last half second mostly decay; 0.1.1's median still saw that as a step. A level that really steps at the loop point still reads as a seam in 0.1.2. Read the ratio first (0.85 here); when only the level jump is high and the loop starts on a beat, listen at the seam rather than moving the start.
- Since 0.1.1 an audio output keeps the music's length: the 46-second score ducked under the 20-second dialogue file came out 46 seconds long (0.1.0 cut it to 20 without a warning). A video output still ends with the video: 20 seconds for the 20-second stand-in cut (Commands).
- Without
--stemthe output is the ducked music mixed with the--underaudio.--stemwrites the ducked music alone, at its own length. The result'sreturnsfield says which you got. - The video is remuxed only when
--underhas a video stream and--outends in.mp4,.movor.mkv; otherwise the output is audio in the format of--out.
monobass sends the mid signal of the lows to both channels. Lows that are in exactly opposite phase in the two channels have no mid, so they disappear: the stand-in wide.wav lost its 55 Hz bass and 3.1 LU of loudness, and low_correlation became null (Commands). mixcheck flags such a file LOW-WIDE and MONO-LOSS and suggests monobass; listen to the result.
python mw.py curve arc.wav --shape nonsense
python mw.py curve arc.wav --shape 0:-20
python mw.py curve nothing.wav --shape 0:-30,end:-24
python mw.py curve hardcut.wav --shape 0:-30,end:-24{
"ok": false,
"command": "curve",
"error": "--shape point 'nonsense' needs time:lufs"
}
[exit 1]
{
"ok": false,
"command": "curve",
"error": "--shape needs at least two points"
}
[exit 1]
{
"ok": false,
"command": "curve",
"error": "no such file: nothing.wav"
}
[exit 1]
{
"ok": false,
"command": "curve",
"error": "hardcut.wav: under 3 s of measurable short-term loudness"
}
[exit 1]
Two points at the same time are not refused. On the 40-second arc.wav, 20:-18,50%:-14 both land on 20 s. Since 0.1.8 the output skips the zero-length span that 0.1.7 printed, going from 0 to 20 and then 20 to 40:
python mw.py curve arc.wav --shape 0:-30,20:-18,50%:-14,end:-24The output
{
"ok": true,
"shape": "0:-30,20:-18,50%:-14,end:-24",
"absolute": false,
"takes": [
{
"file": "arc.wav",
"duration_s": 40.0,
"offset_lu": 2.7,
"rms_error_lu": 2.43,
"correlation": 0.81,
"worst_s": 40,
"worst_error_lu": -7.1,
"spans": [
{
"from_s": 0.0,
"to_s": 20.0,
"target_lufs": [
-30.0,
-18.0
],
"mean_error_lu": 1.8
},
{
"from_s": 20.0,
"to_s": 40.0,
"target_lufs": [
-14.0,
-24.0
],
"mean_error_lu": -1.5
}
],
"rank": 1
}
],
"reading": "rank 1 follows the shape best. rms_error_lu is the miss after removing the level offset (--absolute keeps it): under about 2 LU follows the curve, over 4 does not. mean_error_lu per span says where: plus is too loud there, minus too quiet. correlation near 1 means it rises and falls with the target even when the depth differs. Short-term loudness lags up to 3 s, so a hit in the shape reads late; the first 3 s are skipped"
}
[exit 0]
0.1.1's pulse called m1.wav, a slowly swelling tone with no beat, "steady" at 120 bpm, with an ioi_cv of 3.39: the swell's small ripples counted as onsets. Since 0.1.2 it reports onset_rise_db, the median level rise over an onset, and says none with a why when that is under 1 dB. m1.wav reads 0.41 dB and none; the stand-in take's kick reads 6.46 dB and stays steady (Commands). 0.1.2 still printed the autocorrelation's best tempo beside none (120.0 for m1.wav, with a grid_deviation and grid_chance); since 0.1.3 those three fields are null when pulse is none, so a script cannot read a tempo that is not there.
-
transcribeneeds librosa for pyin; without it, it exits 1 with auv runline, likeanalyze(Commands). basic-pitch is never installed for you;doctorreports whether it is found. - pyin split most notes of the rendered fixture tune in two (47 notes for 25), and wrote the repeat out. Pitches and key came back right.
-
renderwithout--outor--check, or with a MIDI file as--out:
python mw.py render tune.abc
python mw.py render tune.abc --out out/tune.mid{
"ok": false,
"command": "render",
"error": "give --out (an audio file), or --check to only read the score"
}
[exit 1]
{
"ok": false,
"command": "render",
"error": "--out is the MIDI file; give an audio file (.wav, .flac, .mp3, .ogg) and --midi for the MIDI"
}
[exit 1]
- Without FluidSynth and a SoundFont,
render --synth autouses the built-in sketch synth and warns. A tab has no rhythm, and an ABC file withoutQ:plays at 120; both get a warning (Commands).
- Since 0.1.1,
verdictfails on a path that is neither a file nor a take the ledger logged (Commands). 0.1.0 recorded it anyway. - A file
gennever logged is recorded by its stem (flute_s63389) with"matched_take": falseand no recipe. 0.1.0 used the file name with its extension. -
ledgerlists only takesgenlogged, so such a verdict does not appear inledger's output. - When no ledger is found at or above the take,
verdictcreatesledger.jsonlin the take's folder (from the code).
python mw.py ledger music/nowhere{
"ok": false,
"command": "ledger",
"error": "no ledger.jsonl at or above music/nowhere"
}
[exit 1]
| Command | Error | Shown on |
|---|---|---|
measure, sheet, master, edit, loop, seam, duck and the other commands that read audio |
no such file: <path> |
Commands |
master |
unknown preset <name>; choose from ...; --peak is a level in dBFS at or below 0, such as -6
|
Commands |
edit |
end must be after start |
Commands |
join |
join needs two or more files, --lengths needs one value per file
|
Commands |
loop |
loop needs <n> s of source but the file is <n> s; lower --bars or --start, --bars needs --bpm, loop body must be longer than the crossfade
|
Commands |
mix |
--gains needs one value per file (<n>), got <n>, --automate <spec>: file number must be 1 to <n>, with at least one breakpoint
|
Commands |
seam |
file too short for a seam check (under 1,000 samples; from the code) |
|
analyze, transcribe
|
librosa is not installed in this Python, with a fix line |
Commands |
ledger |
no ledger.jsonl at or above <dir> |
above |
This wiki describes musicwright 0.1.19 (tag v0.1.19, commit 3211a94) and was last updated on 2026-11-07. The plugin is MIT licensed. Report problems in the issues.
Using it
- Getting started
- Commands
- Recipes and loudness presets
- The project contract and studio
- Workflows
- Errors and edge cases
- FAQ
- Works with
The skills
- musicwright (hub)
- musicwright-generate
- musicwright-compose
- musicwright-produce
- musicwright-game
- musicwright-score
- musicwright-curate
The releases
Contributing
Elsewhere