Pitch Analysis

Function
Explanation

pitch_estimation(y: npt.ArrayLike, sr:int, nfft: int = 2048)

To show the pitch esitmation result with STFT spectrogram

plot_constant_q_transform(y: npt.ArrayLike, sr:int)

To show the constant Q transfrom spectrum

pitch_class_histogram_chroma(y: npt.ArrayLike, sr: int, higher_resolution: bool, save_to_csv: bool = True)

To show the occurence probability of each pitch by chroma-gram

hzRevampHelper(hzStr: str)

String processing function used in f0-based pitch class statistics

pitch_class_histogram_f0(y: npt.ArrayLike, sr: int, higher_resolution: bool, save_to_csv: bool = True)

To show the occurence probability of each pitch by pitch estimation

Last updated