calculate_time_signature_beats
Compute total beats and duration of a musical passage using tempo (BPM), number of bars, and time signature (beats per bar, beat value).
Instructions
Calculate total beats and duration for a musical passage in bars. Returns: {time_signature}. See list_bundles for related 'musique' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | Yes | Tempo in beats per minute | |
| bars | Yes | Number of bars | |
| beats_per_bar | No | Number of beats per bar (numerator of time signature) | |
| beat_value | No | Note value of one beat (denominator of time signature, e.g. 4 for quarter note) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |