Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AudioEffectSpectrumAnalyzer
Hereda: AudioEffect < Resource < RefCounted < Object
Creates an AudioEffectInstance which performs frequency analysis and exposes results to be accessed in real-time.
Descripción
Calculates a Fourier Transform of the audio signal. This effect does not alter the audio. Can be used for creating real-time audio visualizations, like a spectrogram.
This resource configures an AudioEffectSpectrumAnalyzerInstance, which performs the actual analysis at runtime. An instance should be obtained with AudioServer.get_bus_effect_instance() to make use of this effect.
Tutoriales
Propiedades
|
||
|
Enumeraciones
enum FFTSize: 🔗
FFTSize FFT_SIZE_256 = 0
Utiliza un búfer de 256 muestras para la transformación rápida de Fourier. La latencia es mínima, pero la estabilidad a lo largo del tiempo es menor.
FFTSize FFT_SIZE_512 = 1
Utiliza un búfer de 512 muestras para la transformación rápida de Fourier. Baja latencia, pero menos estable en el tiempo.
FFTSize FFT_SIZE_1024 = 2
Utiliza un búfer de 1024 muestras para la transformación rápida de Fourier. Esto supone un equilibrio entre latencia y estabilidad a lo largo del tiempo.
FFTSize FFT_SIZE_2048 = 3
Utiliza un búfer de 2048 muestras para la transformación rápida de Fourier. Alta latencia, pero estable en el tiempo.
FFTSize FFT_SIZE_4096 = 4
Utiliza un búfer de 4096 muestras para la transformación rápida de Fourier. La latencia es máxima, pero la estabilidad a lo largo del tiempo es máxima.
FFTSize FFT_SIZE_MAX = 5
Representa el tamaño del enum FFTSize.
Descripciones de Propiedades
The length of the buffer to keep, in seconds. Higher values keep data around for longer, but require more memory. Value can range from 0.1 to 4.
El tamaño del búfer de Transformada rápida de Fourier. Valores más altos suavizan el análisis del espectro a lo largo del tiempo, pero generan mayor latencia. Los efectos de esta mayor latencia son especialmente notables con cambios repentinos de amplitud.