{"id":112,"date":"2009-08-29T01:53:01","date_gmt":"2009-08-28T15:53:01","guid":{"rendered":"http:\/\/www.zamaudio.com\/?p=112"},"modified":"2013-07-14T01:51:47","modified_gmt":"2013-07-13T14:51:47","slug":"audio-plugin-gate-with-sidechain","status":"publish","type":"post","link":"https:\/\/www.zamaudio.com\/?p=112","title":{"rendered":"JACK audio plugin &#8211; gate\/expander with sidechain"},"content":{"rendered":"<p>I decided to write my own audio plugin, a gate\/expander, because I couldn&#8217;t find a good equivalent plugin.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.zamaudio.com\/wp-content\/uploads\/2009\/08\/Screenshot-7.png\" alt=\"Screenshot-7\" title=\"Screenshot-7\" width=\"754\" height=\"682\" class=\"alignleft size-full wp-image-364\" srcset=\"https:\/\/www.zamaudio.com\/wp-content\/uploads\/2009\/08\/Screenshot-7.png 754w, https:\/\/www.zamaudio.com\/wp-content\/uploads\/2009\/08\/Screenshot-7-300x271.png 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><\/p>\n<p>You can download a patch for calf-plugins git tree <a href=\"http:\/\/www.zamaudio.com\/mbox2\/calf-gate+xover.patch\">here<\/a>.<\/p>\n<p>To fetch the plugin code and patch to my version:<br \/>\n<code>git clone http:\/\/repo.or.cz\/r\/calf.git calf<br \/>\ncd calf<br \/>\ngit apply path-to-my.patch<br \/>\n.\/autogen.sh<br \/>\n.\/configure --enable-experimental<br \/>\nmake<br \/>\nsudo make install<\/code><\/p>\n<p>I recorded a short mp3 to test the gate with sidechaining.  In the following track, you can hear the left channel controlling the level of the right channel using the gate.  This track is best heard using a pair of stereo headphones to get the full effect.<\/p>\n\t<audio id=\"wp_mep_1\"      controls=\"controls\" preload=\"none\"  >\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t<source src=\"http:\/\/www.zamaudio.com\/mbox2\/gate.ogg\" type=\"audio\/ogg\" \/>\r\n\t\t\r\n\t<\/audio>\r\n<script type=\"text\/javascript\">\r\njQuery(document).ready(function($) {\r\n\t$('#wp_mep_1').mediaelementplayer({\r\n\t\tm:1\r\n\t\t\r\n\t\t,features: ['playpause','current','progress','duration','volume','tracks','fullscreen']\r\n\t\t,audioWidth:400,audioHeight:30\r\n\t});\r\n});\r\n<\/script>\r\n\n","protected":false},"excerpt":{"rendered":"<p>I decided to write my own audio plugin, a gate\/expander, because I couldn&#8217;t find a good equivalent plugin. You can download a patch for calf-plugins git tree here. To fetch the plugin code and patch to my version: git clone http:\/\/repo.or.cz\/r\/calf.git calf cd calf git apply path-to-my.patch .\/autogen.sh .\/configure &#8211;enable-experimental make sudo make install I [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,7,5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/112"}],"collection":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":22,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":827,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions\/827"}],"wp:attachment":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}