Sam Aaron live coding an ambient electro set w/ Sonic Pi
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- Sam Aaron Live Coding with Sonic Pi
Take the Sonic Pi Tutorial: sonic-pi-studi...
Please consider supporting me on Patreon: / samaaron
For more info about the software being used see sonic-pi.net
Join the Sonic Pi Community: in-thread.soni...
incredible music... for me as a software developer and computer science graduate, and electronic music lover who has recently started producitng, this is beyond beautiful, such an impressive work!!! can't wait to start learning how to do something like this, amazing!
holy shit almost full transparency of what the artist is doing, didnt know that open source can also apply for music! Love it!
they need to visualize how his neural networks are functioning, like predictive decision making
It’s called SuperCollider bro! Try it - it’s fun and all you need is a little DSP knowledge
I thought this only existed in my dreams
Welcome to reality! :-)
in school we are using sonic pi and i love it!!!
Wow. Just wow.
I've been fiddling with sonic pi for the last few weeks, but this really opened my eyes to how improvisatory this tool could be.
Gorgeousness and gorgeossity!
This is amazing and oh so fresh, even in 2021! Amazing to be able to code to make music!
Thank you so much Sam Aaron to make this app free to use for all. Yes, I am commenting here after 2 years of this video. But I just wants to thank you and I am exploring this app right now. (:
This is so evocative. Love the sense of motion and progress.
Amazing!!! Great idea mixing code and music!, maybe someday discotheques may include DJ-Coders
really cool, I use Sonic Pi mostly to transform my cello & voices samples and it became very fast my favorite tool
infinite possibilities to modify, stress, twist any sound... I love it
I must say coding with Sonic's really great
thank you for this impressive and essential creative platform ! 🙏
Around that 8 minute mark things get real. Shows your talent for visioning sound and music crafting. Throwing it on the fly like that is amazing.
Wow, this is amazing!
Never thought coding can be used in this way. I've listened to some ambient pieces generated with Pure Data before, but seeing something of this ilk being done live is a completely different thing!
Thanks so much for your kind words :-)
Cheers from Mexico! Keep up revolutionizing the music and coding experience!! Congrats!!!
so great!
I'm a Japanese.
And I think nobody dj like you. So i wanna be a first dj in Japan. (maybe)
Actually I don't know programming and dj but i'm so interneted in them. And when i discovered your Ted Tallk and this video, I wanna play lije you!
I'll support you from now and Thank you for making me touched.
Please don't care of my bad English.haha
You ARE so interneted, it really shows.
頑張って!
Hey! how did it go?
Did you ever do this?
Awesome! We need an update man!
Great Great Great!!!
I was so far from music... but I love coding... you're showing me a way to dive into music and art by walking on coding way!
First time I think in my mind and get it in within a 30 seconds. Love it
This is absolutely stunning! After fifteen years I am returning to music and exploring which way to go. Modular synths appeals to so, but after watching this I will certainly experiment with live coding! Thank you a million for the inspiration!
I think there's also a world of fun in combining modular synths with code. Sonic Pi supports very well-timed MIDI and OSC messages which would be a huge amount of fun to hook up to a modular ;-)
@@SamAaron That sounds like a lot of fun!
really cool, I listen to this often while I'm coding
Code can be so amazingly beautiful. Excellent work dude!
Hi Sam,
I'm an electronic music producer recently turned code programmer, so obviously this is incredibly interesting to me.
Besides clearly knowing the language it sounds like you also have some (lots of) musical education? You're keeping the track interesting, building it, playing with rhythms and tempo...
Great job, I've already sent this video to a bunch of people.
Gilad
Gilad thanks so much for your kind words. Actually I don't have any formal music production/composition knowledge - I've just listened carefully to a lot of music and spent a lot of time reading and talking to real experts. I've then thought about it all deeply and turned those thoughts into code :)
This is insanely impressive. Your learning curve is alien-level. Do you get lots of djing gigs?
Gilad not huge amounts yet, but I'm hoping to eventually. Until then I keep on practicing :)
You are the best coder that ever lived!!!!!!!
Miranda D-P that’s so kind of you to say - but there’s definitely been better coders they have lived than me :-)
Thankful for that video, much great the idea and the music :D
Interesting choice of sounds. Some parts are near perfect! Have a great day
This is so smooth and it just flows so well. Super sick job
Un énorme remerciement pour cette masterclass. It help a lot to see how you perform live. Thanks again and keep that amazing work. I used to work with TidalCycle and now I decided to use you program.
Thanks for your kind words. Glad you're having fun with Sonic Pi and I hope to see one of your performances one day :-)
I love weird/experimental music and this is great i hope to hear you on a bjork album soon. this is such a cool way to make music
This is one of the most amazing things ever seen in my life ❤️️❤️️❤️️❤️
Oh my Gosh the piano sample at 13 minute mark was sooo good.
This is epic. so glad to discover this language.
I just started using sonic pi! This is awesome!!!
Was referred to your music by drougnor from #TheModZoo
Thanks for the intelligent, amazing tunes!
Incredible. Going to try this out.
G-Type have fun with it!
Wow! I see! You make music and write codes in one session! This is what I'll call "Harmony between music and programming"... Well done! I'm subscribing!
Thanks so much for your kind words! I hope you have fun playing with Sonic Pi yourself... (and thanks for subscribing).
this is from 6 years ago? where the heck have I been
very good man. Awesome video quality too!
Nunca pensé que podríamos hablar de contrapuntos rítmicos del código, pero aquí no solo hay ésto,; Hay las posibilidades de la belleza tímbrica que dibuja el futuro del sonido.
TRANSLATION.... FROM SPANISH..... I NEVER THOUGHT THAT WE WOULD BE ABLE TO TALK ABOUT CODE RHYTHMIC COUNTERPOINTS, BUT HERE, WE NOT ONLY HAVE THAT ... WE ALSO HAVE THE POSSIBLITIES OF TIMBRAL BEAUTY THAT DRAWS AND DEPICTS THE FUTURE OF SOUND.....
@@aliamador7381 Gracias. Un abrazo.
@@Hidrasur COLOMBIA.... LA TIERRA DE LA CUMBIA...SALUDOS AFECTUOSOS DESDE CALIFORNIA...
just what i've always wanted, an IDE with a built-in audio visualizer!
So great!!! I love this & now dancing, thank U !!!
as crazy as fun! great job! Very inspiring!
sounds like my dead goldfish. i loved him more than anything. i bet he would have loved this music
suiiiiii
I have come here
after reading an article about Sam aaron in Times of India...newspaper
XOLT々 NKS oh wow! Hello and welcome :-)
Do you have a link to or a pic of the article you read?
Thanks for this! Love it!
Jesus! That's pure dope ! I will be a Sonic PI programmer right f...g now !!!!
We can now program some crazy things like Aphex Twin - Bucephalus Bouncing Ball
Great job!
So great stuff!!! this sounds incredible!
Absolutely legend!
This is pure gold. I love it
This is really cool! Would almost make me want to switch from TidalCycles to Sonic Pi :P
C'est très beaux !! Et très intéressant . Encore merci pour le partage !
pure genius.
You're too kind. Hopefully in the future when more people can code they'll see that what I'm doing isn't that complicated. It's just different :-)
really nice
so cool!!
Thanks! :-)
CD Projekt Red should've had you as an easter egg in Cyberpunk 2077 in some club. This is cyberpunk world level, so futuristic!
hihihiha
you are a genius
a different form of looping
neither this nor looping have instant user interfaces tho
my understanding is: with regular music you can only play so many parts at the same time. with looping you can build up many sounds to have them all playing at the same time, but it takes time to modify one loop of the full ensemble. this seems like a different way to do a similar thing. but its also limited by the UI of a mouse and scrolling through code the way looping is limited by the loop pedals and what you can and can't modify in the loop, tho this can modify more, its not as instant as one player playing one part on one or two instruments. a hardware interface with more capability would be great IMO
Vulcan Princess somewhat agree - It would definitely be faster to have a set of premade macros/presets/code-snippets that can be dropped in and out during the performance but I think a lot of the code-music people like the purity of making something literally from scratch each performance instead of premade code/loops
There’s a lot of different interfaces on the market for djs that do an infinite amount of work. The difference here is this is being built in real time. Dj’s depend on ready made loops which they can spontaneously change over time. This is a demonstration of a new way of doing things... Sonic Pi is a layer over the top of the Supercollider engine. The Supercollider engine is much more difficult but also far more powerful. This is Sonic Pi (A free program that comes pre-installed on the Raspberry Pi mini computers). It’s written in Ruby to be much more user friendly than the engine it’s built over. Supercollider is like having every imaginable synth at your disposal as long as you’re clever enough to coax the sound out. Sonic pi is limited comparatively to Supercollider, but still as you can hear, pretty amazing all on its’s own. I think this is just a unique way to compose music. It’s not for everybody, but it has its advantages.
@@lycosa2000 The Supercollider engine is much more difficult but also far more difficult.... POETIC INDEED.... I GUESS YOU MEANT TO SAY.... MORE POWERFUL....
fixed it. Thank you.
@@lycosa2000 YOU ARE WELCOME...
It's like OpenSCAD for music!
Very good job Sam! I’m starting to learn Sonic Pi, do you have the codes of this performance?
Sick
Pretty cool.
pUTA QUE paRIU, SENSACIONAL!!!
Grande Sam
I loved it! But what are you doing now in 2021? Do you know of any clubs in the D.C. area that will play something like this?
I'm still live coding with Sonic Pi - here's a recent set: th-cam.com/video/2brSLKiVbrI/w-d-xo.html Unfortunately I'm UK based and don't know of any clubs in the DC area at all, never mind stuff that would put on live coding sets...
What version sonic pi? Every time I watch you I learn something new.
Pretty sure this was v2.11 of Sonic Pi :-)
@@SamAaron that was a great performance.... thank you very much for opening doors to musical heavens....
Sick!
Amazing set!!! Thanks for sharing.
What is this funcken_beat you are using? Is it a function you've defined somewhere else?
funcken_beat is a function which returns a path to a folder containing a sample set I purchased by Roel Funcken :-) I'm using Sonic Pi's sample set functionality to work with the samples within that folder. See section 3.7 of the built-in tutorial for more information.
Awesome, thanks!
Very Solar Fields -esque at 4:30
ah now I get - Take a blurred sound and anything with some high frequency will make the ear feel clarity. Hmm maybe this I can use.
Just curious where do you get the cine_wpiano sample from? It sounds so beautiful
It was from a sample pack I bought a while back. I definitely recommend buying and using sample packs in the style of music you like.
Where to get those crazy samples "funken_beat" and "bass_atmos"? :-O
Sam I love ur work, one question ¿how do u combine the video with the sonic pi interface? like combiningn those visuals?
thanks!! keep on livecoding
Thanks so much for your kind words! To answer your question, I use tools like OBS and more recently Resolume to combine a video capture feed from the computer running Sonic Pi with a video feed from an external camera :-)
@@SamAaron greaat muchas gracias!!sounds fun mixing softwares I love this live is aweosme 🤘🏼👁
This is so fucking sick
So great, i'am impressed.
I tried myself after seeing this video , its hard, especially as a DJ but i find fun in it !
May I ask where you from ? Do you by any chance give class or work session ?
Cheers keep it up
clemlenain I'm from the UK. You're right, it is hard, but so is being a DJ - you need lots of dedicated practice :) glad you're having fun with it though!
I'll be running monthly interactive sessions to people that contribute to it's development here: patreon.com/samaaron
Is it possible to find samples like bass_atmos? I'd like to play along to learn. Thanks.
Like any samplepack for electronic music?
Hi Sam, quick question... Where do you define funcken_beat? I believe this is a path to your samples right? and you're loading sample 2, 0, etc. But I don't see where you define this path. Thanks, amazing work.
luiscript funcken_beat is just a function which returns a string representing the path to a folder of samples. I'm then using the sampler's filter system to work with all the samples in that dir. Take a look at the docs for the sample fn for more info and examples :)
Yep, I read the docs, that's why I knew that it was the path to your samples and that you're loading the files by index. But I don't see where is the definition of that function/variable in your code thats why I asked. Thank you so much for taking your time to answer me.
luiscript the definition was just in a different buffer than I ran when I started my session :)
Ahhh! now I see... Nice tip, cleaner code for a live performance and a cool way for storing your samples library. Thanks.
So badass.. Scratch that: So fucking badass, really cool shit man!
I'm biggenar in coding so help how to start coding and which platform we can start coding
Hey Sam, I'm a programmer but I don't know much about music. How much music theory would I need to learn before I can get started? Let me know if you've already answered this question in another vid, thanks man.
You don't need to know any music theory to get started - just like you don't need any music theory to pick up a guitar. However, some knowledge of music theory may help with certain things - but also a lack of knowledge may also help (as you're not constrained by the rules).
I think the most important thing is to experiment and have fun and not worry too much about what's right and wrong :-)
@@mannb1023 LEARN THE THEORY LITTLE BY LITTLE.... APETITE FOR SOMETHING COMES BY TASTING BITS AT A TIME..... YOU WILL BE BETTER AT PLAYING BY DOING SO....
awesome, I was just studying SuperCollider and found out about this language. Does it run on linux though?
It's on Linux, But you could run it on anything with a bit of effort. There are binaries for Win,Mac Raspberry Pi and if they don't fit compile it how you need it.
sir preaty Good set, trully a musis producer
capooooo
Is there any protection in the framework you use, to prevent you from accidentally interrupting the audio?
Hi there, I'm not 100% sure what you mean, sorry. Sonic Pi does have a safety system which prevents 'bad' synth opt values from being used when it is known that the value would produce a terrible sound. It also has a audio safety system - compressor -> limiter -> lpf -> hpf -> dc_correction. However, there's nothing to stop you from accidentally hitting stop or from writing bad code - is this what you meant?
Yes, and thanks for the explanation! I've done a few performances with partly homemade tech myself, and that's nervewracking enough... stepping up and programming a set as you go seems to me like a tightrope on the boundary between heroic and crazy!
A great video though, thanks for the reply.
This is really good!
What's the best way to learn how to control the keyboard in the way that you're doing - ideally without touching the mouse?
I see that the keyboard shortcuts are well documented in the Sonic Pi help section.The idea of using the computer keyboard and code for making music is very interesting. It seems that musically it will lead to different results than using graphic programming systems like Pure Data (which I like a lot.)
Can you please do a tutorial ?
Yep - I'm currently planning a paid tutorial video series which I hope to help fund continued development and maintenance of Sonic Pi - keeping it free for everyone :-)
How did you do that visual effect?
Liang Zhao that’s using a projector projecting directly into the wall behind me and myself too. :-)
@@SamAaron LIKE PINK FLOYD AND PSYCHEDELIC LIKE GROUPS USED TO.... VERY GOOOOOOOOD....!!
Can we somehow create 8d music in Sonic pi?
Sonic Pi supports multi-channel audio both in and out if that’s what you mean?
très bon !! github repo ? :D
Sounds like Aphex Twin :D
YES!!!!
That's Great!!! And it's translated in Polish!!!
Question, in the current version of sonicpi, it looks like the samples are defined as Ruby symbols. Here, what is bass_atmos? Is that a function you have in a library somewhere?
Great question :-) Sonic Pi uses Ruby symbols to refer to the built-in samples. However, when you're working with external samples (ones you've made yourself, or bought in a sample pack) you need to specify the full path to the sample as a Ruby String. Which brings me to your question... bass_atmos is actually a function that returns a String representing a folder of atmospheric bass samples. I then use the sample pack functionality (documented in Section 3.7 of the built-in tutorial) to work with the samples in this directory.
I hope that this helps - do let me know if you have any further questions...
Nice explanation! thank you
Was referred to your music by drougnor from #TheModZoo
can you share the code bruh?
Yeah, it’s in the video. All the music is generated by the code you can read.
Seriously now... WHAT?
Yeap, CJ (Code Jocker)
wtf is this i why i havent seen this before?
haha, you have now! It's Sonic Pi - sonic-pi.net
Amazing..Could you please refer us to a decent tutorial to learn the language ?
Absolutely - there's a full tutorial built right into Sonic Pi itself. Just hit the help button and click on the Tutorial tab at the bottom of the screen.
Is it possible to connect it to a DAW?
In v3 you'll be able to send and receive MIDI as well as multi-channel audio in and out :-)
Thats awesome, I deeply appreciate your hard work and passion .. you're really helping us combine arts and science ,senses and intellect . Thank you so much.
can I like this a second time? :D
honestly have no idea what you are doing, can you explain to a simpleton please? seriously fascinating!!
if you download the software (linked in description) the tutorials do a fantastic job of breaking down how it works in really basic terms!
Finally I found God
!
love me some nerds! haha