Skip to content

Latest commit

 

History

History

crepe

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CREPE Pitch Tracker

Input

Audio file

(Audio from https://github.com/maxrmorrison/torchcrepe/blob/master/tests/assets/test.wav)

Output

Pitch (F0) per 10ms

full model

output_full

tiny model

output_tiny

Requirements

This model requires additional module.

pip3 install librosa
pip3 install soundfile

Usage

Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.

For the sample wav,

$ python3 crepe.py

If you want to specify the audio, put the file path after the --input option.

$ python3 crepe.py --input AUDIO_FILE

Specify the f0 option to infer a model that uses f0. You can choice crepe or crepe_tiny for f0_method.

python3 crepe.py --f0_method crepe_tiny

Specify the --evaluate option, you can be compared with the f0 using pyworld.

python3 crepe.py --f0_method crepe_tiny --evaluate

Reference

Framework

Pytorch

Model Format

ONNX opset=11

Netron