Documentation ¶
Overview ¶
Package AudioEffectSpectrumAnalyzer provides methods for working with AudioEffectSpectrumAnalyzer object instances.
Index ¶
- type Advanced
- type Any
- type FFTSize
- type Instance
- func (self Instance) AsAudioEffect() AudioEffect.Instance
- func (self Instance) AsAudioEffectSpectrumAnalyzer() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) BufferLength() Float.X
- func (self Instance) FftSize() gdclass.AudioEffectSpectrumAnalyzerFFTSize
- func (self Instance) SetBufferLength(value Float.X)
- func (self Instance) SetFftSize(value gdclass.AudioEffectSpectrumAnalyzerFFTSize)
- func (self Instance) SetTapBackPos(value Float.X)
- func (self Instance) TapBackPos() Float.X
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type FFTSize ¶
type FFTSize = gdclass.AudioEffectSpectrumAnalyzerFFTSize //gd:AudioEffectSpectrumAnalyzer.FFTSize
const ( /*Use a buffer of 256 samples for the Fast Fourier transform. Lowest latency, but least stable over time.*/ FftSize256 FFTSize = 0 /*Use a buffer of 512 samples for the Fast Fourier transform. Low latency, but less stable over time.*/ FftSize512 FFTSize = 1 /*Use a buffer of 1024 samples for the Fast Fourier transform. This is a compromise between latency and stability over time.*/ FftSize1024 FFTSize = 2 /*Use a buffer of 2048 samples for the Fast Fourier transform. High latency, but stable over time.*/ FftSize2048 FFTSize = 3 /*Use a buffer of 4096 samples for the Fast Fourier transform. Highest latency, but most stable over time.*/ FftSize4096 FFTSize = 4 /*Represents the size of the [enum FFTSize] enum.*/ FftSizeMax FFTSize = 5 )
type Instance ¶
type Instance [1]gdclass.AudioEffectSpectrumAnalyzer
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 acquired with [method AudioServer.get_bus_effect_instance]. See also [AudioStreamGenerator] for procedurally generating sounds.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsAudioEffect ¶
func (self Instance) AsAudioEffect() AudioEffect.Instance
func (Instance) AsAudioEffectSpectrumAnalyzer ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) BufferLength ¶
func (Instance) FftSize ¶
func (self Instance) FftSize() gdclass.AudioEffectSpectrumAnalyzerFFTSize
func (Instance) SetBufferLength ¶
func (Instance) SetFftSize ¶
func (self Instance) SetFftSize(value gdclass.AudioEffectSpectrumAnalyzerFFTSize)