{"id":903,"date":"2014-08-26T00:52:46","date_gmt":"2014-08-26T00:52:46","guid":{"rendered":"http:\/\/charlie-roberts.com\/gibber\/snare\/"},"modified":"2014-08-26T00:52:46","modified_gmt":"2014-08-26T00:52:46","slug":"snare","status":"publish","type":"page","link":"http:\/\/charlie-roberts.com\/gibber\/snare\/","title":{"rendered":"Snare"},"content":{"rendered":"<p>A synthesized snare drum generator with a built-in sequencer.<\/p>\n<p>Inherits from Ugen.<\/p>\n<p>Example:<\/p>\n<pre>\/\/ use random tunings for each snare hit  \na = Snare().play( Rndf(.5, 1.5), 1\/2 )  \na.decay = 22050<\/pre>\n<h2 id=\"properties\">Properties<\/h2>\n<ul>\n<li><em>decay<\/em> : Int. The length of noise decay in the snare sound 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>snappy<\/em> : Float. The amplitude of the noise level in the snare sound.<\/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>( Float:tuning, Float:amp, Float:snappy ) : Tuning changes the frequency of various bandpass filters within the synthesis values. Numbers above one will have a higher pitch than the default; lower numbers will have a lower pitch.<\/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 snare drum generator with a built-in sequencer. Inherits from Ugen. Example: \/\/ use random tunings for each snare hit a = Snare().play( Rndf(.5, 1.5), 1\/2 ) a.decay = 22050 Properties decay : Int. The length of noise decay in the snare sound in samples. IMPORTANT NOTE: At some point this will change to [&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\/903"}],"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=903"}],"version-history":[{"count":0,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/903\/revisions"}],"wp:attachment":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/media?parent=903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}