AudioBand
class
Last updated
class
Last updated
AudioBand(BandCount bandCount)
Create a new instance of AudioBand with the specified band count
GetFrequencyBand(int bandIndex, bool buffered = false)
Get specified band's frequency band - Index of a band you want to get the value of
buffered - Provides smoother falloff of values
GetAudioBand(int bandIndex, bool buffered = false)
Get specified band's normallized frequency (0 to 1) band - Index of a band you want to get the value of buffered - Provides smoother falloff of values
GetAmplitude(bool buffered = false)
Get the total amplitude of the audio source buffered - Provides smoother falloff of values
Update(Action<float[]> getSamples)
Update the band values. getSamples - A delegate that assigns samples from AudioSource.GetSpectrumData