{"id":889,"date":"2014-08-26T00:52:44","date_gmt":"2014-08-26T00:52:44","guid":{"rendered":"http:\/\/charlie-roberts.com\/gibber\/hat\/"},"modified":"2014-08-26T00:52:44","modified_gmt":"2014-08-26T00:52:44","slug":"hat","status":"publish","type":"page","link":"http:\/\/charlie-roberts.com\/gibber\/hat\/","title":{"rendered":"Hat"},"content":{"rendered":"<p>A synthesized hihat drum sound with a built-in sequencer. Consists of six detuned sequencers feeding split into separate bandpass and hipass filters.<\/p>\n<p>Inherits from Ugen.<\/p>\n<p>Example:<\/p>\n<pre>\/\/ use random decays for each hihat hit  \na = Hat().play( Rndi(1000, 11025), 1\/8 )<\/pre>\n<h2 id=\"properties\">Properties<\/h2>\n<ul>\n<li><em>decay<\/em> : Int. The length of the decay in samples. IMPORTANT NOTE: At some point this will change to a value between {0,1}, but for now you specify this in samples.<\/li>\n<li><em>pitch<\/em> : Int. The base frequency for the square wave oscillators used to generate the hihat sound. Default is 325 Hz.<\/li>\n<li><em>amp<\/em> : Float. default range { 0, 1 }. default value: .25.<\/li>\n<\/ul>\n<h2 id=\"methods\">Methods<\/h2>\n<ul>\n<li><em>play<\/em>( Array:frequencies, Array:durations ) : This method accepts arrays of frequencies and durations as arguments to create and start a sequencer targeting the oscillator. <\/li>\n<li><em>note<\/em>( Int:decay ) : The decay of the hihat hit. <\/li>\n<li><em>stop<\/em>() : This method stops the sequencer that is built into the oscillator if it has been started.<\/li>\n<li><em>kill<\/em>() : Disconnect the oscillator from whatever bus it is connected to. Note that if the oscillator is reference by another unit generator it will continue to feed output to it.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A synthesized hihat drum sound with a built-in sequencer. Consists of six detuned sequencers feeding split into separate bandpass and hipass filters. Inherits from Ugen. Example: \/\/ use random decays for each hihat hit a = Hat().play( Rndi(1000, 11025), 1\/8 ) Properties decay : Int. The length of the decay in samples. IMPORTANT NOTE: At [&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\/889"}],"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=889"}],"version-history":[{"count":0,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/889\/revisions"}],"wp:attachment":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/media?parent=889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}