Skip to content

Commit

Permalink
feat: OBS.Beat.TapBPM ( Fixes #195 )
Browse files Browse the repository at this point in the history
Fixing BeatStart Set
  • Loading branch information
James Brundage committed Feb 14, 2024
1 parent 6180ffd commit 5f047f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Types/OBS.Beat/TapBPM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ $beatTimes = do {
$averageTimeBetweenBeats =
$beatTimes.TotalMilliseconds | Measure-Object -Average | Select-Object -ExpandProperty Average

$TappedBpm = (60 * 1000) /
$this.Duration = $averageTimeBetweenBeats
$this.Duration = [Timespan]::FromMilliseconds($averageTimeBetweenBeats)
$this.BeatStart = $beatTimeStart
$TappedBpm


$this.BPM

0 comments on commit 5f047f5

Please sign in to comment.