Skip to content

reconstructVocal

reconstructVocal(mixtureStft, eqCurves, sr, nFft?, hopLength?): Float32Array<ArrayBufferLike>

Defined in: packages/pleco-xa/src/scripts/xa-vocal-separation.js:566

Reconstruct a vocal ESTIMATE from EQ curves learned against a reference stem (supervised — not blind separation; for that use decompose.hpss / softmask / nn_filter)

any[]

Mixture STFT in (freq x time) format

number[][]

EQ curves for each window

number

Sample rate

number = 2048

FFT size

number = 1024

Hop length

Float32Array<ArrayBufferLike>

Reconstructed audio