sequencer play fix.

This commit is contained in:
Johannes Findeisen 2026-11-06 22:00:35 +01:00
commit d6ded83beb
16 changed files with 372 additions and 16 deletions

View file

@ -10,6 +10,9 @@ WAVs remain in the ignored build directory. See docs/AUDIO_QUALITY.md for the
listening sequence and the distinction between automated checks and human
listening acceptance. It never starts a backend or plays audio.
`projects/playback-test.xtc` is a four-bar playback check requiring no MIDI
hardware, media or plugins. See [example songs](projects/README.md).
`projects/midi-demo.xtc` is an original media/plugin-free MIDI example installed
under `share/xtc/examples`. See projects/README.md for opening and playback.

View file

@ -1,4 +1,4 @@
# MIDI demonstration
# Example songs
`midi-demo.xtc` is an original MIT-licensed metadata-only example based on the
repository v10 fixture. It contains one A4 MIDI note, a gain node and an output.
@ -10,3 +10,13 @@ Save a working copy in your own folder; installed examples may be read-only.
for the Phase 33 workspace. Its 16 MIDI clips contain 128 notes for built-in sine
voices. It needs no plugins or media. Open it to explore colored tracks, MIDI
previews, clip selection and the piano roll. Save a copy before editing.
## Playback test
Open `playback-test.xtc` with `./build/xtc examples/projects/playback-test.xtc`.
Press Play or Space to hear a four-bar sine melody (eight seconds at 120 BPM).
It uses the built-in instrument and needs no media, plugins or MIDI devices,
even when Preferences remembers disconnected production devices. Missing MIDI
routes produce a warning and their names stay saved for the next start.
Connect xtc's JACK stereo outputs to your speakers to listen. Save a working
copy before editing. The melody is original and MIT-licensed.

View file

@ -0,0 +1,56 @@
XTC_PROJECT 10
APP 0 1 0
TEMPO 120000
IDS 1 1
GRAPH 1 3 3 2
NODE 0 6 00000000
NODE 1 1 3e800000
NODE 2 4 00000000
EDGE 0 1
EDGE 1 2
TRACKS 1
TRACK 0 506c61796261636b207465737420286275696c742d696e2073696e6529
MIX 3f800000 00000000 0 0
ROUTE 0 18446744073709551615
CLIPS 1
CLIP 0 0 0 15360 0 15360 466f75722062617220706c61796261636b2074657374
ASSET -
MIDI 1
AUDIO 3f800000 0 0
NOTES 16 16
NOTE 0 0 0 720 60 96 0
NOTE 1 0 960 720 64 96 0
NOTE 2 0 1920 720 67 96 0
NOTE 3 0 2880 720 72 96 0
NOTE 4 0 3840 720 67 96 0
NOTE 5 0 4800 720 64 96 0
NOTE 6 0 5760 720 62 96 0
NOTE 7 0 6720 720 65 96 0
NOTE 8 0 7680 720 69 96 0
NOTE 9 0 8640 720 72 96 0
NOTE 10 0 9600 720 69 96 0
NOTE 11 0 10560 720 65 96 0
NOTE 12 0 11520 720 67 96 0
NOTE 13 0 12480 720 64 96 0
NOTE 14 0 13440 720 62 96 0
NOTE 15 0 14400 720 60 96 0
AUTOMATION 1
POINT 0 0 0 3f800000 0
CONTROL_MAPS 16
MAP 0 7 10 64
MAP 1 7 10 64
MAP 2 7 10 64
MAP 3 7 10 64
MAP 4 7 10 64
MAP 5 7 10 64
MAP 6 7 10 64
MAP 7 7 10 64
MAP 8 7 10 64
MAP 9 7 10 64
MAP 10 7 10 64
MAP 11 7 10 64
MAP 12 7 10 64
MAP 13 7 10 64
MAP 14 7 10 64
MAP 15 7 10 64
END