mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-13 16:27:48 +00:00
pan_y, examples
- added tests to demonstrate pan_y, though this is easily seen in the GUI
This commit is contained in:
parent
ac3e36838e
commit
64e6874a75
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user