ape  0.5.0
Audio Programming Environment
Public Attributes | List of all members
APE_PlayHeadPosition Struct Reference

juce::AudioPlayHead::CurrentPositionInfo More...

#include <SharedInterface.h>

Public Attributes

double bpm
 
int timeSigNumerator
 
int timeSigDenominator
 
long long timeInSamples
 
double timeInSeconds
 
double editOriginTime
 
double ppqPosition
 
double ppqPositionOfLastBarStart
 
int frameRate
 
bool isPlaying
 
bool isRecording
 
double ppqLoopStart
 
double ppqLoopEnd
 
bool isLooping
 

Detailed Description

juce::AudioPlayHead::CurrentPositionInfo

Member Data Documentation

◆ bpm

double APE_PlayHeadPosition::bpm

The tempo in BPM

◆ editOriginTime

double APE_PlayHeadPosition::editOriginTime

For timecode, the position of the start of the edit, in seconds from 00:00:00:00.

◆ frameRate

int APE_PlayHeadPosition::frameRate

The video frame rate, if applicable.

◆ isLooping

bool APE_PlayHeadPosition::isLooping

True if the transport is currently looping.

◆ isPlaying

bool APE_PlayHeadPosition::isPlaying

True if the transport is currently playing.

◆ isRecording

bool APE_PlayHeadPosition::isRecording

True if the transport is currently recording.

(When isRecording is true, then isPlaying will also be true).

◆ ppqLoopEnd

double APE_PlayHeadPosition::ppqLoopEnd

The current cycle end position in pulses-per-quarter-note. Note that not all hosts or plugin formats may provide this value.

See also
isLooping

◆ ppqLoopStart

double APE_PlayHeadPosition::ppqLoopStart

The current cycle start position in pulses-per-quarter-note. Note that not all hosts or plugin formats may provide this value.

See also
isLooping

◆ ppqPosition

double APE_PlayHeadPosition::ppqPosition

The current play position, in pulses-per-quarter-note.

◆ ppqPositionOfLastBarStart

double APE_PlayHeadPosition::ppqPositionOfLastBarStart

The position of the start of the last bar, in pulses-per-quarter-note.

This is the time from the start of the edit to the start of the current bar, in ppq units.

Note - this value may be unavailable on some hosts, e.g. Pro-Tools. If it's not available, the value will be 0.

◆ timeInSamples

long long APE_PlayHeadPosition::timeInSamples

The current play position, in samples from the start of the edit.

◆ timeInSeconds

double APE_PlayHeadPosition::timeInSeconds

The current play position, in seconds from the start of the edit.

◆ timeSigDenominator

int APE_PlayHeadPosition::timeSigDenominator

Time signature denominator, e.g. the 4 of a 3/4 time sig

◆ timeSigNumerator

int APE_PlayHeadPosition::timeSigNumerator

Time signature numerator, e.g. the 3 of a 3/4 time sig


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