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...
AudioEffectPitchShift
Успадковує: AudioEffect < Resource < RefCounted < Object
Adds a pitch-shifting audio effect to an audio bus.
Raises or lowers the pitch of the input audio.
Опис
Allows modulation of pitch without modifying speed. All frequencies can be raised or lowered with minimal effect on transients.
Посібники
Властивості
|
||
|
||
|
Переліки
enum FFTSize: 🔗
FFTSize FFT_SIZE_256 = 0
Використовуйте буфер із 256 вибірок для швидкого перетворення Фур’є. Найнижча затримка, але найменш стабільна з часом.
FFTSize FFT_SIZE_512 = 1
Використовуйте буфер із 512 вибірок для швидкого перетворення Фур’є. Низька затримка, але менш стабільна з часом.
FFTSize FFT_SIZE_1024 = 2
Використовуйте буфер із 1024 вибірок для швидкого перетворення Фур’є. Це компроміс між затримкою та стабільністю в часі.
FFTSize FFT_SIZE_2048 = 3
Використовуйте буфер із 2048 вибірок для швидкого перетворення Фур’є. Висока затримка, але стабільна з часом.
FFTSize FFT_SIZE_4096 = 4
Використовуйте буфер із 4096 вибірок для швидкого перетворення Фур’є. Найвища затримка, але найбільш стабільна з часом.
FFTSize FFT_SIZE_MAX = 5
Представляє розмір переліку FFTSize.
Описи властивостей
The size of the Fast Fourier transform buffer. Higher values smooth out the effect over time, but have greater latency. The effects of this higher latency are especially noticeable on audio signals that have sudden amplitude changes.
Коефіцієнт передискретизації для використання. Вищі значення призводять до кращої якості, але є більш вимогливими до ЦП і можуть спричинити потріскування звуку, якщо ЦП не встигає.
The pitch scale to use. 1.0 is the default pitch and plays sounds unaffected. pitch_scale can range from 0 (infinitely low pitch, inaudible) to 16 (16 times higher than the initial pitch).