Module dsp

Module dsp 

Source

Functionsยง

istft_cac_stereo
Inverse STFT for complex-as-channels stereo spectrogram Input: complex-as-channels [L.re, L.im, R.re, R.im] with shape [4, F, Frames] Returns: (left, right) stereo waveform of length target_length
stft_cac_stereo_centered
Compute complex-as-channels spectrogram for stereo with center padding. Returns (buffer, F=2048, Frames=336) for T=343_980, n_fft=4096, hop=1024. Layout is [1, 4, F, Frames] flattened => channels order: L.re, L.im, R.re, R.im.
to_planar_stereo