Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::engine::device_io::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 100 of file engine.h.

Field Documentation

◆ bar_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::bar_ = 1

Current bar.

Definition at line 114 of file engine.h.

◆ beat_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::beat_ = 1

Current beat (within bar).

Definition at line 117 of file engine.h.

◆ bpm_

float zrythm::engine::device_io::AudioEngine::PositionInfo::bpm_ = 120.f

BPM.

Definition at line 106 of file engine.h.

◆ is_rolling_

bool zrythm::engine::device_io::AudioEngine::PositionInfo::is_rolling_ = false

Transport is rolling.

Definition at line 103 of file engine.h.

◆ ninetysixth_notes_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::ninetysixth_notes_ = 0

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

Definition at line 136 of file engine.h.

◆ playhead_ticks_

double zrythm::engine::device_io::AudioEngine::PositionInfo::playhead_ticks_ = 0.0

Exact playhead position (in ticks).

Definition at line 109 of file engine.h.

◆ sixteenth_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::sixteenth_ = 1

Current sixteenth (within beat).

Definition at line 120 of file engine.h.

◆ sixteenth_within_bar_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::sixteenth_within_bar_ = 1

Current sixteenth (within bar).

Definition at line 123 of file engine.h.

◆ sixteenth_within_song_

int32_t zrythm::engine::device_io::AudioEngine::PositionInfo::sixteenth_within_song_ = 1

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

Definition at line 127 of file engine.h.

◆ tick_within_bar_

double zrythm::engine::device_io::AudioEngine::PositionInfo::tick_within_bar_ = 0.0

Current tick (within bar).

Definition at line 133 of file engine.h.

◆ tick_within_beat_

double zrythm::engine::device_io::AudioEngine::PositionInfo::tick_within_beat_ = 0.0

Current tick-within-beat.

Definition at line 130 of file engine.h.


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