This repository implements the algorithm for discovering repeated patterns in symbolic music as described in the paper: Yo-Wei Hsiao, Tzu-Yun Hung, Tsung-Ping Chen, Li Su, "BPS-Motif: A Dataset for Repeated Pattern Discovery of Polyphonic Symbolic Music," International Society of Music Information Retrieval Conference (ISMIR), November 2023.
- numpy
- pretty_midi
- Beethoven Piano Sonata Motif Dataset
- Baseline algorithms
- Clone all required datasets and repositories, and put all data in the same file.
- Execute experiments.py.
- For the algorithm described in the paper, see find_motives in SIA.py.