API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePitchShiftEffectOptions

@codexo/exojs-audio-fx / audio / stable

3
props
0
methods
0
events
Import
import { PitchShiftEffectOptions } from '@codexo/exojs-audio-fx'
Properties3
grainSize?: number
Internal SOLA frame size in samples. Default 1024 (~21ms at 48kHz). Larger = more latency but better low-frequency alignment; smaller = lower latency but coarser correlation. The correlation search radius scales with it.
pitch?: number
Pitch ratio. 1.0 = no change, 0.5 = octave down, 2.0 = octave up. Default 1.0.
wet?: number
Dry/wet mix, 0..1. Default 1.0 (full wet).
Source