{"id":938,"date":"2011-04-06T00:10:05","date_gmt":"2011-04-06T04:10:05","guid":{"rendered":"http:\/\/wizardwalk.com\/newblather\/?p=938"},"modified":"2011-04-06T00:13:07","modified_gmt":"2011-04-06T04:13:07","slug":"more-computer-generated-melodies-woohoo","status":"publish","type":"post","link":"http:\/\/wizardwalk.com\/newblather\/?p=938","title":{"rendered":"More computer generated melodies! Woohoo!"},"content":{"rendered":"<p>Even though I&#8217;ve still got plenty of work to do on my automatic melody generator, it&#8217;s at the point now where I&#8217;m finding it quite addicting.  Here are a bunch of melodies it came up with today (I think there are 12 altogether, each stated twice):<\/p>\n<p><a href=\"http:\/\/wizardwalk.com\/melodies2\/MelodyProject2.mp3\">Computer generated melodies<\/a><\/p>\n<p>Again, I don&#8217;t think the melodies sound super fantastic by themselves, but there are definitely some surprisingly good phrases, in my opinion.<\/p>\n<p>Some notes:<\/p>\n<p>1 &#8211; Again, it&#8217;s still limited to 8-bar melodies in 4\/4 time in C major that begin and end on the I chord and can only use the basic triads.  I still have algorithmic changes to make before I start expanding its abilities in this area.  (For the audio above, I transposed it up a step to D major; sounded just a bit better to me.)<\/p>\n<p>2 &#8211; The program is &#8220;creating&#8221; its own &#8220;melodic knowledge&#8221; and, as you might hear, the biggest problem this creates is that it likes to write large melodic leaps every now and then, which can sound funky.  It didn&#8217;t do this before because it based its melodies on observations, and large melodic leaps like that would never (or rarely) be observed.  So I&#8217;m going to have to hardwire an interval limit into the algorithm, perhaps letting the user set it.<\/p>\n<p>3 &#8211; In the last two melodies, I gave the program the ability to use to 16th notes.  You don&#8217;t hear them in the other melodies because the program wasn&#8217;t allowed to use them, but it&#8217;s an easy ability to give the program.  Triplets, on the other hand, will be tricky&#8230; I guess I&#8217;ll have to figure out those at some point.  Meh&#8230; that can come much later&#8230;<\/p>\n<p>4 &#8211; The program outputs a text file with note values and accompanying chords; it doesn&#8217;t actually output the sound you hear in the MP3 &#8230; I had to manually enter the info into Overture 4 and use Garritan Personal Orchestra to create the actual sounds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Even though I&#8217;ve still got plenty of work to do on my automatic melody generator, it&#8217;s at the point now where I&#8217;m finding it quite addicting. Here are a bunch of melodies it came up with today (I think there are 12 altogether, each stated twice): Computer generated melodies Again, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[100],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7gI4B-f8","_links":{"self":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts\/938"}],"collection":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=938"}],"version-history":[{"count":1,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts\/938\/revisions"}],"predecessor-version":[{"id":939,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts\/938\/revisions\/939"}],"wp:attachment":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=938"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}