Round-off: README render routes, tune scripts create midi/ if missing
Fresh-clone test passes end-to-end: clone -> build_all.sh -> all four tunes generate, verify, render and pass audio checks with no prior state.
This commit is contained in:
1 parent
72a337f50f
commit
60c485268b
4 files changed
+7
-2
No files matched your search
@@ -31,8 +31,10 @@ python3 tests/smoke_test.py # library self-test
|
|||||||
python3 tools/make_tune.py tunes/specs/04_tea_break_at_the_terminal.json --render
|
python3 tools/make_tune.py tunes/specs/04_tea_break_at_the_terminal.json --render
|
||||||
```
|
```
|
||||||
|
|
||||||
Rendering needs `timidity` + a GM soundfont (`FluidR3_GM.sf2`). Note:
|
Rendering needs `timidity` + a GM soundfont (`FluidR3_GM.sf2`, MIT —
|
||||||
Debian's timidity build has no `-O2` mode — use `-Ow -s 44`.
|
`apt install fluid-soundfont-gm`), or skip soundfonts entirely and render
|
||||||
|
through OPL3 emulation — see [OPL3 rendering](#opl3-rendering-the-authentic-one).
|
||||||
|
Note: Debian's timidity build has no `-O2` mode — use `-Ow -s 44`.
|
||||||
|
|
||||||
**AI agents**: see [AGENTS.md](AGENTS.md) — the JSON spec format is the
|
**AI agents**: see [AGENTS.md](AGENTS.md) — the JSON spec format is the
|
||||||
agent-friendly front door; no Python required to make a tune.
|
agent-friendly front door; no Python required to make a tune.
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ def build():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
os.makedirs(os.path.dirname(OUT), exist_ok=True)
|
||||||
mf = build()
|
mf = build()
|
||||||
mf.write(OUT)
|
mf.write(OUT)
|
||||||
d = verify(OUT, min_sec=40, max_sec=120)
|
d = verify(OUT, min_sec=40, max_sec=120)
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ def build():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
os.makedirs(os.path.dirname(OUT), exist_ok=True)
|
||||||
mf = build()
|
mf = build()
|
||||||
mf.write(OUT)
|
mf.write(OUT)
|
||||||
d = verify(OUT, min_sec=50, max_sec=150)
|
d = verify(OUT, min_sec=50, max_sec=150)
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ def build():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
os.makedirs(os.path.dirname(OUT), exist_ok=True)
|
||||||
mf = build()
|
mf = build()
|
||||||
mf.write(OUT)
|
mf.write(OUT)
|
||||||
dd = verify(OUT, min_sec=30, max_sec=120)
|
dd = verify(OUT, min_sec=30, max_sec=120)
|
||||||
|
|||||||
Reference in new issue
Block a user