set_time_signature
Set the time signature by specifying numerator (beats per measure) and denominator (beat unit). Optionally insert at a specific bar number.
Instructions
Set the time signature.
Args: numerator: Top number (beats per measure). Range: 1-32 denominator: Bottom number (beat unit). Common values: 2, 4, 8, 16 bar: Bar number to insert at. None = current position.
Returns: Success status
Examples: - Common time: set_time_signature(4, 4) - Waltz: set_time_signature(3, 4) - Compound duple: set_time_signature(6, 8) - Cut time: set_time_signature(2, 2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numerator | Yes | ||
| denominator | Yes | ||
| bar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||