librosa 音訊特徵提取的現成文件

Galois發表於2020-05-31

Feature

librosa v: 0.7.2
__all__ = ['spectral_centroid',
           'spectral_bandwidth',
           'spectral_contrast',
           'spectral_rolloff',
           'spectral_flatness',
           'poly_features',
           'rms',
           'zero_crossing_rate',
           'chroma_stft',
           'chroma_cqt',
           'chroma_cens',
           'melspectrogram',
           'mfcc',
           'tonnetz']

def  spectral_centroid(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  freq=None,  win_length=None,  window='hann',  center=True,  pad_mode='reflect'):

def  spectral_bandwidth(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  freq=None,  centroid=None,  norm=True,  p=2):

def  spectral_contrast(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  freq=None,  fmin=200.0,  n_bands=6,  quantile=0.02,  linear=False):

def  spectral_rolloff(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  freq=None,  roll_percent=0.85):

def  spectral_flatness(y=None,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  amin=1e-10,  power=2.0):

def  rms(y=None,  S=None,  frame_length=2048,  hop_length=512,  center=True,  pad_mode='reflect'):

def  poly_features(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  order=1,  freq=None):

def  zero_crossing_rate(y,  frame_length=2048,  hop_length=512,  center=True,  **kwargs):

def  chroma_stft(y=None,  sr=22050,  S=None,  norm=np.inf,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  tuning=None,  n_chroma=12,  **kwargs):

def  chroma_cqt(y=None,  sr=22050,  C=None,  hop_length=512,  fmin=None,  norm=np.inf,  threshold=0.0,  tuning=None,  n_chroma=12,  n_octaves=7,  window=None,  bins_per_octave=None,  cqt_mode='full'):

def  chroma_cens(y=None,  sr=22050,  C=None,  hop_length=512,  fmin=None,  tuning=None,  n_chroma=12,  n_octaves=7,  bins_per_octave=None,  cqt_mode='full',  window=None,  norm=2,  win_len_smooth=41,  smoothing_window='hann'):

def  tonnetz(y=None,  sr=22050,  chroma=None):

def  mfcc(y=None,  sr=22050,  S=None,  n_mfcc=20,  dct_type=2,  norm='ortho',  lifter=0,  **kwargs):

def  melspectrogram(y=None,  sr=22050,  S=None,  n_fft=2048,  hop_length=512,  win_length=None,  window='hann',  center=True,  pad_mode='reflect',  power=2.0,  **kwargs):

其中視窗可以檢視 scipy.signal.get_window

本作品採用《CC 協議》,轉載必須註明作者和本文連結
不要試圖用百米衝刺的方法完成馬拉松比賽。

相關文章