我正在尝试从声音文件(.wav)中获取功能;
以下是stft特性的结果:

发布于 2019-07-17 09:32:45
您可以使用PyWavelet以下列方式获得音频wav文件的连续小波变换。然而,手术的速度有点慢。
import pywt
import scipy.io.wavfile
wavefile = 'path to the wavefile'
# read the wavefile
sampling_frequency, signal = scipy.io.wavfile.read(wavefile)
#
scales = (1, len(signal))
coefficient, frequency = pywt.cwt(signal, scales, 'wavelet_type')https://stackoverflow.com/questions/54179171
复制相似问题