Basic FunctionalityAudio MenagementAudioBusOn this pageAudioBus Description: A record that represents an audio bus. Class Object: AudioBus Class. Inherits from: Object. AudioBus.Filter Type: Enumeration. Description: The type of the filter that can be applied to the audio bus. Signature: enum Filter -- No filter. "" -- The bass boost filter. -- param0: WET, float, min: 0, max: 1 -- param1: BOOST, float, min: 0, max: 10 "BassBoost" -- The biquad resonant filter. -- param0: WET, float, min: 0, max: 1 -- param1: TYPE, int, values: 0 - LOWPASS, 1 - HIGHPASS, 2 - BANDPASS -- param2: FREQUENCY, float, min: 10, max: 8000 -- param3: RESONANCE, float, min: 0.1, max: 20 "BiquadResonant" -- The DC removal filter. -- param0: WET, float, min: 0, max: 1 "DCRemoval" -- The echo filter. -- param0: WET, float, min: 0, max: 1 -- param1: DELAY, float, min: 0, max: 1 -- param2: DECAY, float, min: 0, max: 1 -- param3: FILTER, float, min: 0, max: 1 "Echo" -- The equalizer filter. -- param0: WET, float, min: 0, max: 1 -- param1: BAND0, float, min: 0, max: 4 -- param2: BAND1, float, min: 0, max: 4 -- param3: BAND2, float, min: 0, max: 4 -- param4: BAND3, float, min: 0, max: 4 -- param5: BAND4, float, min: 0, max: 4 -- param6: BAND5, float, min: 0, max: 4 -- param7: BAND6, float, min: 0, max: 4 -- param8: BAND7, float, min: 0, max: 4 "Eq" -- The FFT filter. -- param0: WET, float, min: 0, max: 1 "FFT" -- The flanger filter. -- param0: WET, float, min: 0, max: 1 -- param1: DELAY, float, min: 0.001, max: 0.1 -- param2: FREQ, float, min: 0.001, max: 100 "Flanger" -- The freeverb filter. -- param0: WET, float, min: 0, max: 1 -- param1: FREEZE, float, min: 0, max: 1 -- param2: ROOMSIZE, float, min: 0, max: 1 -- param3: DAMP, float, min: 0, max: 1 -- param4: WIDTH, float, min: 0, max: 1 "FreeVerb" -- The lofi filter. -- param0: WET, float, min: 0, max: 1 -- param1: SAMPLE_RATE, float, min: 100, max: 22000 -- param2: BITDEPTH, float, min: 0.5, max: 16 "Lofi" -- The robotize filter. -- param0: WET, float, min: 0, max: 1 -- param1: FREQ, float, min: 0.1, max: 100 -- param2: WAVE, float, min: 0, max: 6 "Robotize" -- The wave shaper filter. -- param0: WET, float, min: 0, max: 1 -- param1: AMOUNT, float, min: -1, max: 1 "WaveShaper"end volume Type: Field. Description: The volume of the audio bus. The value is between 0.0 and 1.0. Signature: volume: number pan Type: Field. Description: The pan of the audio bus. The value is between -1.0 and 1.0. Signature: pan: number playSpeed Type: Field. Description: The play speed of the audio bus. The value 1.0 is the normal speed. 0.5 is half speed. 2.0 is double speed. Signature: playSpeed: number fadeVolume Type: Function. Description: Fades the volume of the audio bus to the specified value over the specified time. Signature: fadeVolume: function(self: AudioBus, time: number, toVolume: number) Parameters: ParameterTypeDescriptiontimenumberThe time in seconds to fade the volume.toVolumenumberThe volume to fade to. fadePan Type: Function. Description: Fades the pan of the audio bus to the specified value over the specified time. Signature: fadePan: function(self: AudioBus, time: number, toPan: number) Parameters: ParameterTypeDescriptiontimenumberThe time in seconds to fade the pan.toPannumberThe pan to fade to. fadePlaySpeed Type: Function. Description: Fades the play speed of the audio bus to the specified value over the specified time. Signature: fadePlaySpeed: function(self: AudioBus, time: number, toPlaySpeed: number) Parameters: ParameterTypeDescriptiontimenumberThe time in seconds to fade the play speed.toPlaySpeednumberThe play speed to fade to. setFilter Type: Function. Description: Sets the filter of the audio bus. Signature: setFilter: function(self: AudioBus, index: integer, name: Filter) Parameters: ParameterTypeDescriptionindexintegerThe index of the filter.nameFilterThe type of the filter. setFilterParameter Type: Function. Description: Sets the parameter of the filter of the audio bus. Signature: setFilterParameter: function(self: AudioBus, index: integer, attrId: integer, value: number) Parameters: ParameterTypeDescriptionindexintegerThe index of the filter.attrIdintegerThe attribute ID of the filter.valuenumberThe value of the parameter. getFilterParameter Type: Function. Description: Gets the parameter of the filter of the audio bus. Signature: getFilterParameter: function(self: AudioBus, index: integer, attrId: integer): number Parameters: ParameterTypeDescriptionindexintegerThe index of the filter.attrIdintegerThe attribute ID of the filter. Returns: Return TypeDescriptionnumberThe value of the parameter. fadeFilterParameter Type: Function. Description: Fades the parameter of the filter of the audio bus to the specified value over the specified time. Signature: fadeFilterParameter: function(self: AudioBus, index: integer, attrId: integer, to: number, time: number) Parameters: ParameterTypeDescriptionindexintegerThe index of the filter.attrIdintegerThe attribute ID of the filter.tonumberThe value to fade to.timenumberThe time in seconds to fade the parameter.