NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Conway's Game of Life, but musical (hudsong.dev)
vunderba 19 hours ago [-]
Nice job. I thought about building something like this many years ago, but ended up experimenting with music generated from abelian sand pile algorithms instead. I've seen a number of attempts at using genetic algorithms to recombine previous musical patterns.

What's obviously missing is a "fitness function" that can approximate the equivalent of human taste, so the final evolved forms just end up being widely random in terms of quality.

AlgoMotion also did a video explanation for a music based version of Conway's Game of Life last year. Highly recommend their videos.

https://www.youtube.com/watch?v=b2SjVwYNr54

Incidentally if you like musical toys like this - Electroplankton [1] was a fun little game that had a series of almost organic musical instruments.

[1] https://en.wikipedia.org/wiki/Electroplankton

chipsrafferty 15 hours ago [-]
I've been toying with ideas like this for a long time now. I think the fitness function is critical, but the problem is that taste is subjective, and you need to listen to many riffs/melodies to evolve to a "good" state. Also, you either start with specific melodies, in which case you would skew the results, or start with random noise, in which case it would take a very long time to evolve to anything good. So it seems like you must constrain i tsomehow, such as "only use 12 tones, with full/half/quarter/third notes".

But anyways, my idea for a way to resolve the problem of fitness taking forever would be to livestream it on Twitch, in the same vein as the "Twitch plays Pokemon" where viewers can input commands to vote for an action, they could vote on the fitness of musical tracks.

AlecSchueler 17 hours ago [-]
> What's obviously missing is a "fitness function" that can approximate the equivalent of human taste, so the final evolved forms just end up being widely random in terms of quality.

Honestly for me this is a feature not a bug. If I want to hear music that matches my personal taste exactly I can just go to my instrument and play it. These tools are a way to taste more exotic forms and see if there's anything worth carrying over.

vunderba 16 hours ago [-]
And that's perfectly fine.

But when we conceptualize something like music in the form of evolutionary computation then it is important to be able to define a good metric for the fitness function otherwise you might as well just take X pieces of music, normalize them to the same key signature/tempo/etc., and then randomly mash them together.

If you're just in the mood for something more exotic, I'm happy to go repeatedly sit on my piano for a few hours and send you the final samples.

casty 17 hours ago [-]
The demo sounds lovely. Thought I’d mention that for the Eurorack synthesizer format there is a 16 cell sequencer by NLC: https://www.nonlinearcircuits.com/modules/p/cellular-automat...
kcaseg 19 hours ago [-]
I had very high hopes, because I have initially read: "Conway's Game of Life, but A Musical". Still pretty cool!
whycome 11 hours ago [-]
Conway Twitty biopic?
tetris11 3 hours ago [-]
The soundtrack for Conway's Game of Life that I've always had in my head is John Carpenters' Wraith

https://www.youtube.com/watch?v=21NIxhWQrIU

skulk 19 hours ago [-]
Wolfram Tones uses 1-d cellular automata to generate music. I had a lot of fun playing with this many years ago.

https://tones.wolfram.com/ (not sure if it's still up, doesn't load for me)

SanjayMehta 18 hours ago [-]
It’s working for me.
BenoitEssiambre 19 hours ago [-]
I love this stuff. This 256 byte video clip is a great example using similar principles: https://www.youtube.com/watch?v=sWblpsLZ-O8
import 14 hours ago [-]
There is a MIDI sequencer called ZOA (for Apple devices) that does a very similar job. I had a lot of fun with it, combining it with synthesisers (I have bunch of them but my fave is Moog's) inside AUM.

https://apps.apple.com/nl/app/zoa-living-midi-sequencer/id15...

mbil 9 hours ago [-]
I made a musical game of life not long ago if you want something to play with https://matthewbilyeu.com/tone-of-life
sodaplayer 18 hours ago [-]
Oh this is cool. I did something similar with a modded Launchpad by programming GOL on it and converting the positions by column and row to octave and degree and then outputting MIDI to a synth.

https://photos.app.goo.gl/os4nF1RoPJCwNiLt6

abemiller 18 hours ago [-]
musical space with 12 notes per octave may be better mapped onto a hexagon grid rather than a square one

https://www.whatistoday.net/2019/09/jammer.html

gobdovan 18 hours ago [-]
Pretty cool! How do you decide what tone to play on birth/death? Is it based on the position in the grid or do you just pick from a simple scale at random?
WhitneyLand 18 hours ago [-]
Very cool Hudson.

“each cell birth plays a harmonic note and each death plays a complementary tone”

How are you deciding which notes to play?

Is it a function that somehow depends on generations or position?

hudsongr 17 hours ago [-]
Yes it's based on the position. The column determines the note and the row determines the octave.
testaccount28 5 hours ago [-]
interesting! a sort of digital windchimes.

do you expect that in a blind trial it could be distinguished from playing a statistically similar number of tones chosen randomly from the available cells?

gbertasius 11 hours ago [-]
Reaktor vst has a drum synthesizer that generates midi patterns from a small grid that simulates Conway's Game of Life. It's pretty fun to play with.
rbongers 14 hours ago [-]
Sounds lovely, I'd love to hear what it's like when the number of living cells on screen controls the length of the note so it's not just a constant rhythm, even though it is hypnotizing.
nutate 16 hours ago [-]
gonna have a panic attack at the twinkle twinkle "star" not being a half-note.
anjel 15 hours ago [-]
30 years later, I still miss double muffled dolphin cellular automata ambient synth... https://www.muffled.dk/map.php
rbongers 10 hours ago [-]
All of this guy's software and music seems so cool, and there's so little information on it. Can you share anything else?
14 hours ago [-]
kevinwang 19 hours ago [-]
Darn, I can't hear the music on iphone safari :(
hudsongr 18 hours ago [-]
If you try turning your phone off silent it should work!
jMyles 16 hours ago [-]
Super interesting. Is there a dedicated place where I can just play with Melody Breeder?
ge96 19 hours ago [-]
is broken or down rather
SanjayMehta 19 hours ago [-]
The play buttons appear in the top right corner of each panel.
ge96 18 hours ago [-]
I was seeing a "Site can't be reached" message but now it's up again

Side note, it's the Black Mirror episode Thronglets

kdfjgbdfkjgb 16 hours ago [-]
so can we interact with it please?
renewiltord 18 hours ago [-]
There was a cellular automata music sequencer once that I enjoyed. https://earslap.com/page/otomata.html

Needs flash or iOS. Simple mechanics but lots of fun music. Good design.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 10:12:34 GMT+0000 (Coordinated Universal Time) with Vercel.