{"id":545,"date":"2011-07-07T13:25:23","date_gmt":"2011-07-07T12:25:23","guid":{"rendered":"http:\/\/www.abumarkub.net\/abublog\/?p=545"},"modified":"2015-08-22T13:56:38","modified_gmt":"2015-08-22T12:56:38","slug":"midibridge-support-multiple-midiconnections","status":"publish","type":"post","link":"https:\/\/abumarkub.net\/abublog\/?p=545","title":{"rendered":"Midibridge supports multiple midi connections"},"content":{"rendered":"<p><strong>Deprecated, please use Chris Wilson&#8217;s <a target=\"blank\" href=\"https:\/\/github.com\/cwilso\/WebMIDIAPIShim\">WebMIDIAPI Shim<\/a><\/strong><\/p>\n<p><a title=\"Jonathan El-Bizri\" href=\"http:\/\/www.hearfeel.com\" rel=\"Jonathan El-Bizri\" target=\"blank\">Jonathan El-Bizri<\/a> gave me the brilliant idea to add support for multiple midi connections to the midibridge. I made a very basic implementation of this functionality, see overhere: <a href=\"http:\/\/abumarkub.net\/midibridge\/js3\/\" target=\"blank\" title=\"abumarkub midibridge supports multiple midi connections\" rel=\"abumarkub midibridge supports multiple midi connections\">http:\/\/abumarkub.net\/midibridge\/js3\/<\/a> The code will be available on <a title=\"abumarkub midibridge supports multiple midi connections code on GitHub\" href=\"https:\/\/github.com\/abudaan\" rel=\"abumarkub midibridge supports multiple midi connections code on GitHub\" target=\"blank\">GitHub<\/a> in the coming few days. Open the midi configuration and click &#8216;add midi connection&#8217;. You can add as many midi connections as you like (only limited by the amount of RAM on your computer). Once created, you can change the in- and\/or outport of a midi connection. If you create 2 identical midi connections, only the one you created first will be effective. Identical midi connections are connections that have the same midi in- and outport. You can also filter types of midi events per connection. Currently i have only added &#8216;control change&#8217;, &#8216;program change&#8217; and &#8216;pitch bend&#8217;, but all types can be filtered out: it is just a matter of adding more checkboxes. If a checkbox is checked, the related type of midi event will not be sent to the midi outport. <!--more--> The original idea of Jonathan was to make a patch panel with<\/p>\n<p><a title=\"abumarkub midibridge patchpanel with jsPlumb\" href=\"http:\/\/jsplumb.org\/jquery\/demo.html\" rel=\"abumarkub midibridge patchpanel with jsPlumb\" target=\"blank\">jsPlumb<\/a> so you can arrange the midi devices as you like. I am working on a somewhat more modest patch panel that looks more like the connections panel of <a title=\"abumarkub midibridge patchpanel like JACK\" href=\"http:\/\/jackaudio.org\/\" rel=\"abumarkub midibridge patchpanel like JACK\" target=\"blank\">JACK<\/a>. It will look something like this (click image to enlarge): <figure id=\"attachment_559\" aria-describedby=\"caption-attachment-559\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/abumarkub.net\/abublog\/wp-content\/uploads\/2011\/07\/abumarkub-midibridge-patch-panel.jpg\" target=\"blank\" title=\"abumarkub midibridge patchpanel for connecting multiple midi connections\" rel=\"abumarkub midibridge patchpanel for connecting multiple midi connections\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-559\" title=\"abumarkub-midibridge-patch-panel\" src=\"http:\/\/abumarkub.net\/abublog\/wp-content\/uploads\/2011\/07\/abumarkub-midibridge-patch-panel-300x174.jpg\" alt=\"abumarkub midibridge patch panel\" width=\"300\" height=\"174\" \/><\/a><figcaption id=\"caption-attachment-559\" class=\"wp-caption-text\">abumarkub midibridge patch panel<\/figcaption><\/figure> I have put an early version online, it uses <a title=\"abumarkub midibridge patchpanel with Raphaeljs\" href=\"http:\/\/raphaeljs.com\/\" rel=\"abumarkub midibridge patchpanel with Raphaeljs\" target=\"blank\">Raphaeljs<\/a> for drawing the wires. But be warned, it still is very buggy: <a href=\"http:\/\/abumarkub.net\/midibridge\/js2\/\" title=\"abumarkub midibridge supports multiple midi connections patchpanel test version\" rel=\"abumarkub midibridge supports multiple midi connections patchpanel test version\" target=\"blank\">http:\/\/abumarkub.net\/midibridge\/js2\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Deprecated, please use Chris Wilson&#8217;s WebMIDIAPI Shim Jonathan El-Bizri gave me the brilliant idea to add support for multiple midi connections to the midibridge. I made a very basic implementation of this functionality, see overhere: http:\/\/abumarkub.net\/midibridge\/js3\/ The code will be available on GitHub in the coming few days. Open the midi configuration and click &#8216;add [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7,8,9],"tags":[],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-color-piano","category-java","category-javascript","category-midi"],"_links":{"self":[{"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/posts\/545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=545"}],"version-history":[{"count":8,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions"}],"predecessor-version":[{"id":1036,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions\/1036"}],"wp:attachment":[{"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abumarkub.net\/abublog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}