{"id":99,"date":"2013-05-31T23:43:00","date_gmt":"2013-05-31T22:43:00","guid":{"rendered":"http:\/\/www.celesteh.com\/blog\/2013\/05\/31\/linux-midi-on-supercollider\/"},"modified":"2015-06-19T00:23:07","modified_gmt":"2015-06-18T23:23:07","slug":"linux-midi-on-supercollider","status":"publish","type":"post","link":"https:\/\/www.celesteh.com\/blog\/2013\/05\/31\/linux-midi-on-supercollider\/","title":{"rendered":"Linux Midi on SuperCollider"},"content":{"rendered":"<p>This is just how I got it to work and should not be considered a definitive guide.<br \/>\nI started Jack via QJackCntrl and then booted the SuperCollider server.<br \/>\nI&#8217;ve got a drum machine connected via a MIDI cable to an m-audio fast track ultra.<br \/>\nThis code is Making some noises:<\/p>\n<pre>\n(\nvar ultra;\n\nMIDIClient.init;\n\"init\".postln;\nMIDIClient.destinations.do({|m, i|\n \/\/m.postln;\n \/\/m.name.postln;\n m.name.contains(\"Ultra\").if({\n  ultra = MIDIOut(i);\n  ultra.connect(0);\n  i .postln;\n });\n});\n\n\/\/u = ultra;\n\nPbind(\n midinote, Pseq((36..53), inf),\n amp, 1,\n type, midi,\n midiout, ultra,\n chan, 1,\n foo, Pfunc({|e|\"tick % %n\".postf(e[chan], e[midinote])}),\n dur, 0.2\n).play\n\n\n)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is just how I got it to work and should not be considered a definitive guide. I started Jack via QJackCntrl and then booted the SuperCollider server. I&#8217;ve got a drum machine connected via a MIDI cable to an m-audio fast track ultra. This code is Making some noises: ( var ultra; MIDIClient.init; &#8220;init&#8221;.postln; &hellip; <a href=\"https:\/\/www.celesteh.com\/blog\/2013\/05\/31\/linux-midi-on-supercollider\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linux Midi on SuperCollider<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[39,84,64],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-linux","tag-midi","tag-supercollider"],"_links":{"self":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":2294,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions\/2294"}],"wp:attachment":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}