top | item 19490832

Generating More of My Favorite Aphex Twin Track

451 points| sajid | 7 years ago |medium.com | reply

216 comments

order
[+] Fricken|7 years ago|reply
There's a nice website with a clean UI called 'Music for programming', put together by a guy who curates playlists designed to compliment anyone who wants to buckle down and do deep focus creative work for a while. I've been through each of his 53 playlists several times. 'Asiatsana' is one track in one playlist, but the music overall is very much in keeping with the mood and tone of Asiatsana.

https://musicforprogramming.net/?fortyfive

[+] minism|7 years ago|reply
Such a well curated list. I listen to it all the time at work.

I was already intimately familiar with many of the artists featured (Aphex twin, oneohtrix point never, tim hecker) but have definitely discovered some new ones through it too.

[+] foobarqwertz|7 years ago|reply
asiatsana reminds of C418's music, mostly the minecraft stuff but there is alot more.
[+] whatok|7 years ago|reply
It's really sad to see music that I grew up on and had many life experiences around get simply reduced to "music for ____".
[+] haywirez|7 years ago|reply
For musicians and devs, it's a good hint that Markov chains are "good enough" for most interesting music applications, ML/AI doesn't typically yield better results. Happy to see this on the front page!
[+] mturmon|7 years ago|reply
I don't disagree with this observation, but I wanted to mention a counterpoint.

Eno's "Music for Airports" famously uses a system of multiple tape loops that produce sequences of different periods. As you listen, you can hear phrases that occur nearly together and then later, well-separated in time, as the periods of these loops go in and out of phase:

"One of the notes repeats every 23 1/2 seconds. It is in fact a long loop running around a series of tubular aluminum chairs in Conny Plank's studio. The next lowest loop repeats every 25 7/8 seconds or something like that. The third one every 29 15/16 seconds or something. What I mean is they all repeat in cycles that are called incommensurable — they are not likely to come back into sync again."

This interaction of periods will have long memory. (If the tape lengths are L and L+d, for small d, then the repeat time could easily be as long as L*(L/d), and even longer if d does not divide L evenly.) Thus, it is very different from what you get with a Markov chain.

[+] ssalazar|7 years ago|reply
Hm, it works well for this particular song/the genre of generative music but it easily hits limits with many other types of music people might want to work with. More advanced ML/AI techniques are needed to reason about sound in a semantic/latent space, which a stock Markov model will not do.
[+] droobles|7 years ago|reply
I feel like the Markov chain could also apply go higher level song formula, with probability weights for choruses, verses, bridges, breakdowns, solos, etc.

I prefer to just write a bunch of riffs and see where they grow organically, but it seems the chain would be a great tool to piece some of those ideas together or give an indicator of where they could go when a creative block is hit.

[+] cauthon|7 years ago|reply
> it's a good hint that Markov chains are "good enough" for most interesting music applications, ML/AI doesn't typically yield better results

Are Markov chains not considered ML/AI? I would consider them to be a standard part of the field

[+] glitcher|7 years ago|reply
On a side note, saw a nice write-up celebrating the recent 25th anniversary of Selected Ambient Works Volume II:

https://www.residentadvisor.net/reviews/23648

I feel like that album has a lot of potential for generative experiments. Admittedly, the album has an over-arching tone of eeriness throughout, which isn't something I want to listen to while I work most days. Maybe it would be inspiring to game developers working in the horror genre :)

[+] lostgame|7 years ago|reply
Actually, speaking of games with Aphex Twin's music, I'm not sure how many folks here recall the Dreamcast classic 'Rez' - a synesthesic, psychedelic rail-shooter which actually featured a track of his, under his legal name 'Richard D. James'.

If you guys haven't played it, seriously give it a shot. I believe there is a re-released version on XBOX and PC, though I can't speak to the quality of the ports, as I still play my Dreamcast almost daily. ;)

[+] codeulike|7 years ago|reply
As mentioned in that article, the eeriness comes from him creating the album through lucid dreaming, allegedly. Here's the original interview about that, its pretty fascinating:

Interview with David Toop, March 1994, The Face

Broaching this subject of dreams, he becomes animated and talks a long streak. "This album is really specific," he says, "because 70 percent of it is done from lucid dreaming... To have lucid dreams is to be conscious of being in a dream state, even to be capable of directing the action while still in a dream. I've been able to do it since I was little," Richard explains. "I taught myself how to do it and it's my most precious thing. Through the years, I've done everything that you can do, including talking and shagging with anyone you feel that takes your fancy. The only thing I haven't done is tried to kill myself. That's a bit shady. You probably wouldn't wake up, and you wouldn't know if it had worked, anyway. Or maybe you would.

"I often throw myself off skyscrapers or cliffs and zoom off right at the last minute That's quite good fun. It's well realistic. Eating food is quite smart. Like tasting food. Smells as well. I make foods up and sometimes they don't taste of anything—like they taste of some weird mish-mash of other things."

...

"About a year and a half ago," he says, "I badly wanted to dream tracks. Like imagine I'm in the studio and write a track in my sleep, wake up and then write it in the real world with real instruments. I couldn't do it at first. The main problem was just remembering it. Melodies were easy to remember. I'd go to sleep in my studio. I'd go to sleep for ten minutes and write three tracks - only small segments, not l00 percent finished tracks. I'd wake up and I'd only been asleep for ten minutes. That's quite mental.

"I vary the way I do it, dreaming either I'm in my studio, entirely the way it is, or all kinds of variations. The hardest thing is getting the sounds the same. It's never the same. It doesn't really come close to it. When you have a nightmare or a weird dream, you wake up and tell someone about it and it sounds really shit. It's the same for sounds, roughly. When I imagine sounds, they are in dream form. As you get better at doing it, you can get closer and closer to the actual sounds. But that's only 70 percent of it."

[+] yonaguska|7 years ago|reply
> Admittedly, the album has an over-arching tone of eeriness throughout, which isn't something I want to listen to while I work most days.

I think it may have to do with me being ADHD, but I actually like ambient music with a little bit of a stressful edge to it. It gives me a little bit of urgency and controlled stress seems to be my best motivator.

[+] fb03|7 years ago|reply
If you guys enjoy generative music, you should try Sunvox.

The author has created a js library which you can use to play .sunvox files in it, it is pretty nice too.

http://www.warmplace.ru/soft/sunvox/jsplay/

try 'machine 005'. I've been using it for coding lately.

[+] IggleSniggle|7 years ago|reply
Sunvox has a js lib now?!?!? YAAAAS
[+] Graham24|7 years ago|reply
"Selected Ambient Works 85-92" is a quality product.
[+] prepend|7 years ago|reply
Thanks for writing this and spending the time to break down and explain how you did it.

I’m not the biggest apex twin fan, but I’ve followed him for a few decades and always liked his visual and audio tricks mixed into his music. I feel like he would enjoy the idea of an infinite track and hope he responds somehow.

Are there any file formats that allow generative music so I can download this and play in a non-internet connected situation?

[+] alexbainter|7 years ago|reply
generative.fm is a progressive web app, so it _should_ work offline with the caveat that you'll need to play a piece once online before it works offline. I'm working on getting this communicated through the site but just haven't gotten around to it yet.
[+] spacemadness|7 years ago|reply
In knowing the original track very well, I find this version fascinating but also frustrating to listen to. It really emphasizes for me the importance of well thought out note placement and timing and the connection throughout, especially in minimalist pieces. This might sound pompous, but it's like the original seeks to tell a story, but this version is like pulling words and phrases out of a hat; the emotional payoff doesn't exist for me. I hope that's not discouraging in any way, as I think this type of experimentation should be celebrated and the writeup is excellent. I'm only speaking of what effect this has on me tied to this particular piece of music.
[+] alexbainter|7 years ago|reply
I know what you mean and I don't find it discouraging at all. Your analogy is perfect. The way the original piece evolves and builds on its phrases over time is very noticeably lacking in the generative version. In my version, any emotional buildup from one phrase to the next can only happen in short spurts at best, and it happens completely by accident. Of course, if I was putting on music that I wanted to really focus on and enjoy, the original would always be my choice. For me, the appeal of an endless version was that I could turn the music into ignorable ambience for my environment. Since we're making analogies, to me it's a bit like seeing a painting you like and saying "Gosh I like that color," then painting your walls that color. It can't compare to the painting but it might remind you of it.
[+] afro88|7 years ago|reply
Came here to say this. The generative version has no story, so the emotional aspect is quite watered down, even if the general mood persists. Funnily enough, that is probably perfect for the use case of this kind of thing: background music.

Given that the way the phrases evolve, and also repeat, is what tells the story, maybe a second layer of markov chain driving the phrase choices would help?

[+] budgi4|7 years ago|reply
The story can only come from understanding the piece. The understanding requires a deeper knowledge. Interesting that it lacks 'emotional intelligence' - is that something which can also be learnt?
[+] Jaepa|7 years ago|reply
Doom from 2016 had this really cool feature in it where the music was procedurally adaptive based on the context of the game. When you were getting into a battle the music would mutate and become a lot more aggressive. Small fights would be different from big hairy fights. Ending a fight on low health would be different from leaving it unscathed.

For long time I've always thought it would be great to have something that had a similar effect based on text input speed.

Situations like getting into a massive battle, or leaving a battle with low health would have the music mutate to

[+] na85|7 years ago|reply
I believe the first mainstream game with adaptive music like that was Half Life 2 in 2004.
[+] pimeys|7 years ago|reply
Seems to go more to the direction what Autechre is doing nowadays. I'd recommend to have a listen to the NTS Sessions if you feel adventurous...
[+] NelsonMinar|7 years ago|reply
Generative music comes full circle. This side of Aphex Twin is more or less directly inspired by Brian Eno's Music for Aiports. Which itself comes out of Eno's generative music experiments.
[+] Mediterraneo10|7 years ago|reply
Are you sure it was so insprired? Early IDM artists have sometimes admitted never hearing their forebears (Stockhausen, Steve Reich, etc.); they just reached similar concerns independently by noodling with electronics.
[+] spiralganglion|7 years ago|reply
And you could argue Eno's proceduralism was influenced by Cage, and Cage's proceduralism from Nancarrow... and on and on the family graph of influence goes. Not sure where the full circle is, but there's plenty of thread to tug on here.
[+] seszett|7 years ago|reply
Although I like the result, I find the track less soothing without the birds in the background. There's probably a way to generate those as well though, I suppose.
[+] alexbainter|7 years ago|reply
Agreed. I considered adding birds to it but I've found if I play this track in the morning and open my window so I can hear actual birds it's a nice experience.
[+] Pt_|7 years ago|reply
Went on youtube and found a "10 hour" bird and forest noises video, works pretty well
[+] jxdxbx|7 years ago|reply
This is very cool. My personal favorite Aphex track is Donkey Rhubarb if you're feeling ambitious.
[+] yaw|7 years ago|reply
There are a number of languages / environments to help with the creation of generative music under the umbrella term 'live coding' - the community also tries to keep the performance aspects of music intact.

Lots of great starting points at: https://github.com/toplap/awesome-livecoding

[+] jugg1es|7 years ago|reply
I really love Aphex's piano tracks. So intimate that you can hear the pedal shifting in the background.
[+] xitrium|7 years ago|reply
How do you feel about Alberto Balsam? :)
[+] chaseha|7 years ago|reply
I find that perfectly quantized tracks sound artificial over time. Not sure how close “aisatsana” sticks to perfectly on-(half)-beat, but adding slightly random quantization offsets to each generated note could be interesting to lend the results a more "natural" sound
[+] theon144|7 years ago|reply
Nice! Simple, but works out super nicely :) Even the occasional odd note doesn't seem too out of place, since the phrases are short and "self-contained".

I also enjoyed the rest of the pieces on generative.fm, they all have a specific "character" which is quite rare. Nice work!