audio/tempo_track.h file


Object to hold information for the Tempo track.


auto tempo_track_default(int track_pos) -> Track*
Creates the default tempo track.
void tempo_track_init(Track* track)
Inits the tempo track.
void tempo_track_clear(Track* self)
Removes all objects from the tempo track.
auto tempo_track_get_bpm_at_pos(Track* track, Position* pos) -> bpm_t
Returns the BPM at the given pos.
auto tempo_track_get_current_bpm(Track* self) -> bpm_t
Returns the current BPM.
void tempo_track_set_bpm(Track* self, bpm_t bpm, bpm_t start_bpm, bool temporary, bool fire_events)
Sets the BPM.