Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
AudioEngine::PositionInfo Struct Reference

Data Fields

bool is_rolling_ = false
 Transport is rolling.
 
float bpm_ = 120.f
 BPM.
 
double playhead_ticks_ = 0.0
 Exact playhead position (in ticks).
 
int32_t bar_ = 1
 Current bar.
 
int32_t beat_ = 1
 Current beat (within bar).
 
int32_t sixteenth_ = 1
 Current sixteenth (within beat).
 
int32_t sixteenth_within_bar_ = 1
 Current sixteenth (within bar).
 
int32_t sixteenth_within_song_ = 1
 Current sixteenth (within song, ie, total sixteenths).
 
double tick_within_beat_ = 0.0
 Current tick-within-beat.
 
double tick_within_bar_ = 0.0
 Current tick (within bar).
 
int32_t ninetysixth_notes_ = 0
 Total 1/96th notes completed up to current pos.
 

Detailed Description

Definition at line 190 of file engine.h.

Field Documentation

◆ bar_

int32_t AudioEngine::PositionInfo::bar_ = 1

Current bar.

Definition at line 204 of file engine.h.

◆ beat_

int32_t AudioEngine::PositionInfo::beat_ = 1

Current beat (within bar).

Definition at line 207 of file engine.h.

◆ bpm_

float AudioEngine::PositionInfo::bpm_ = 120.f

BPM.

Definition at line 196 of file engine.h.

◆ is_rolling_

bool AudioEngine::PositionInfo::is_rolling_ = false

Transport is rolling.

Definition at line 193 of file engine.h.

◆ ninetysixth_notes_

int32_t AudioEngine::PositionInfo::ninetysixth_notes_ = 0

Total 1/96th notes completed up to current pos.

Definition at line 226 of file engine.h.

◆ playhead_ticks_

double AudioEngine::PositionInfo::playhead_ticks_ = 0.0

Exact playhead position (in ticks).

Definition at line 199 of file engine.h.

◆ sixteenth_

int32_t AudioEngine::PositionInfo::sixteenth_ = 1

Current sixteenth (within beat).

Definition at line 210 of file engine.h.

◆ sixteenth_within_bar_

int32_t AudioEngine::PositionInfo::sixteenth_within_bar_ = 1

Current sixteenth (within bar).

Definition at line 213 of file engine.h.

◆ sixteenth_within_song_

int32_t AudioEngine::PositionInfo::sixteenth_within_song_ = 1

Current sixteenth (within song, ie, total sixteenths).

Definition at line 217 of file engine.h.

◆ tick_within_bar_

double AudioEngine::PositionInfo::tick_within_bar_ = 0.0

Current tick (within bar).

Definition at line 223 of file engine.h.

◆ tick_within_beat_

double AudioEngine::PositionInfo::tick_within_beat_ = 0.0

Current tick-within-beat.

Definition at line 220 of file engine.h.


The documentation for this struct was generated from the following file: