audioJS

@audio/effect-tapestop

Status pending calibration

npm0.1.2licenseMIT

Tape-stop / spin-down — variable-rate playback with a decelerating read pointer

Overview

Install
Updated
Family
effect, 26 packages under it
Tags
shape
import tapeStop from '@audio/effect-tapestop'

Variable-rate playback with a decelerating (or accelerating) read pointer — turntable power-off / tape-deck stop, and the reverse spin-up. Whole-buffer effect: needs the full signal in one call, not a per-block stream.

at when the stop/start begins, in seconds (default 0) · time ramp duration in seconds (default 1) · curve speed-profile exponent — 1 = physical constant-torque linear decay, >1 = faster initial drop, <1 = held then dropping (default 1) · direction 'stop' or 'start' (default 'stop') · flutter 0–1 random rate wobble during the ramp (default 0)

import tapeStop from '@audio/effect-tapestop'

tapeStop(buf, { at: 2, time: 1.5, direction: 'stop', fs: 44100 })

Use when: DJ/turntable power-off, tape-deck stop/start, transition sweeps
Not for: continuous pitch modulation (use vibrato) or tempo-locked time-stretch


Part of @audio/effect — the effect family umbrella. This README is generated from the umbrella docs.

MIT © audiojs