{"id":944,"date":"2011-04-13T03:19:55","date_gmt":"2011-04-13T07:19:55","guid":{"rendered":"http:\/\/wizardwalk.com\/newblather\/?p=944"},"modified":"2011-04-13T03:19:55","modified_gmt":"2011-04-13T07:19:55","slug":"1000-computer-generated-melodies","status":"publish","type":"post","link":"http:\/\/wizardwalk.com\/newblather\/?p=944","title":{"rendered":"1,000 computer generated melodies&#8230;"},"content":{"rendered":"<p>For the past couple days, I&#8217;ve been working on getting my melody generation program to output MIDI files so I wouldn&#8217;t have to convert them manually from a text file, which takes an annoying amount of time.  And&#8230; I&#8217;ve done it, haha!  So now I can tell my program&#8230; hey, I want 1,000 melodies, go.  And it spits it all out over the course of a couple minutes.  So here are 1,000 short little MIDI files my program wrote just a few moments ago, in a zip file:<\/p>\n<p><a href=\"http:\/\/www.wizardwalk.com\/melodies2\/Melodies1000.zip\">Zip file with 1000 computer generated melodies<\/a><\/p>\n<p>Some notes:<\/p>\n<p>1. &#8211; Again, the program is currently restricted to 8-bar melodies in 4\/4 time, and must start with the I chord and end on the tonic.<\/p>\n<p>2. &#8211; For the sake of a little variety, I set the tempo to be a random BPM between 80 and 150, and the key signature to be random between A major and D major (it starts in C major then just shifts all notes up or down).<\/p>\n<p>3. &#8211; There is one small bug you might hear in some of the melodies: the bass notes are shifted offbeat.  I&#8217;m workin&#8217; on it.  Fortunately it doesn&#8217;t seem to happen often.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the past couple days, I&#8217;ve been working on getting my melody generation program to output MIDI files so I wouldn&#8217;t have to convert them manually from a text file, which takes an annoying amount of time. And&#8230; I&#8217;ve done it, haha! So now I can tell my program&#8230; hey, [&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-fe","_links":{"self":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts\/944"}],"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=944"}],"version-history":[{"count":0,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=\/wp\/v2\/posts\/944\/revisions"}],"wp:attachment":[{"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=944"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wizardwalk.com\/newblather\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}