We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6406a61 commit 62713b1Copy full SHA for 62713b1
1 file changed
plugins/Cardinal/src/HostTime.cpp
@@ -160,7 +160,7 @@ struct HostTime : TerminalModule {
160
: 0.0f;
161
const float barPhase = playingWithBBT && pcontext->beatsPerBar > 0
162
? fmod(
163
- (timeInfo.bar - 1) + (timeInfo.beat - 1) / (float)pcontext->beatsPerBar + beatPhase / (float)pcontext->beatsPerBar,
+ (timeInfo.bar - 1) + ((timeInfo.beat - 1) + beatPhase) / (float)pcontext->beatsPerBar,
164
(float)barDivision
165
) / (float)barDivision
166
0 commit comments