Volume 8,Issue 9
Adapting Anticipatory Music Transformer for Turn-Based MIDI Call-and-Response
This work adapts a frozen Anticipatory Music Transformer to turn‑based MIDI call‑and‑response without retraining model weights. Centered on external engineering‑level adaptation, the integrated solution incorporates MIDI phrase boundary detection, phrase‑level musical constraints, asynchronous multithreaded scheduling, and speculative pre‑loading, with no modification to underlying model parameters. We conduct comparative evaluation of candidate schemes, A0‑A6 module ablation studies, and scheduler playback tests based on fixed playback data. A total of 27 000 candidate records and 63 000 ablation records are obtained on the Call100 dataset, alongside 18 000 records from scheduler tests. The mean composite objective score of the controlled AMT rises from 0.561 to 0.733, though the rule‑based motive baseline still achieves the highest score at 0.753. Within the scheduler model, the mean latency from confirmed phrase end to readiness of the first generated event decreases from 101.5 ms to 86.5 ms, and the target readiness‑miss rate drops from 20.7 % to 5.2 %. These results support inferences drawn from structural proxy metrics and scheduler‑level measurements; they do not equate to validation of actual MIDI transmission, audio onset, or human performer evaluation. No human‑participant data are analysed or reported in this paper.
[1] Boulanger-Lewandowski N, Bengio Y, Vincent P, 2012, Modeling High Dimensional Sequences With Temporal Dependencies: Application to Polyphonic Music Generation and Transcription. Proceedings of the 29th International Conference on Machine Learning: 1159–1166.
[2] Thickstun J, Hall D, Donahue C, et al., 2023, Anticipatory Music Transformer. arXiv preprint arXiv:2306.08620.
[3] Eck D, Schmidhuber J, 2002, Learning the Temporal Structure of Music With LSTM Recurrent Networks. Neural Computation, 14(11): 2607–2625.
[4] Kalkhake T, Dubnov S, 2026, Towards Real Time Human AI Collaborative Music Performance: Accompaniment Generation Using Latent Diffusion Models and Max/MSP. arXiv preprint arXiv:2604.07612.
[5] Privato N, Lampado O, Novello A, 2022, Scramble Live: Real Time Musical Interaction Combining LSTM and Markov Chains. Proceedings of the 19th Sound and Music Computing Conference.
[6] Ji SL, Yang XY, Luo J, 2023, A Survey of Deep Learning for Symbolic Music Generation: Representations, Algorithms, Evaluation and Challenges. ACM Computing Surveys, 56(1): 1–39.
[7] Lerch A, Arthur C, Kinns B, et al., 2025, A Survey of Evaluation for Music Generation Models. ACM Computing Surveys.
[8] Daley DJ, Vere-Jones D, 2003, An Introduction to the Theory of Point Processes: Volume I: Elementary Theory and Methods. 2nd ed. New York: Springer.
[9] Dannenberg RB, 1985, Online Algorithms for Real Time Accompaniment. Proceedings of the 1984 International Computer Music Conference: 193–198.
[10] Madsen ST, Widmer G, 2006, MIDI Voice Separation. Proceedings of the 7th International Conference on Music Information Retrieval: 57–60.
[11] Ura S, Simon I, Dillmann S, et al., 2020, Full of Feeling: Learning Expressive Music Performance. Neural Computing and Applications, 32: 9559–9567.
[12] Lago NP, Kong F, 2004, A Quest for Low Latency. Proceedings of the International Computer Music Conference: 33–36.
[13] Rotondi C, Shafi C, Aloisio C, et al., 2016, A Survey of Networked Music Performance Techniques. IEEE Access, 4: 8823–8843.
[14] Holtzman A, Buys J, Du L, et al., 2020, The Curious Case of Neural Text Degeneration. Proceedings of the International Conference on Learning Representations.
[15] Nelson M, Thom B, 2004, A Survey of Real Time MIDI Performance. Proceedings of the International Conference on New Interfaces for Musical Expression: 35–38.