Class AudioEffectSpectrumAnalyzer
Audio effect that can be used for real-time audio visualizations.
- Inheritance
-
AudioEffectSpectrumAnalyzer
Remarks
This audio effect does not affect sound output, but can be used for real-time audio visualizations.
This resource configures an AudioEffectSpectrumAnalyzerInstance, which performs the actual analysis at runtime. An instance can be obtained with AudioServer.get_bus_effect_instance.
See also AudioStreamGenerator for procedurally generating sounds.
See Also
Properties
buffer_length
The length of the buffer to keep (in seconds). Higher values keep data around for longer, but require more memory.
var buffer_length : float = 2.0
Property Value
Remarks
fft_size
The size of the Fast Fourier transform buffer. Higher values smooth out the spectrum analysis over time, but have greater latency. The effects of this higher latency are especially noticeable with sudden amplitude changes.
var fft_size : int = 2
Property Value
Remarks
tap_back_pos
var tap_back_pos : float = 0.01