{"id":930,"date":"2014-08-26T04:50:41","date_gmt":"2014-08-26T04:50:41","guid":{"rendered":"http:\/\/charlie-roberts.com\/gibber\/input\/"},"modified":"2014-08-26T04:56:30","modified_gmt":"2014-08-26T04:56:30","slug":"input","status":"publish","type":"page","link":"http:\/\/charlie-roberts.com\/gibber\/input\/","title":{"rendered":"Input"},"content":{"rendered":"<p>Read input from the microphone, for live-processing or sampling. Chrome is currently the only browser to support this feature.<\/p>\n<p>Example:<\/p>\n<pre>input = Input().fx.add( Delay() )\r\n\r\n\/\/ record two measures of input and delay\r\nsampler = Sampler().record( input.fx[0], 2 )\r\nsampler.note.seq( [.5,1,2,4,.25].rnd(), 1\/2 )\r\n\r\n\/\/ disconnect input after sampler has finished recording\r\ninput._<\/pre>\n<h2 id=\"properties\">Properties<\/h2>\n<ul>\n<li><em>amp<\/em> : Default range: { 0, 1 }. Default value: 1. Gain stage on input.<\/li>\n<li><em>fx<\/em> : Array. You can <code>add<\/code> or <code>remove<\/code> fx from the bus using this array.<\/li>\n<\/ul>\n<h2 id=\"methods\">Methods<\/h2>\n<p>None worth mentioning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read input from the microphone, for live-processing or sampling. Chrome is currently the only browser to support this feature. Example: input = Input().fx.add( Delay() ) \/\/ record two measures of input and delay sampler = Sampler().record( input.fx[0], 2 ) sampler.note.seq( [.5,1,2,4,.25].rnd(), 1\/2 ) \/\/ disconnect input after sampler has finished recording input._ Properties amp : [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/930"}],"collection":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/comments?post=930"}],"version-history":[{"count":1,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/930\/revisions"}],"predecessor-version":[{"id":931,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/930\/revisions\/931"}],"wp:attachment":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/media?parent=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}