7 ms·
How Generative Music Works
- isp 9y agoI heard about this via John Arundel @bitfield: https://twitter.com/bitfield/status/956167710156746752 https://twitter.com/bitfield/status/956167710156746752 > This is genuinely amazing, not just for the content, which is excellent, but it's also one of the most innovative websites I've seen
- SwellJoe 9y agoI enjoyed the presentation but genuinely hated the website. Like, on a deep and personal level. I'm a little bit mad about how bad the experience of using this website is. There were several pages where I had no idea if I was waiting for something to finish loading, or if I was supposed to hit space to continue (I'm on a slow/unreliable 4G connection...I often have this problem, but I can usually figure out what's happening based on surrounding content and commmonly used affordances that hint at what actions are available and when). I know it's one-key navigation, very simple and seemingly impossible to get wrong, but because it's frequently loading large files, I frequently was in limbo about what to do (though by the end I stopped waiting and just started trusting it would do something if it had something to do...this ended up skipping at least a couple of things that I think would have been musical or interactive or something had I waited for them). If this subject weren't really of interest to me, I would have noped out within a couple of pages.
- dkersten 9y agoAdditionally to what you said, I find the prezi-style panning and movement between pages extremely distracting and jarring to the point where I did nope out.
- SwellJoe 9y agoYeah, I generally dislike this style of site. I say it all the time: "Ease of use is often just what you're used to." And, nobody is used to a site working like this.
- fenomas 9y agoIt's slides for a presentation that the author gave at an event. It's not meant to work like a regular website. Also: sites on the front page of HN sometimes load slowly. Sure it can be frustrating, but hating the site on a deep and personal level over it seems a bit much.
- SwellJoe 9y agoJust expressing my experience; I found it frustrating. If you like it, that's cool, too.
- dkersten 9y agoI hate slides like this too. As I said in my previous comment, the movement is jarring and distracting. It breaks my concentration and focus. The worst offenders often leave me feeling almost dizzy. In my personal opinion, Prezi and the like has set presentations back quite a bit in terms of readability and comprehension. In a presentation, its even worse, because the slides often distract me enough that I miss some of what the speaker is saying too. Maybe my attenion span isn’t that good, but I’m sure I’m not the only one.
- lifeformed 9y agoIt'd be way better if there was a way to go back.
- fenomas 9y agoLeft arrow or back button.
- lifeformed 9y agoOh. I tried that before and it didn't appear to work, but I think the change was just a slow and subtle one, so I didn't notice it.
- venuur 9y agoThe website was unusable for me. I find the topic super interesting, but it’s not worth the extra time to parse. Not the least of which is that on mobile the font sizes were strange and the text poorly placed. Edit: typos.
- isp 9y agoA few selected examples: - "Trams of Helsinki" https://teropa.info/loop/#/tramsofhelsinki https://teropa.info/loop/#/tramsofhelsinki ("The trams are playing a pentatonic scale, mapped to central Helsinki") - "Music Mouse": https://teropa.info/loop/#/musicmouse https://teropa.info/loop/#/musicmouse - "Markov Player": https://teropa.info/loop/#/markovplayer https://teropa.info/loop/#/markovplayer
- chii 9y agothe music mouse is really cool - it doesn't sound generated or repetitive at all too!
- adamnemecek 9y agoTo be honest I never found these things to be anything more than a curiosity. I'm yet to see a system that produces music that I would call "good".
- confounded 9y agoI felt like this for a long time, but I've come to appreciate it as background/zoning-out music, especially when I'm familiar with the algorithm. I often become quite amazed how a small amount of PRNG can generate interesting melodies, and things which feel emotionally salient.
- unrealornament 9y agoLike a deck of cards, it is the same no matter how it is shuffled.
- pmoriarty 9y ago"I'm yet to see a system that produces music that I would call 'good'." This is really in the eye of the beholder. One man's trash is another man's treasure. There's plenty of incredibly popular music created by humans that I absolutely detest, compared to which computer-generated music (as boring, random, or predictable as it might be) can't possibly be any worse. For my own personal taste, it's rare that completely computer-generated music sounds "good" to me, but it happens. Here's an example, from one of David Cope's EMI (Experiments in Musical Intelligence): [1] When we depart from strictly and completely computer-generated music to music that contains some generative elements which are "curated" or guided by humans, to my taste the music gets much better. Then we get in to the realm of what could be termed human-computer collaboration. I like Brian Eno's analogy of "composer as gardener", in which the composer may plant musical seeds and then guide the music to fruition, while not controlling or being the "author" of every nuance as happens with more traditional views of composition.[2] [1] - ftp://arts.ucsc.edu/pub/cope/beet2.mp3 [2] - https://www.edge.org/conversation/brian_eno-composers-as-gardeners https://www.edge.org/conversation/brian_eno-composers-as-gar...
- rev_null 9y agoI actually have a musical project I call Intercal which is based on the idea of obfuscating well known musical works algorithmically. It generally takes a lot of attempts to find something that works, but I've had some promising results. https://m.soundcloud.com/revjohnnyhealey/sets/intercal https://m.soundcloud.com/revjohnnyhealey/sets/intercal https://revjohnnyhealey.bandcamp.com/album/obfuscated-x-mas https://revjohnnyhealey.bandcamp.com/album/obfuscated-x-mas
- confounded 9y agoI've recently been messing with very simple generative music with sonic-pi[0], a Ruby DSL which makes things very easy. It's been great fun, and you can get up and running very quickly. Here's the source code for some pretty listenable (IMO) generative music of infinite length[1]. Being able to read source-code comments to something while listening to it is strangely satisfying. [0]: https://github.com/samaaron/sonic-pi https://github.com/samaaron/sonic-pi [1]: https://github.com/samaaron/sonic-pi/blob/master/etc/examples/algomancer/cloud_beat.rb https://github.com/samaaron/sonic-pi/blob/master/etc/example...
- nukenuke 9y agohere's some more generative (improvised?) music: https://www.youtube.com/user/ahsax https://www.youtube.com/user/ahsax (made with homemade software + sax improvising + logic pro)
- brianyu8 9y agoIn b flat: http://www.inbflat.net/ http://www.inbflat.net/
- fenomas 9y agoIf anyone's interested in more examples, I spent last month doing a "thing a day" bunch of procedural music experiments with Web Audio. A couple of the ones that seemed to work: * tries to create a semi-randomized fugue: http://aphall.com/2017/12/advent-18/ http://aphall.com/2017/12/advent-18/ * jazz combo improvising over the title theme from Metroid: http://aphall.com/2017/12/advent-16/ http://aphall.com/2017/12/advent-16/ * generates a chiptune over the progression of Autumn Leaves: http://aphall.com/2017/12/advent-17/ http://aphall.com/2017/12/advent-17/ Caveat, they're likely too CPU-intensive for mobile devices.
- pieterk 9y agoLove your autumn chiptune! Is the project open source? It would be amazing to be able to play around with its parameters.
- fenomas 9y agoThank you! I wish I could say there was a cohesive thing with tunable parameters inside those demos, but basically each of them is a separate blob of ad-hoc ways of choosing scales, rhythmic patterns, etc. The modular bit, which is reused across all the demos, is the bit that actually plays noises through Web Audio, and might be worth checking out: https://github.com/andyhall/soundgen https://github.com/andyhall/soundgen (If it's not obvious, there aren't any pre-made audio samples in the demos, all the noises are built at runtime out of Web Audio oscillators and filters and so on, inside that library.)
- Mateon1 9y agoI took a look at other days of your musical advent. I think my favorite is day 23. Day 4 strongly reminds me of the True Lab music from the Undertale soundtrack [1]. [1]: https://www.youtube.com/watch?v=y49b8aiQVBg https://www.youtube.com/watch?v=y49b8aiQVBg - Undertale OST: 83 - Here We Are
- fenomas 9y agoThanks! You are spot on about day 4 - most of the demos began with trying to imitate an existing track, especially structural stuff like how many voices there are, how often they enter and leave, how often the chords change, etc.
- aimeric 9y agoAside: I'm glad to see that (so far) no one's referred to it as Krell music. This is a reference to the 1956 science fiction movie 'Forbidden Planet' (https://en.wikipedia.org/wiki/Forbidden_Planet https://en.wikipedia.org/wiki/Forbidden_Planet), which was the first film to use an entirely electronic score, created by husband-and-wife team Louis and Bebe Barron. The timbres ('electronic tonalities') were generated using rather fascinating vacuum tube circuits. Bebe Barron used these as the basis for her compositions. The soundtrack superficially appears to consist of weird, unstructured, synthetic sounds. The film's music and sound effects intermingle. But there certainly is a musical structure; it's not just randomly generated sound. Unfortunately, some electronic musicians generate random sequences or noises and call it 'Krell' music. It's a fundamental (lazy?) misunderstanding of what the Barrons achieved without the use of synthesizers.
- tw1010 9y agoI want to reduce how much time I spend on the internet, but it's awesome stuff like this that keeps me coming back.
- dvfjsdhgfv 9y agoGreat work, thank you!