Browse Source

Fixed kHostTimeBeatPhase

pull/798/head
markterm GitHub 3 months ago
parent
commit
65ce4bb444
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/Cardinal/src/HostTime.cpp

+ 1
- 1
plugins/Cardinal/src/HostTime.cpp View File

@@ -175,7 +175,7 @@ struct HostTime : TerminalModule {
outputs[kHostTimeBeat].setVoltage(hasBeat ? 10.0f : 0.0f);
outputs[kHostTimeClock].setVoltage(hasClock ? 10.0f : 0.0f);
outputs[kHostTimeBarPhase].setVoltage(barPhase * 10.0f);
outputs[kHostTimeBeatPhase].setVoltage((tick / pcontext->ticksPerBeat) * 10.0f);
outputs[kHostTimeBeatPhase].setVoltage(beatPhase * 10.0f);
}

void processTerminalOutput(const ProcessArgs&) override


Loading…
Cancel
Save