pytimbre.timbre_features.features.ImpulseFeatures

class pytimbre.timbre_features.features.ImpulseFeatures

Bases: object

Similar to the TimbreFeatures class, this class provides the information that can be used to represent the impulsive acoustics and will not return data for the continuous signals.

__init__()

Methods

__init__()

from_spectra(s)

from_time_history(time_history)

from_waveform(wfm)

This function will create an instance of the class with the data from the waveform provided to the class :param wfm: The impulsive audio data :type wfm: Waveform :return: The impulse feature class :rtype: ImpulseFeatures

static from_waveform(wfm: Waveform)

This function will create an instance of the class with the data from the waveform provided to the class :param wfm: The impulsive audio data :type wfm: Waveform :return: The impulse feature class :rtype: ImpulseFeatures