diff --git a/README.md b/README.md index 6d2460b..f300b85 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ The following strip commands are available: - fx1: float, from 0.00 to 10.00 - fx2: float, from 0.00 to 10.00 - pan_x: float, from -0.50 to 0.50 -- pan_y: float, from 0.00 to 1.00 +- pan_y: float, physical: from 0.00 to 1.00, virtual: from -0.50 to 0.50 - color_x: float, from -0.50 to 0.50 - color_y: float, from 0.00 to 1.00 - fx_x: float, from -0.50 to 0.50 @@ -147,6 +147,11 @@ The following strip commands are available: for example: ```powershell +$vmr.strip[6].karaoke = 3 +$vmr.strip[0].limit = 4.5 +$vmr.strip[2].label = 'example' +$vmr.stirp[7].pan_y = -0.38 +$vmr.strip[5].treble = -2.43 ``` A,B commands depend on Voicemeeter type. diff --git a/tests/higher.Tests.ps1 b/tests/higher.Tests.ps1 index 513b28e..ab0c325 100644 --- a/tests/higher.Tests.ps1 +++ b/tests/higher.Tests.ps1 @@ -272,7 +272,7 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' { Describe 'Float Tests' -Tag 'float' -ForEach @( @{ Gain = -24.63; Knob = 5.27; Slide = -7.51; Xy10 = 0.83; Xy05 = -0.42; MsHz = 196.57 } - @{ Gain = -12.48; Knob = 8.91; Slide = 3.14; Xy10 = 0.27; Xy05 = 0.69; MsHz = 142.13 } + @{ Gain = -12.48; Knob = 8.91; Slide = 3.14; Xy10 = 0.27; Xy05 = 0.29; MsHz = 142.13 } ) { Context 'Strip, one physical one virtual' -ForEach @( @{ Index = $phys_in }, @{ Index = $virt_in } @@ -300,6 +300,11 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' { Context 'Strip, physical only' -ForEach @( @{ Index = $phys_in } ) { + It "Should set Strip[$index].Pan_Y" { + $vmr.strip[$index].pan_y = $xy10 + $vmr.strip[$index].pan_y | Should -Be $xy10 + } + Context 'Comp, Gate' -Skip:$ifBasic { It "Should set Strip[$index].Comp" { $vmr.strip[$index].comp.knob = $knob @@ -405,6 +410,11 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' { Context 'Strip, virtual only' -ForEach @( @{ Index = $virt_in } ) { + It "Should set Strip[$index].Pan_Y" { + $vmr.strip[$index].pan_y = $xy05 + $vmr.strip[$index].pan_y | Should -Be $xy05 + } + Context 'EQ' { BeforeEach { $vmr.strip[$index].eqgain1 = 0