![]() |
![]() |
![]() |
GPS04 Reference Manual | ![]() |
---|---|---|---|---|
#include <gps04-smf-time-signature-event.h> GPS04SmfTimeSignatureEvent; GPS04MidiEvent* gps04_smf_time_signature_event_new (guint numerator, guint denominator, guint ticks_per_click, guint thirtyseconds_per_quarter);
The GPS04SmfTimeSignatureEvent class represents a Time Signature event in a Standard MIDI File.
GPS04MidiEvent* gps04_smf_time_signature_event_new (guint numerator, guint denominator, guint ticks_per_click, guint thirtyseconds_per_quarter);
Creates a new time signature event.
Argument examples: 4/4 gives numerator
= 4, denominator
= 2. 6/8 gives
num = 6, denom = 3.
numerator : |
The numerator of the signature, as notated on sheet music. |
denominator : |
The denominator as a negative power of 2: 2 = quarter note, 3 = eight note, etc. |
ticks_per_click : |
The number of MIDI clock ticks per metronome click. |
thirtyseconds_per_quarter : |
The number of notated 32nd notes per MIDI quarter note. |
Returns : | a new GPS04SmfTimeSignatureEvent. |