goertzel
Computes a single DFT frequency bin from real-valued samples at a specified bin index for targeted spectral analysis.
Instructions
Compute a single DFT frequency bin using the Goertzel algorithm.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"samples": "<samples>",
"bin": "<bin>"
},
"name": "goertzel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bin | Yes | Target frequency bin index (0 to N-1) | |
| samples | Yes | Array of real-valued samples |