Read Song Length
transport_song_lengthReads the total length of the current FL Studio song or active pattern in ticks, seconds, milliseconds, bars, and 16th-note steps for timing and arrangement checks.
Instructions
Read total length of the current FL Studio song or active pattern across time units.
Returns length in ticks, seconds, milliseconds, bars, and 16th-note steps. Use
transport_status for current playhead position and playback state, or
pattern_list for individual pattern step lengths. Read-only.
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": "transport_song_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||