pumpp.feature.STFTMag

class pumpp.feature.STFTMag(*args, **kwargs)[source]

STFT with only magnitude.

See also

STFT

__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs) Initialize self.
layers() Construct Keras input layers for the given transformer
merge(data) Merge an array of output dictionaries into a single dictionary with properly scoped names.
n_frames(duration) Get the number of frames for a given duration
phase_diff(phase) Compute the phase differential along a given axis
pop(field)
register(key, dimension, dtype[, channels]) Register a field as a tensor with specified shape and type.
scope(key) Apply the name scope to a key
transform(y, sr) Transform an audio signal
transform_audio(y) Compute the STFT

Attributes

idx