{"id":612,"date":"2020-01-24T18:30:38","date_gmt":"2020-01-24T18:30:38","guid":{"rendered":"http:\/\/www.jontrinder.com\/blog\/?p=612"},"modified":"2020-07-24T13:44:49","modified_gmt":"2020-07-24T13:44:49","slug":"midi-system-exclusive-control-of-arduino-application","status":"publish","type":"post","link":"https:\/\/www.jontrinder.com\/blog\/?p=612","title":{"rendered":"Midi System Exclusive Control of Arduino Application"},"content":{"rendered":"\n<p>Most recent project has been an midi foot controller based around an Arduino\/PJRC Teensy and a companion windows application to configure it.<\/p>\n\n\n\n<p> Details and source over at <a href=\"https:\/\/github.com\/ninelocks\/JTMidiPedal2020\">github<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/NMPMScreenshot-503x1024.png\" alt=\"\" class=\"wp-image-617\" width=\"379\" height=\"771\" srcset=\"https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/NMPMScreenshot-503x1024.png 503w, https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/NMPMScreenshot-147x300.png 147w, https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/NMPMScreenshot.png 554w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><figcaption>The configuration tool in Windows(Works in wine on Linux)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"1024\" src=\"https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/jtmidipedal-circuit-724x1024.png\" alt=\"\" class=\"wp-image-614\" srcset=\"https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/jtmidipedal-circuit-724x1024.png 724w, https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/jtmidipedal-circuit-212x300.png 212w, https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/jtmidipedal-circuit-768x1086.png 768w, https:\/\/www.jontrinder.com\/blog\/wp-content\/uploads\/2020\/01\/jtmidipedal-circuit.png 794w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Sysex Format<\/h2>\n<\/div><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>The sysex format is in this format.\n====================================================\n   System Exclusive Configuration Messages\n=====================================================\n\nConfiguration of the project is by Midi System Exclusive MEssages, the format of which are now described\n\nThe midi header counting from byte 0\n\n0 0xF0 Start of sysex\n1 0x7D indicating research\/school\/not  a manufacturer\n2 0xNN 4 Character key , the same in the arduino application\n3 0xNN\n4 0xNN\n5 0xNN\n6 0xMM A device ID, you choose identify your arduino project\n7 0xMM A Command \n.\n. Variable number of bytes depending on message\n.\n. 0xF7 End of SysEx marker\n\nThe 4 character code is set in the arduino source and can be configured in the windows pedal manager (see its documentaion )\n\n=====================================================\n  Request arduino send out its current configuration\n=====================================================\n\n0 0xF0 Start of sysex\n1 0x7D indicating research\/school\/not  a manufacturer\n2 0xNN 4 Character key , the same in the arduino application\n3 0xNN\n4 0xNN\n5 0xNN\n6 0xMM A device ID, you choose identify your arduino project\n7 0x02 Command 0x01 is send config\n8 0xf0 End of SysEx marker\n\n\nOn receipt of correctly formatted message the Arduino should reply\n\n 0 0xF0 Start of sysex\n 1 0x7D indicating research\/school\/not  a manufacturer\n 2 0xNN 4 Character key , the same as in the arduino application\n 3 0xNN\n 4 0xNN\n 5 0xNN\n 6 0xMM A device ID, you choose to identify your arduino project\n 7 0x02 indicates this is response to a \"give me your configuration\" request \n\t<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Most recent project has been an midi foot controller based around an Arduino\/PJRC Teensy and a companion windows application to configure it. Details and source over at github Sysex Format<\/p>\n","protected":false},"author":2,"featured_media":684,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98,81,80,97,99,1],"tags":[],"class_list":["post-612","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-coding","category-computing","category-midi","category-teensy","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=612"}],"version-history":[{"count":6,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/612\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/612\/revisions\/686"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/684"}],"wp:attachment":[{"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jontrinder.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}