Audacity 3.2.0
Public Attributes | List of all members
MIR::ProjectSyncInfo Struct Reference

#include <MirTypes.h>

Public Attributes

const double rawAudioTempo
 
const TempoObtainedFrom usedMethod
 
const std::optional< TimeSignaturetimeSignature
 
const double stretchMinimizingPowOfTwo = 1.
 
const double excessDurationInQuarternotes = 0.
 

Detailed Description

Information needed to time-synchronize the audio file with the project.

Definition at line 82 of file MirTypes.h.

Member Data Documentation

◆ excessDurationInQuarternotes

const double MIR::ProjectSyncInfo::excessDurationInQuarternotes = 0.

It is common that loops fill up a bit more than the intended number of bars. If this is detected, this value is written here and may be used for trimming.

Definition at line 110 of file MirTypes.h.

◆ rawAudioTempo

const double MIR::ProjectSyncInfo::rawAudioTempo

The tempo of the raw audio file, in quarter-notes per minute.

Definition at line 87 of file MirTypes.h.

◆ stretchMinimizingPowOfTwo

const double MIR::ProjectSyncInfo::stretchMinimizingPowOfTwo = 1.

Should be 1 most of the time, but may be 0.5 or 2 to reduce the amount of stretching needed to match the project tempo.

Definition at line 103 of file MirTypes.h.

◆ timeSignature

const std::optional<TimeSignature> MIR::ProjectSyncInfo::timeSignature

The time-signature of the raw audio file.

Definition at line 97 of file MirTypes.h.

◆ usedMethod

const TempoObtainedFrom MIR::ProjectSyncInfo::usedMethod

The method used to obtain the tempo.

Definition at line 92 of file MirTypes.h.


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