Overview of SoundTouchJS packages
masterSoundTouchJS is a monorepo containing several specialized packages for real-time audio processing. Depending on your needs, you might use different packages:
- Core Processing:
@soundtouchjs/coreprovides the mainSoundTouchengine, buffers, and interpolation registry. - Web Audio Integration:
@soundtouchjs/audio-workletis the recommended implementation for Web Audio API users, providingAudioParam-based controls and offline rendering. - Advanced Time-Stretching:
@soundtouchjs/stretch-phase-vocoderimplements a phase vocoder algorithm for smoother extreme-ratio time-stretching. - Vocal Preservation:
@soundtouchjs/formant-correction-workletprovides an AudioWorklet with LPC-based formant preservation for natural-sounding vocal pitch shifts. - Interpolation Strategies: Various plugins for different interpolation qualities (e.g.,
@soundtouchjs/interpolation-strategy-lanczos,@soundtouchjs/interpolation-strategy-linear, etc.). - Custom Worklets:
@soundtouchjs/worklet-baseprovides an abstract base class for building your own custom AudioWorklet processors.