[workflow] script to fetch audio for sampling

Share your favorite Ableton Live tips, tricks, and techniques.
Post Reply
solberg
Posts: 1
Joined: Thu Mar 18, 2021 2:17 pm

[workflow] script to fetch audio for sampling

Post by solberg » Thu Mar 18, 2021 2:27 pm

Hi, just started using ableton and wanted a way to quickly load tracks into ableton for sampling.

This little bash scriptlet downloads audio from youtube to a folder of your choice (e.g. user library in ableton).

`youtube-dl -f "bestaudio[ext=m4a]" -o "~/path/to/ableton-user-library/%(title)s.%(ext)s" "ytsearch1:$1"`

---

It works for the unix command line (natively mac & linux). I haven't packaged anything so you'll have to download youtube-dl, and assign it to an alias (e.g. ableton-dl) yourself. You'll also have to edit the path to your destination folder. After that you'll be able to do:

`ableton-dl "forever - the little dippers"` and the .m4a audio file of "forever" by the little dippers will be in your user library.

I find it really useful as I can start sampling a song 5 seconds after I think about it.

I'm not going to be on this forum much, but if I find out that there is interest I might package it to make it more easy to install.

Cheers!

Post Reply