reckfellENGINE

AudioEffectSpectrumAnalyzerInstance

Queryable instance of an AudioEffectSpectrumAnalyzer.

On this page
class AudioEffectSpectrumAnalyzerInstanceReckfellSharpInherits AudioEffectInstance

Queryable instance of an AudioEffectSpectrumAnalyzer.

The runtime part of an AudioEffectSpectrumAnalyzer, which can be used to query the magnitude of a frequency range on its host bus. An instance of this class can be obtained with AudioServer.GetBusEffectInstance.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods1

GetMagnitudeForFrequencyRangeVector2
# GetMagnitudeForFrequencyRange
C#
public Vector2 GetMagnitudeForFrequencyRange(float fromHz, float toHz, AudioEffectSpectrumAnalyzerInstance.MagnitudeMode mode = AudioEffectSpectrumAnalyzerInstance.MagnitudeMode.Max);

Returns the magnitude of the frequencies from from_hz to to_hz in linear energy as a Vector2. The x component of the return value represents the left stereo channel, and y represents the right channel. mode determines how the frequency range will be processed.

Parameters
NameTypeDefault
fromHzfloat—
toHzfloat—
modeAudioEffectSpectrumAnalyzerInstance.MagnitudeModeAudioEffectSpectrumAnalyzerInstance.MagnitudeMode.Max
Returns Vector2

AudioEffectSpectrumAnalyzerInstance.MagnitudeMode

ValueDescription
Average = 0

Use the average value across the frequency range as magnitude.

Max = 1

Use the maximum value of the frequency range as magnitude.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.