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
Eredita: AudioEffect < Resource < RefCounted < Object
Creates an AudioEffectInstance which performs frequency analysis and exposes results to be accessed in real-time.
Descrizione
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.
Tutorial
Proprietà
|
||
|
Enumerazioni
enum FFTSize: 🔗
FFTSize FFT_SIZE_256 = 0
Utilizza un memoria buffer di 256 campioni per la trasformata di Fourier veloce. Latenza più bassa, ma meno stabile nel tempo.
FFTSize FFT_SIZE_512 = 1
Utilizza un memoria buffer di 512 campioni per la trasformata di Fourier veloce. Latenza bassa, ma meno stabile nel tempo.
FFTSize FFT_SIZE_1024 = 2
Utilizza un memoria buffer di 1024 campioni per la trasformata di Fourier veloce. Questo è un compromesso tra la latenza e la stabilita nel tempo.
FFTSize FFT_SIZE_2048 = 3
Utilizza un memoria buffer di 2048 campioni per la trasformata di Fourier veloce. Latenza alta, ma stabile nel tempo.
FFTSize FFT_SIZE_4096 = 4
Utilizza un memoria buffer di 4096 campioni per la trasformata di Fourier veloce. Latenza più alta, ma la più stabile nel tempo.
FFTSize FFT_SIZE_MAX = 5
Rappresenta la dimensione dell'enumerazione FFTSize.
Descrizioni delle proprietà
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.
Le dimensioni del buffer di trasformata di Fourier veloce. Valori più alti attenuano l'analisi dello spettro nel tempo, ma hanno una latenza maggiore. Gli effetti di questa latenza maggiore sono particolarmente evidenti con improvvisi cambiamenti di amplitudine.