Transforms

class untwist.transforms.STFT(window=None, fft_size=1024, hop_size=512)[source]

Short-Time Fourier Transform Input should be a mono Wave, output is a complex spectrogram

process(*args)
class untwist.transforms.ISTFT(window=None, fft_size=1024, hop_size=512, sample_rate=44100)[source]

Inverse Short-Time Fourier Transform Input should be a complex spectrogram, output is mono Wave

process(*args)
class untwist.transforms.QERBT(n_bins=350, w_len=2048, sr=44100)[source]

Quadratic ERB transform processor, with independent window length and number of bins. Returns a Spectrogram.

make_filterbank()[source]
make_signal_window(n_frames)[source]
process(*args)
class untwist.transforms.QERBFilter(n_bins=350, w_len=2048, sr=44100)[source]

Filterbank based on the QERBT transform.

make_bin_weights()[source]
process(wave, W)[source]