Convert between seconds and ticks
compute_ticksConvert audio durations to FamiStudio ticks using NTSC or PAL frame rates, and verify pattern budget lengths.
Instructions
FamiStudio tempo arithmetic: with a uniform groove one tick equals one frame, so duration is ticks / frameRate (60.0988 NTSC, 50.007 PAL). Use it to turn a target duration into the tick count a spec needs, or to check how long a pattern budget lasts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compute_ticks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pal | No | ||
| ticks | No | ||
| seconds | No | ||
| noteLength | No | ||
| patternLength | No |