{"id":75,"date":"2021-04-16T10:56:01","date_gmt":"2021-04-16T08:56:01","guid":{"rendered":"https:\/\/radix-studio.fr\/blog\/?p=75"},"modified":"2023-04-05T13:10:06","modified_gmt":"2023-04-05T11:10:06","slug":"midirouter-the-origins","status":"publish","type":"post","link":"https:\/\/radix-studio.fr\/blog\/2021\/04\/16\/midirouter-the-origins\/","title":{"rendered":"MIDIRouter, the Origins"},"content":{"rendered":"\n<p>I&rsquo;ve developped a tool for MacOS called \u00ab\u00a0MIDIRouter\u00a0\u00bb which does what the name implies: it&rsquo;s able to route (and transform) MIDI messages over MIDI interfaces.<\/p>\n\n\n\n<p>Before going deeper into its features, let&rsquo;s try to understand what I&rsquo;m trying to achieve.<\/p>\n\n\n\n<p>I have a few multi-effects on my studio (an Ensoniq DP\/4, a Digitech Studio Quad v2) and actually I don&rsquo;t use them that much. They&rsquo;re behind me on a rack which is not really convenient to update settings and listen to the results, especially for reverbs.<\/p>\n\n\n\n<p>So I ended up buying a Faderfox EC4 (<a rel=\"noreferrer noopener\" href=\"http:\/\/faderfox.de\/ec4.html\" target=\"_blank\">http:\/\/faderfox.de\/ec4.html<\/a>) wich is a programmable MIDI remote.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/faderfox.de\/images\/EC4%20side%20view%20large-large.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Using the EC4, I&rsquo;m able to associate any VPot to a given MIDI mesage type: send a program change, a control change (pitch bend, aftertouch, Note On, etc.) and customize displayed text to my needs.<\/p>\n\n\n\n<p>This looked quite promizing, but the EC4 has some limitations:<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>When using a ControlChange, displayed value does not necessarily match with the ouput value. Control Changes values can be 7 bits (0 to 127) or 14 bits (0 to 16383) while I can setup displayed value to (0, 127), (0,1000), etc.<\/li><li>The Ensoniq DP\/4 requires proprietary Sysex messages to change its parameters, this is not supported by the EC4<\/li><li>I plan to use the EC4 for other purposes (control DAW plugins is among them), so I want it to be connected to my Mac and forward some messages to my effects chain<\/li><\/ul>\n\n\n\n<p>So I needed a software that would be able to:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Watch an input MIDI device for a certain type of messages (with wildcard support)<\/li><li>Extract a value  (7bits or 14bits) from those messages (a program value from a Program Change, a control value from a Control Change, etc.<\/li><li>Remap the value to the expected output value range (\u00ab\u00a0my EC4 shows a value in the range [0-100], sends a [0-127] value and I want to then to my effect a [0-64] value\u00a0\u00bb)<\/li><li>Re-emit a MIDI message to the output interface using eventually another MIDI message type (\u00ab\u00a0transform the EC4 Control Change messages into DP\/4 Sysex messages) including the extracted value<\/li><\/ul>\n\n\n\n<p>This actually does not exist, so I developped MIDIRouter: <a href=\"https:\/\/github.com\/NothNoth\/MIDIRouter\">https:\/\/github.com\/NothNoth\/MIDIRouter<\/a><\/p>\n\n\n\n<p> MIDIRouter is free to use for personal use and \u00ab\u00a0quite cheap\u00a0\u00bb for professional use.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>In the next article, we&rsquo;ll be setting up a simple routing:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-radix-studio-blog wp-block-embed-radix-studio-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"i4wO1VdVLU\"><a href=\"https:\/\/radix-studio.fr\/blog\/2021\/04\/16\/midirouter-by-example\/\">MIDIRouter by example<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u00ab\u00a0MIDIRouter by example\u00a0\u00bb &#8212; Radix Studio - Blog\" src=\"https:\/\/radix-studio.fr\/blog\/2021\/04\/16\/midirouter-by-example\/embed\/#?secret=gknMM8cuSU#?secret=i4wO1VdVLU\" data-secret=\"i4wO1VdVLU\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I&rsquo;ve developped a tool for MacOS called \u00ab\u00a0MIDIRouter\u00a0\u00bb which does what the name implies: it&rsquo;s able to route (and transform) MIDI messages over MIDI interfaces. Before going deeper into its features, let&rsquo;s try to understand what I&rsquo;m trying to achieve. I have a few multi-effects on my studio (an Ensoniq DP\/4, a Digitech Studio Quad &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/radix-studio.fr\/blog\/2021\/04\/16\/midirouter-the-origins\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;MIDIRouter, the Origins&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[5],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-electronics","tag-midirouter"],"_links":{"self":[{"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":2,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/posts\/75\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/radix-studio.fr\/blog\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}