Skip to content

Commit

Permalink
feat: OBS.Beat.Cosine ( Fixes #193 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Feb 14, 2024
1 parent e4a9df0 commit f922ede
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Types/OBS.Beat/get_Cosine.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<#
.SYNOPSIS
Gets the Beat Cosine
.DESCRIPTION
Gets the Cosine of the BeatCount.
Since this starts at 1, this would be at its highest value during the top of the beat.
#>
[Math]::Cos($this.BeatCount * [Math]::PI/2)

0 comments on commit f922ede

Please sign in to comment.