A Python project to control Ableton in a musical way, see:
https://youtu.be/fk9_NgEMOIc
To learn more about this you can find my course on "Learning Ableton & Python" right here:
https://www.udemy.com/course/learning-python-with-ableton-live/?referralCode=25036394E9EA5F3C9B57