30 ReadFloats(
float* buffer,
long long start,
size_t numFrames)
const override
48 ReadFloats(
float* buffer,
long long where,
size_t numFrames)
const override
50 for (
size_t i = 0; i < numFrames; ++i)
51 buffer[i] = (where + i) %
period <
period / 2 ? 1.f : -1.f;
77 double newTempo, std::optional<MIR::TimeSignature> timeSignature)
override
118 const std::optional<MIR::ProjectSyncInfo>
syncInfo;
120 bool synchronizeCalled =
false;
122 const std::optional<MIR::ProjectSyncInfo>&
GetSyncInfo()
const override
129 rawAudioTempo = tempo;
134 synchronizeCalled =
true;
EffectDistortionSettings params
long long GetNumSamples() const override
double GetSampleRate() const override
void ReadFloats(float *buffer, long long start, size_t numFrames) const override
const std::optional< MIR::ProjectSyncInfo > & GetSyncInfo() const override
std::optional< double > rawAudioTempo
FakeAnalyzedAudioClip(std::optional< Params > params)
void SetRawAudioTempo(double tempo) override
void Synchronize() override
const std::optional< MIR::ProjectSyncInfo > syncInfo
~FakeAnalyzedAudioClip() override=default
double GetTempo() const override
bool shouldBeReconfigured
~FakeProjectInterface() override=default
bool ShouldBeReconfigured(double qpm, bool isSingleFileImport) override
bool ViewIsBeatsAndMeasures() const override
bool clipsWereSynchronized
void OnClipsSynchronized() override
void ReconfigureMusicGrid(double newTempo, std::optional< MIR::TimeSignature > timeSignature) override
FakeProjectInterface(double tempo)
double GetSampleRate() const override
void ReadFloats(float *buffer, long long where, size_t numFrames) const override
long long GetNumSamples() const override
TempoObtainedFrom
How the tempo was obtained:
const TempoObtainedFrom method