Interested in writing python programs to randomly generate music?

22 views
Skip to first unread message

Jeremy Kun

unread,
Apr 13, 2013, 8:57:35 PM4/13/13
to uic-mcs...@googlegroups.com
http://www.databozo.com/2013/04/12/Generating_music_algorithmically.html gives a cool little algorithm that follows the transition function of a Markov chain. In a sense, it trains the computer to make songs that are similar to a given song. I'd love to see what it does with some Radiohead.

Jeremy Kun
Mathematics Graduate Student
University of Illinois at Chicago

S.F. Kyale

unread,
Apr 14, 2013, 2:07:13 PM4/14/13
to Jeremy Kun, uic-mcs...@googlegroups.com
I like the simplicity of the Markov Chain learning algorithm. Yet I suspect memory may be necessary for good music. Though if instead of counting the current note as a state, the last so many ordered notes could be counted as the current state and that would have the effect as memory.

Also, for something like radio head, the state of the current note is more complex because several notes can play at once, with different overtones and durations. Yet, from my naive perspective (the meager extent to which a followed Bozonier's chain algorithm) it seems that each level of complexity could be handled by adding another dimension to the matrix. The data would have an added degree of complexity while the program would simply add one more comparison such as how often each current not is played with one or the other current notes.

And then there's the separate issue of converting the sound file into a sequence of notes, note qualities, and timings.

The problem reminds me of Dirk Gentley's Holistic Detective Agency where Richard McDuff, a programmer, is developing a program to compose music.

I think designing a program to learn what music is is a good place to start.


--
You received this message because you are subscribed to the Google Groups "uic-mcs260-s13" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uic-mcs260-s1...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Søren Kyale

unread,
Apr 24, 2013, 11:08:03 PM4/24/13
to uic-mcs...@googlegroups.com, Jeremy Kun
Tools for transforming music:
Instead of looking for sequences of notes it might be possible to look for transformations of note structures.

To unsubscribe from this group and stop receiving emails from it, send an email to uic-mcs260-s13+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages