chroma_cqt
Analyze audio signals to extract chromatic content with chroma CQT, identifying note names, time positions, and amplitudes for music analysis. Saves results to a CSV file for detailed examination.
Instructions
Computes the chroma CQT of the given audio time series using librosa.
The chroma CQT is a representation of the audio signal in terms of its
chromatic content, which is useful for music analysis.
The chroma CQT is computed using the following parameters:
- path_audio_time_series_y: The path to the audio time series (CSV file).
It's sometimes better to take harmonics only
- hop_length: The number of samples between frames.
- fmin: The minimum frequency of the chroma feature.
- n_chroma: The number of chroma bins (default is 12).
- n_octaves: The number of octaves to include in the chroma feature.
The chroma CQT is saved to a CSV file with the following columns:
- note: The note name (C, C#, D, etc.).
- time: The time position of the note in seconds.
- amplitude: The amplitude of the note at that time.
The path to the CSV file is returned.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fmin | No | ||
hop_length | No | ||
n_chroma | No | ||
n_octaves | No | ||
path_audio_time_series_y | Yes |
Input Schema (JSON Schema)
{
"properties": {
"fmin": {
"default": null,
"title": "Fmin",
"type": "number"
},
"hop_length": {
"default": 512,
"title": "Hop Length",
"type": "integer"
},
"n_chroma": {
"default": 12,
"title": "N Chroma",
"type": "integer"
},
"n_octaves": {
"default": 7,
"title": "N Octaves",
"type": "integer"
},
"path_audio_time_series_y": {
"title": "Path Audio Time Series Y",
"type": "string"
}
},
"required": [
"path_audio_time_series_y"
],
"title": "chroma_cqtArguments",
"type": "object"
}