Guide Track v4 Timing Fix - Pressure Glass
Guide Track v4 Timing Fix - Pressure Glass
Problem
John reported that the Pressure Glass v4 guide was 3:10 long, but only the first minute or so had actual sound. He also noted the other guide tracks behaved similarly.
Diagnosis
The v4 JSON section map declares 108 beats at 82 BPM, which is about 79 seconds of composition. The earlier rendered MP3 was 190 seconds because `midi-arranger-v5.py` serialized note durations as extra delay when notes overlapped inside a track. That created long quiet tails and misleading MP3 durations.
Fix
Updated `projects/the-slow-aurora/scripts/midi-arranger-v5.py` so notes, chords, and drum hits are scheduled by absolute tick and converted to MIDI delta times at save time.
Verification
- Python compile passed.
- Rerendered `guide-track-v4.mid` and `guide-track-v4.mp3`.
- Fixed MIDI duration: about 79.0 seconds.
- Fixed MP3 duration: about 87.33 seconds including render tail.
- Segment levels:
- 0s segment: mean about `-21.0 dB`, max about `-1.8 dB` - 30s segment: mean about `-17.8 dB`, max about `-1.8 dB` - 60s segment: mean about `-21.5 dB`, max about `-3.0 dB`
Result
`guide-track-v4.mp3` now matches the actual study-led composition duration instead of carrying a long silent tail.