Songs, markers and segues are all set in config files (CSV or JSON), loaded with "Load config" or listed in CONFIG. You can load several; they add together.
CONFIG
next
yes
With no song rows, each audio file is one song named after the file. To split a long recording, add one song row per song: track = audio file, time = start, to = end (blank = end of file), label = name, next = 1 if it should go straight into the following song. The menu lists songs in the order they are registered in the config (songs from later config files, then CONFIG.songs, follow), with any audio files that have no song rows last, and "following" means the next song in that list (even in another file). Each song shows the markers that fall between its start and end, and its clock and seek bar run from its own start. Without next, playback stops at the song's end and the next song is selected, ready to START; with it, playback carries on seamlessly if the next song starts where this one ends in the same file, otherwise it jumps or switches file. Songs with next show a note under the title, with a 10 second countdown.
song
CONFIG.songs
track,time,type,label,to,n,dur,next,cut,exit,now Act1,0:00,song,Overture,3:42.125,,,1,,, Act1,3:42.125,song,Opening Number,9:10.5,,,,, Act1,3:50,cue,Bar 9 Act1,3:50,repeat,,4:30.25,1,,,, Act1,5:02.5,vamp,,5:10,,,,,6:00,1 Act1,5:30,vamp,,5:40,,,,7:15, Act1,6:00,cutoff,,6:30 Act1,6:20,fermata,,6:35 Act1,7:00,caesura,,,,2.5
vampto
Any row can have a label. It appears next to the marker on the seek bar, on its chip, and under the matching button (e.g. under LEAVE VAMP). With no label, a default like "Cue 3" or "Vamp 5:02.50" is used.
python3 audacity_to_csv.py "Overture=overture.txt" "Tracks 1-6=tracks.txt" -o config.csv
CONFIG.config
Label text is [type] [name] [options], with no type meaning a cue. Types: song, cue, repeat, vamp, vampto, vampout, cutoff, fermata, caesura (bar: and section: with a colon also work). Options: > song goes into the next one; x2 repeat count; to=, cut=, exit= (a time or next); dur= caesura seconds; a bare cut on a vamp means "cutoff at the end of the vamp"; a bare now on a vamp makes LEAVE VAMP exit immediately.
[type] [name] [options]
bar:
section:
>
x2
to=
cut=
exit=
dur=
cut
now
vampout
song 1. Omigod You Guys >
Bar 50
vamp Tag cut=next
vamp Pucker cut
cutoff Button
caesura Breath dur=2.5
[ {"track":"Act1","type":"song","label":"Overture","time":"0:00","to":"3:42.125","next":true}, {"track":"Act1","type":"cue","label":"Bar 9","time":"3:50"} ]
The same fields as the CSV columns. You can also group by track: {"Act1":[ ... ]}.
{"Act1":[ ... ]}
Edit CONFIG at the top of the script: audio and config are lists of URLs, and songs is a list like {file, name, start, end, next} (same as song rows). A loading screen shows until everything is in. The files must be reachable from where this page is hosted.
audio
config
songs
{file, name, start, end, next}