a community for electronic music producers, modular fanatics and fans of synths, drum machines, software and more. Combine your social networks in one place for painless cross-posting and more followers.. Join us!
Diy Software Track Listening Programming Midi Techno Electro Bass Breakbeat Funky Software PDXEM Remix Ableton DIY
I made this little Markov chain MIDI file generator using Clojure a couple years ago. It's pretty rudimentary, but it was a fun little project to work on:
1 2
bogdan: Nice. I'm often intrigued by the thought of programmatically-generated audio but never actually do it. Do you have any samples online of what this sounds like?
dylan: I posted a small piece generated from Bach's Goldberg variations to my SoundCloud account a while back but have since removed it to make way for other tracks (I'm too cheap to buy a paid account, ha). Since it's on Github you're of course free to clone it and run some MIDI files through it, though if you do end up using it I apologize in advance for the horrendous GUI.In general, I found that a 2nd-order Markov Chain performs reasonably well when the input has a well-defined melodic and harmonic structure and a sufficiently large corpus of musical data to draw upon. For music that is more improvisational in nature (e.g. Liszt fantasies), the results are not all that useful, but still occasionally interesting. Using a third or fourth order Markov Chain might yield better results since the current state transition (pitch) now depends on the previous three or four states.The other thing I couldn't really get "right" was altering the rhythmic component. I think that was probably a combination of poorly implemented MIDI note on/off event timing but it could also be that Markov processes aren't well suited for the particular corpus of data I was working with.
Hello! Glad to see that em411 has been resurrected.
1 4
dylan: I can only imagine what raising two kids is like! My kiddo is walking now and getting into everything, so it's ramping up in difficulty, ha. But it's a joy (for the most part).As far as making music goes, I am finding out that it's all about time management - particularly getting my ideas out and not getting lost in the details (gone are the days where I could endlessly tweak a snare drum, which may be for the best), and focusing on just having fun.Any other music making / productivity tips for a fellow parent? ;)
Retape: I'm not a parent, but I guess Korg Gadget (or something like it) on a phone could work nicely to sketch out ideas, at least, while you're doing other stuff as well (bus, train, toilet, waiting room).
dylan: Korg Gadget looks really cool. I could definitely envision some toilet compositions using that. :D
Show me more!