scripts/gibber/audio.js
function( target ) {
    $.extend( target, Audio.Busses )       
    $.extend( target, Audio.Oscillators )
    $.extend( target, Audio.Synths )
    $.extend( target, Audio.Percussion )
    $.extend( target, Audio.Envelopes )
    $.extend( target, Audio.FX )
    $.extend( target, Audio.Seqs )    
    $.extend( target, Audio.Samplers )
    
    var __clear__ = target.clear
    $.extend( target, Audio.PostProcessing )
    target.clear = __clear__

    $.extend( target, Audio.Vocoder )
    
    target.Theory = Audio.Theory
    $.extend( target, Audio.Analysis ) 
    
    // target.future = Gibber.Utilities.future
    // target.solo = Gibber.Utilities.solo    
    target.Score = Audio.Score
		target.Clock = Audio.Clock
    target.Seq = Audio.Seqs.Seq
    target.Arp = Audio.Arp // move Arp to sequencers?
    target.ScaleSeq = Audio.Seqs.ScaleSeq
    target.SoundFont = Audio.SoundFont
    target.Speak = Audio.Speak
    target.Additive = Audio.Additive
    target.Ugen = Audio.Ugen
    
    target.Rndi = Audio.Core.Rndi
    target.Rndf = Audio.Core.Rndf     
    target.rndi = Audio.Core.rndi
    target.rndf = Audio.Core.rndf
    
    target.Input = Audio.Input
    
    target.Freesound = Audio.Freesound
    target.Freesoundjs2 = Audio.Freesoundjs2
    
    target.Scale = Audio.Theory.Scale
    
    target.Ensemble = Audio.Ensemble

		target.module = Gibber.import
    // target.ms = Audio.Time.ms
    // target.seconds = target.sec = Audio.Time.seconds
    // target.minutes = target.min = Audio.Time.minutes
    Audio.Core.Time.export( target )
    Audio.Clock.export( target )
    //target.sec = target.seconds
    Audio.Core.Binops.export( target )
    
    target.Master = Audio.Master    
  }
function( target ) {
    $.extend( target, Audio.Busses )       
    $.extend( target, Audio.Oscillators )
    $.extend( target, Audio.Synths )
    $.extend( target, Audio.Percussion )
    $.extend( target, Audio.Envelopes )
    $.extend( target, Audio.FX )
    $.extend( target, Audio.Seqs )    
    $.extend( target, Audio.Samplers )
    
    var __clear__ = target.clear
    $.extend( target, Audio.PostProcessing )
    target.clear = __clear__

    $.extend( target, Audio.Vocoder )
    
    target.Theory = Audio.Theory
    $.extend( target, Audio.Analysis ) 
    
    // target.future = Gibber.Utilities.future
    // target.solo = Gibber.Utilities.solo    
    target.Score = Audio.Score
		target.Clock = Audio.Clock
    target.Seq = Audio.Seqs.Seq
    target.Arp = Audio.Arp // move Arp to sequencers?
    target.ScaleSeq = Audio.Seqs.ScaleSeq
    target.SoundFont = Audio.SoundFont
    target.Speak = Audio.Speak
    target.Additive = Audio.Additive
    target.Ugen = Audio.Ugen
    
    target.Rndi = Audio.Core.Rndi
    target.Rndf = Audio.Core.Rndf     
    target.rndi = Audio.Core.rndi
    target.rndf = Audio.Core.rndf
    
    target.Input = Audio.Input
    
    target.Freesound = Audio.Freesound
    target.Freesoundjs2 = Audio.Freesoundjs2
    
    target.Scale = Audio.Theory.Scale
    
    target.Ensemble = Audio.Ensemble

		target.module = Gibber.import
    // target.ms = Audio.Time.ms
    // target.seconds = target.sec = Audio.Time.seconds
    // target.minutes = target.min = Audio.Time.minutes
    Audio.Core.Time.export( target )
    Audio.Clock.export( target )
    //target.sec = target.seconds
    Audio.Core.Binops.export( target )
    
    target.Master = Audio.Master    
  }
function ( target ) { $ . extend ( target , Audio . Busses ) $ . extend ( target , Audio . Oscillators ) $ . extend ( target , Audio . Synths ) $ . extend ( target , Audio . Percussion ) $ . extend ( target , Audio . Envelopes ) $ . extend ( target , Audio . FX ) $ . extend ( target , Audio . Seqs ) $ . extend ( target , Audio . Samplers ) var __clear__ = target . clear $ . extend ( target , Audio . PostProcessing ) target . clear = __clear__ $ . extend ( target , Audio . Vocoder ) target . Theory = Audio . Theory $ . extend ( target , Audio . Analysis ) // target.future = Gibber.Utilities.future // target.solo = Gibber.Utilities.solo     target . Score = Audio . Score target . Clock = Audio . Clock target . Seq = Audio . Seqs . Seq target . Arp = Audio . Arp // move Arp to sequencers? target . ScaleSeq = Audio . Seqs . ScaleSeq target . SoundFont = Audio . SoundFont target . Speak = Audio . Speak target . Additive = Audio . Additive target . Ugen = Audio . Ugen target . Rndi = Audio . Core . Rndi target . Rndf = Audio . Core . Rndf target . rndi = Audio . Core . rndi target . rndf = Audio . Core . rndf target . Input = Audio . Input target . Freesound = Audio . Freesound target . Freesoundjs2 = Audio . Freesoundjs2 target . Scale = Audio . Theory . Scale target . Ensemble = Audio . Ensemble target . module = Gibber . import // target.ms = Audio.Time.ms // target.seconds = target.sec = Audio.Time.seconds // target.minutes = target.min = Audio.Time.minutes Audio . Core . Time . export ( target ) Audio . Clock . export ( target ) //target.sec = target.seconds Audio . Core . Binops . export ( target ) target . Master = Audio . Master }
only run clear function if initialized can't name export as Gibberish has the same nameAudio
only run clear function if initialized can t name export as Gibberish has the same nameAudio