{"id":1316,"date":"2021-05-03T15:10:09","date_gmt":"2021-05-03T14:10:09","guid":{"rendered":"https:\/\/matthewolden.co.uk\/?p=1316"},"modified":"2021-05-03T15:10:09","modified_gmt":"2021-05-03T14:10:09","slug":"play-a-midi-file","status":"publish","type":"post","link":"https:\/\/matthewolden.co.uk\/?p=1316","title":{"rendered":"playing a midi file"},"content":{"rendered":"<p class=\"p1\">this patch loads a midi-sequencer and plays it.<\/p>\n<p class=\"p1\"><a href=\"https:\/\/matthewolden.co.uk\/wp-content\/uploads\/2021\/05\/midi-play.zip\">midi-play<\/a><\/p>\n<p class=\"p1\">Using the ceammc list object its possible to choose the midi file from a collection stored in the folder midi_files.<span class=\"Apple-converted-space\">\u00a0 C<\/span>hoose which file you wan to load from the drop down menu. This menu can be sent a number to randomly load a sequence.<\/p>\n<p class=\"p1\">Whats coming out of the sequencer goes into a note player and can be monitored, and used to trigger more than just notes.<\/p>\n<p class=\"p1\"><a href=\"https:\/\/matthewolden.co.uk\/wp-content\/uploads\/2021\/05\/iiiii.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1498\" src=\"https:\/\/matthewolden.co.uk\/wp-content\/uploads\/2021\/05\/iiiii-1024x892.jpg\" alt=\"iiiii\" width=\"660\" height=\"574\" \/><\/a><\/p>\n<p class=\"p1\">I use sequence players all the time to control the sequences of dmx, or to trigger motors and solenoids. Alternatively i use code like this to build Markov chains.<\/p>\n<p class=\"p1\">With a start up script it possible to control a complex automated installation, that switches on automatically, leaving you to spend more time in bed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>this patch loads a midi-sequencer and plays it. midi-play Using the ceammc list object its possible to choose the midi file from a collection stored in the folder midi_files.\u00a0 Choose which file you wan to load from the drop down menu. This menu can be sent a number to randomly &#8230;<\/p>\n","protected":false},"author":2,"featured_media":1309,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pd-on-a-pi","column","fourcol","has-thumbnail"],"_links":{"self":[{"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1316"}],"version-history":[{"count":0,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1316\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=\/wp\/v2\/media\/1309"}],"wp:attachment":[{"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthewolden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}