Clingo.Drum.Machine.Demo.mov
This project is an interactive drum machine built with Python and Clingo. It allows you to choose which sounds will represent the kick, snare, and hi-hat. Using Answer Set Programming (ASP) via Clingo, the system then analyzes and selects the best combination of sound design and rhythm pattern.
The solver evaluates multiple beat configurations and selects the optimal loop based on centroid, spectral spread, and maximum peak, aiming to create a musically cohesive and dynamic groove. This fusion of audio analysis and logic programming results in a powerful tool for generative beat creation.
python3 -m venv venv
source venv/bin/activate(venv) pip install -r requirements.txt(venv) python Python/main.py(venv) black .