{"id":929,"date":"2014-08-26T04:50:01","date_gmt":"2014-08-26T04:50:01","guid":{"rendered":"http:\/\/charlie-roberts.com\/gibber\/gibber-2\/"},"modified":"2014-08-26T05:00:11","modified_gmt":"2014-08-26T05:00:11","slug":"gibber-2","status":"publish","type":"page","link":"http:\/\/charlie-roberts.com\/gibber\/gibber-2\/","title":{"rendered":"Gibber"},"content":{"rendered":"<p>The main object of the library. <\/p>\n<p>Example:<\/p>\n<pre>Gibber.init({ globalize: false })\r\n\r\nsine = Gibber.Oscillators.Sine()\r\n<\/pre>\n<h2 id=\"properties\">Properties<\/h2>\n<ul>\n<li><em>Clock<\/em> : Object. Controls time and meter. See Gibber.Clock for details.<\/li>\n<li><em>Audio<\/em> : Object. The main synthesis library for Gibber is named <em>Gibberish<\/em>; this property wraps that library.<\/li>\n<li><em>Master<\/em> : Object. The master output bus for Gibber. Any FX placed on this bus will affect all sound coming out of Gibber. See the Bus reference for more detail.<\/li>\n<li><em>Scale<\/em> : Object. This determines the default root and mode used by Gibber&#39;s synthesis objects when sequencing. It can be overridden on individual ugen&#39;s by assigning them their own unique scale objects. See the Scale reference for details.<\/li>\n<\/ul>\n<h2 id=\"methods\">Methods<\/h2>\n<ul>\n<li><em>clear<\/em>(): This method removes all unit generators from the audio graph. It also resets the tempo to 120 BPM and the amplitude of the Master bus to 1.<\/li>\n<li><em>log<\/em>( String: msg ): Print a message to Gibber&#39;s console.<\/li>\n<li><em>init<\/em>( Object: options ): Start Gibber. The most important option is <code>globalize<\/code>. When <code>globalize<\/code> is set to false (as in the example at the top of this page) the constructors for Gibber&#39;s unit generators will not be placed in the global namespace. The default value for globalize is <code>true<\/code>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The main object of the library. Example: Gibber.init({ globalize: false }) sine = Gibber.Oscillators.Sine() Properties Clock : Object. Controls time and meter. See Gibber.Clock for details. Audio : Object. The main synthesis library for Gibber is named Gibberish; this property wraps that library. Master : Object. The master output bus for Gibber. Any FX placed [&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\/929"}],"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=929"}],"version-history":[{"count":1,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/929\/revisions"}],"predecessor-version":[{"id":935,"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/pages\/929\/revisions\/935"}],"wp:attachment":[{"href":"http:\/\/charlie-roberts.com\/gibber\/wp-json\/wp\/v2\/media?parent=929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}