When Python Meets Ableton
Vložit
- čas přidán 7. 12. 2023
- Part 1 of a series in which I control Ableton Live from Python using my SCAMP Libraries. In this first part, we take a riveting journey through computer settings, play our first notes, and then speed it up to 60,000 BPM.
If you want to try it yourself, you can get the code here: git.sr.ht/~marcevanstein/musi... . To run it, you'll need to install the SCAMP libraries for Computer-Assisted Music in Python. Instructions for getting up and running can be found here: scamp.marcevanstein.com/
If you enjoy these video and/or want to get early access to the whole series, I hope you'll consider supporting me on Patreon: / marcevanstein
Take my course on Kadenze.com, which will guide you step-by-step in getting started with Python and SCAMP: www.kadenze.com/courses/compu...
Further information on lessons and workshops I teach can be found here: teaching.marcevanstein.com/ - Věda a technologie
FL studio has python support as well if you need any ideas for other videos 😉
This seems kind of cool, but how do you sync tempo between Ableton and your script so that you can meaningfully integrate with existing musical passages?
I agree that this would be great. Is there a way that your library can read the Ableton clock via MIDI to set the Tempo and start/stop?
Cool video. is there anyway to use python to save or export?
say for instance, you wanted to let it record a randomized 8bar loop; could you have it record 8 bars and then export then record again and export?
Great videos, very usefull. Is it possible to use studio recorded real instruments samples in scamp ?
Does it has connects with friits?
Monty python? This is excellent!
Super cool looking tool, but please please please do not use import *, especially in a demo or tutorial file! It confuses things later on when you are using keywords that might be variables, inbuilt python functions, or something coming in from your package. (Not a super big issue with the short file used in the vid, but something to consider for future parts).
I would never do that in code that I intend to reuse/import elsewhere, but I guess my feeling is that when it's a simple script that is the endpoint, it doesn't do much harm. It almost makes for a domain-specific language with additional keywords. That said, I guess I take your point that it may not be the best when used in a demo or a tutorial, since that is code that other people may chose to build upon.
@@marcevansteinThe same is true with named imports (e.g., from scamp import Session), without the ambiguity for the user of what exactly is being imported by the wildcard.
is it possible to create audio (not midi) outputs and feed it to ableton as well?
At least in theory that would be possible with virtual audio input bus. But those depend heavily on the OS you are running. The virtual device would be visible as basicly a microphone (although virtual).
If you manage to create that, python's sounddevice module can be used to feed arbitrary PCM encoded music to the virtual bus.
But note that then you don't have the MIDI instruments available. Working with just PCM is a whole new rabbit hole to follow :D
Cool Python package and nice tutorial! Incidentally, I believe it’s “theremin,” not “theramin.”
Cool!!! 😃
thanks for the donut suggestion :)
No problem. They are truly good donuts!
Hello sir,
What is the purpose of Python?
It is a programming language that is somewhat easy to learn for beginners
Cool 6:43