Added in API level 28

Mbc


class Mbc : DynamicsProcessing.BandStage

Class for Multi-Band Compressor (MBC) stage

Summary

Public constructors

Class constructor for MBC stage

Mbc(inUse: Boolean, enabled: Boolean, bandCount: Int)

Constructor for Multi-Band Compressor (MBC) stage

Public methods
DynamicsProcessing.MbcBand!
getBand(band: Int)

Gets MbcBand object for band of interest.

Unit

Sets MbcBand object for given band index

String

Inherited functions
Int getBandCount()

gets number of bands held in this stage

Boolean isEnabled()

returns enabled state of the stage

Boolean isInUse()

returns inUse state of the stage.

Unit setEnabled(enabled: Boolean)

sets enabled state of the stage

Public constructors

Mbc

Added in API level 28
Mbc(cfg: DynamicsProcessing.Mbc!)

Class constructor for MBC stage

Parameters
cfg DynamicsProcessing.Mbc!: copy constructor

Mbc

Added in API level 28
Mbc(
    inUse: Boolean,
    enabled: Boolean,
    bandCount: Int)

Constructor for Multi-Band Compressor (MBC) stage

Parameters
inUse Boolean: true if MBC stage will be used, false otherwise.
enabled Boolean: true if MBC stage is enabled/disabled. This can be changed while effect is running
bandCount Int: number of bands for this MBC stage. Can't be changed while effect is running

Public methods

getBand

Added in API level 28
fun getBand(band: Int): DynamicsProcessing.MbcBand!

Gets MbcBand object for band of interest.

Parameters
band Int: index of band of interest
Return
DynamicsProcessing.MbcBand! MbcBand Object

setBand

Added in API level 28
fun setBand(
    band: Int,
    bandCfg: DynamicsProcessing.MbcBand!
): Unit

Sets MbcBand object for given band index

Parameters
band Int: index of band to be modified
bandCfg DynamicsProcessing.MbcBand!: MbcBand object.

toString

Added in API level 28
fun toString(): String
Return
String a string representation of the object.