Controlling Ableton with Code - my live-coding setup and light tutorial
Музыка
I have spent the last three years learning to make music with code. This is a walkthrough of my setup, and how I control Ableton using a live-coding tool called TidalCycles.
I do not think this is by any means the best way to make music, it is just a way that I enjoy making music. A lot of my practice is improvisational, and this is a method that allows me to make electronic music on-the-fly with code.
I am using Ableton Pro as my DAW, and using TidalCycles to sequence MIDI note patterns. I use OBS to capture my screens and Premiere Pro to edit. This is an example SuperCollider server file that helps me route my MIDI from SuperCollider to Ableton - note: this is using MacOS. Link: gist.github.com/dqgorelick/13...
Chapters:
00:00 - Introduction
02:17 - Getting started with code
05:39 - Integrating with Ableton
10:23 - Improvisation & Explaination
16:55 - Why I do this
Links:
More about TidalCycles: tidalcycles.org/
IG: / dqgorelick
YT: / danqg
SoundCloud: / danqg
Пікірлер: 43
Dude, I'm so glad I found your music! Big inspiration to many! Especially to those whom suck at playing instruments! 🎶
Very cool! And surprisingly musical, you've got those virtuoso coding chops!
Thank you, Dan! I am a noob and appreciate how you communicate your process.
this totally makes me want to get into tidal cycles.
Dope bangs, dope tutorial and walkthrough presentation. Thanks for sharing this -- a lot of fun to be had here!
Hi Dan! Oh man this is just what I was looking for! (this is Rick)
How do you define "kick", "snare" etc. to go to a specific MIDI channel/note in Ableton?
Love what you do, really fresh approach
Very cool, seems like an interesting way to approach composing. though supercollider is cool I don't really know what benefits it has over my many various current tools. Cheers! :)
Thanks a mil for this video, wonderful!
Yesss Dan, this is soo good! 10/10 would love to see more tutorials and experimentation like this 😄
@DanQG
Жыл бұрын
Thanks Torin! Stay tuned :) I really enjoy making these
Best live coding tutorial I’ve ever seen ! 3Q>
This is so cool!!! The explanations of building blocks piece by piece was really interesting and helpful, especially since we can hear it in real time, well done!!
@DanQG
Жыл бұрын
Thanks Sean! I thought of you while doing some of the talking-to-camera moments :P
@PuzzledSean
Жыл бұрын
🥺🥺❤️❤️
Thanks.
Great exposition!
Really cool and helpful, thanks. I'm wondering if you tried sonic pi and if so why you prefer tidal cycles?
this is so cool!
I have seen tidal cycles from your video with Jason and got interested immediately. I play some instruments and was curious about your setup with Ableton. Like how do you connect tidal cycles-super collider to ableton and be able to use plugins/vsts within ableton via tidal cycles. Anyway love your work!
@DanQG
Жыл бұрын
Ahh great questions! On a mac i use the IAC drivers as a virtual midi bus. SuperCollider routes the MIDI. This is an example of a supercollider server to help set that up! gist.github.com/dqgorelick/13b58e4f56a0c7c24dfd64357bfeb002
@nhestrompia
Жыл бұрын
@@DanQG thanks a lot! i hope you will make more videos like this
perfection
Super cool! I'm learning Rust rn so the idea of making music with Rust cracks me up 😂
@DanQG
Жыл бұрын
Yes I'd love to see this!!
Love it, so inspiring! By the way, what are your laptop specs?
@DanQG
Жыл бұрын
I upgraded to the Macbook M1 Max last year. While it isn't necessary to have a computer this powerful, it is helpful for me to perform while doing the documentation. This also allows me to have a buffer size in ableton of 64 samples, so that I have minimum latency when using live instruments.
Hi dan thanks for your video ! I was trying to set my ableton 11 with tidal. Are the instrument that you are using in your ableton tracks vst ? how you have to set super collider for to be able to recognize directly the vst inside ableton?
@DanQG
Жыл бұрын
Hi! Yes I am using SuperCollider to send the OSC messages from TidalCycles and turn them into MIDI signals that are received by Ableton! The code for this is in the description. I think I will make a future video walking through this :)
Hello Dan, this was such an interesting video. Im livecoding for a while now and im also active in the Toplap Community. Like the others in the comment, i dont get how you make ableton realize how you trigger the Drum Rack. Could you give further instructions to that topic?
@DanQG
Жыл бұрын
Hi! Thanks for the question! If you have Ableton successfully receiving signals from TidalCycles, then the Drum Rack convention in ableton is to have the following: kickdrum = midi note 36 rim shot = midi note 37 snare drum = midi note 38 clap = midi note 39 ... so on and so on This is not the "best" way to do things, but this is just "convention". If you are using a Mac then you can use the built-in IAC Drivers as a midi bus. I will make my next video on this :)
I love that you are doing this Dan and you’re showing people how to do this. Question - you mention Tidal Cycles as a REPL framework. But is it possible to use it without the loop? I want to apply effects on a single set of notes and stop … then move on to another set of notes and different effects. Is Tidal Cycles the best way to live code through Ableton if I am not looking to loop? Thank you.
@DanQG
Жыл бұрын
thanks for the kind words and question! re: not looping - I am not sure if I understand your exact use-case, but you can run this to play just one cycle: once $ sound "bd hh sd hh"" vs: d1 $ sound "bd hh sd hh"" re: "best way" to live-code through ableton - there are other frameworks that are not as quantized as tidalcycles. Sonic Pi is another flavor that might offer more options for planned composition. There is also SuperCollider which is way more in-the-weeds (less abstracted), but lets you be very experimental!
@seanlivesnetwork
Жыл бұрын
@@DanQG Thank you, Dan. This was helpful and I appreciate your taking time to make these suggestions. I’ll let you know how I progress. Best. Frank_
Hi Dan, are you controlling multiple effects on your Ableton tracks at once (for example, maybe filter and delay) and if so, what MIDI controller do you recommend for that? (I can't tell which one you are using in this video) I have a nanokontrol2, which has one fader and one knob for each track. Ideal would be one fader and multiple knobs (for effects)? UPDATE: this looks good Novation Launch Control XL Controller, might get that. I like that it has longer faders than the nanokontrol2 and the Novation stuff is great. BTW this is a great one to try to copy to learn how things work like struct, stack, Euclidean rhythms, etc. In the process of doing that now. Sorry one other question: why do the instruments sometimes need quotes around them and sometimes do not? For example, piano does not but "synth" does. I guess maybe you set a variable = to an instrument and use that without quotes? I'll have to mess with that. In my Live project I name things live1 live2 live3, etc, not knowing what instruments would be on each track. So perhaps in Tidal I can do something like synth = live3 so that I can use synth in Tidal and not live3 which would be nicer.
@DanQG
Жыл бұрын
re midi mappings: yes sometimes i map knobs to multiple MIDI CCs - for live performance especially I think having ~16 knobs max is what I can keep track of when being expressive. re variables: very perspective! I wish i showed this in the video, but this is the code setting variables to make the code cleaner. ``` let piano = "grain" # gain "1.2" let vox = "donna:2" # legato 1 let midi = midinote let s = struct let kick = midi "36" # "drums" let highhat = midi "42" # "drums" let snare = midi "38" # "drums" let clap = midi "39" # "drums" ```
Hi Dan. I've started tidalcycling for a while. I've watched some of your videos with great interest and enjoyment. Great stuff! Question regarding this one. A interesting/key point missing in your explaination is how to connect SuperCollider with Ableton. Any reading to suggest on this? Also, is there a way to use both Live (for synth, effects, ... like you are doing here) AND SuperDirt synth/samples? Thanks!
@DanQG
Жыл бұрын
Hi! Good question, perhaps my next video should be on this. TidalCycles sends OSC signals to SuperCollider. You can convert these into MIDI (using the code I put in the description). If you are using a Mac then you can use the built-in IAC drivers, with different ports set up for each instrument. This is just a high-level explanation of what is going on!
@MassimoCristofolini
Жыл бұрын
@@DanQG Thanks for your answer. I will look deeper into this. ...or lazily wait for your video on this...
How did you control Ableton with Tidal? I changed IAC path as "synth" and GitHub code worked but I can not connect Ableton Live 11 and TidalCycles. Could you please explain step by step? Thank you!
hahaha was looking for a tutorial and realised this was ur video Dan
Are you playing samples like "vox" directly in tidal cycles with audio routing to Live, or are you triggering them in Live via midi?