✋ This model is not published yet.
You can claim this model if you're @marl on GitHub. Contact us.
marl/crepe
A Convolutional Representation for Pitch Estimation -- pre-trained model (ICASSP 2018
Run marl/crepe with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| input |
string
|
Audio file
|
|
| viterbi |
boolean
|
False
|
Apply viterbi smoothing to the estimated pitch curve
|
| plot_voicing |
boolean
|
False
|
Include a visual representation of the voicing activity detection
|
| step_size |
integer
|
10
|
The step size in milliseconds for running pitch estimation
|
| output_type |
string
(enum)
|
plot
Options: plot, json |
Type of output representation: could be plot or json (list of [time, frequency, confidence] values)
|
{
"type": "object",
"properties": {
"input": {
"type": "string",
"format": "uri",
"x-order": 0,
"description": "Audio file"
},
"viterbi": {
"type": "boolean",
"default": false,
"x-order": 1,
"description": "Apply viterbi smoothing to the estimated pitch curve"
},
"step_size": {
"type": "integer",
"default": 10,
"x-order": 3,
"description": "The step size in milliseconds for running pitch estimation"
},
"output_type": {
"enum": [
"plot",
"json"
],
"type": "string",
"default": "plot",
"x-order": 4,
"description": "Type of output representation: could be plot or json (list of [time, frequency, confidence] values)"
},
"plot_voicing": {
"type": "boolean",
"default": false,
"x-order": 2,
"description": "Include a visual representation of the voicing activity detection"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "uri",
"x-order": 0
},
"text": {
"type": "string",
"x-order": 1
}
}
},
"x-cog-array-type": "iterator"
}