mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-02 16:57:46 +00:00
Compare commits
No commits in common. "b92a2422a763e7ca1ec2f38a90a2a11044314468" and "abdf2dbf5dbc025b1886ee5993c9022c0dfec931" have entirely different histories.
b92a2422a7
...
abdf2dbf5d
@ -17,7 +17,6 @@ Before any major/minor/patch is released all test units will be run to verify th
|
|||||||
- Option class
|
- Option class
|
||||||
- Device classes
|
- Device classes
|
||||||
- EQ class
|
- EQ class
|
||||||
- FX class
|
|
||||||
|
|
||||||
## [3.3.0] - 2024-06-29
|
## [3.3.0] - 2024-06-29
|
||||||
|
|
||||||
|
|||||||
15
README.md
15
README.md
@ -440,21 +440,6 @@ $vmr.command.Load("path/to/filename.xml")
|
|||||||
$vmr.command.RunMacrobuttons()
|
$vmr.command.RunMacrobuttons()
|
||||||
```
|
```
|
||||||
|
|
||||||
### Fx
|
|
||||||
|
|
||||||
The following Fx commands are available:
|
|
||||||
|
|
||||||
- Reverb.on: bool
|
|
||||||
- Reverb.ab: bool
|
|
||||||
- Delay.on: bool
|
|
||||||
- Delay.ab: bool
|
|
||||||
|
|
||||||
for example:
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
$vmr.fx.reverb.ab = $false
|
|
||||||
```
|
|
||||||
|
|
||||||
### Patch
|
### Patch
|
||||||
|
|
||||||
The following Patch commands are available:
|
The following Patch commands are available:
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
. $PSScriptRoot\recorder.ps1
|
. $PSScriptRoot\recorder.ps1
|
||||||
. $PSScriptRoot\patch.ps1
|
. $PSScriptRoot\patch.ps1
|
||||||
. $PSScriptRoot\option.ps1
|
. $PSScriptRoot\option.ps1
|
||||||
. $PSScriptRoot\fx.ps1
|
|
||||||
. $PSScriptRoot\profiles.ps1
|
. $PSScriptRoot\profiles.ps1
|
||||||
|
|
||||||
class Remote {
|
class Remote {
|
||||||
@ -126,7 +125,6 @@ class RemotePotato : Remote {
|
|||||||
[System.Collections.ArrayList]$button
|
[System.Collections.ArrayList]$button
|
||||||
[PSCustomObject]$vban
|
[PSCustomObject]$vban
|
||||||
[Object]$command
|
[Object]$command
|
||||||
[Object]$fx
|
|
||||||
[Object]$patch
|
[Object]$patch
|
||||||
[Object]$option
|
[Object]$option
|
||||||
[Object]$recorder
|
[Object]$recorder
|
||||||
@ -137,7 +135,6 @@ class RemotePotato : Remote {
|
|||||||
$this.button = Make_Buttons
|
$this.button = Make_Buttons
|
||||||
$this.vban = Make_Vban($this)
|
$this.vban = Make_Vban($this)
|
||||||
$this.command = Make_Command($this)
|
$this.command = Make_Command($this)
|
||||||
$this.fx = Make_Fx($this)
|
|
||||||
$this.patch = Make_Patch($this)
|
$this.patch = Make_Patch($this)
|
||||||
$this.option = Make_Option($this)
|
$this.option = Make_Option($this)
|
||||||
$this.recorder = Make_Recorder($this)
|
$this.recorder = Make_Recorder($this)
|
||||||
|
|||||||
37
lib/fx.ps1
37
lib/fx.ps1
@ -1,37 +0,0 @@
|
|||||||
class Fx : IRemote {
|
|
||||||
[Object]$reverb
|
|
||||||
[Object]$delay
|
|
||||||
|
|
||||||
Fx ([Object]$remote) : base ($remote) {
|
|
||||||
$this.reverb = [FxReverb]::new($remote)
|
|
||||||
$this.delay = [FxDelay]::new($remote)
|
|
||||||
}
|
|
||||||
|
|
||||||
[string] identifier () {
|
|
||||||
return 'Fx'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class FxReverb : IRemote {
|
|
||||||
FxReverb ([Object]$remote) : base ($remote) {
|
|
||||||
AddBoolMembers -PARAMS @('on', 'ab')
|
|
||||||
}
|
|
||||||
|
|
||||||
[string] identifier () {
|
|
||||||
return 'Fx.Reverb'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class FxDelay : IRemote {
|
|
||||||
FxDelay ([Object]$remote) : base ($remote) {
|
|
||||||
AddBoolMembers -PARAMS @('on', 'ab')
|
|
||||||
}
|
|
||||||
|
|
||||||
[string] identifier () {
|
|
||||||
return 'Fx.Delay'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function Make_Fx ([Object]$remote) {
|
|
||||||
return [Fx]::new($remote)
|
|
||||||
}
|
|
||||||
@ -137,32 +137,6 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Context 'Fx' -Skip:$ifNotPotato {
|
|
||||||
Context 'Delay' {
|
|
||||||
It 'Should set and get Fx.delay.on' {
|
|
||||||
$vmr.fx.delay.on = $value
|
|
||||||
$vmr.fx.delay.on | Should -Be $expected
|
|
||||||
}
|
|
||||||
|
|
||||||
It 'Should set and get Fx.delay.ab' {
|
|
||||||
$vmr.fx.delay.ab = $value
|
|
||||||
$vmr.fx.delay.ab | Should -Be $expected
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Context 'Reverb' {
|
|
||||||
It 'Should set and get Fx.reverb.on' {
|
|
||||||
$vmr.fx.reverb.on = $value
|
|
||||||
$vmr.fx.reverb.on | Should -Be $expected
|
|
||||||
}
|
|
||||||
|
|
||||||
It 'Should set and get Fx.reverb.ab' {
|
|
||||||
$vmr.fx.reverb.ab = $value
|
|
||||||
$vmr.fx.reverb.ab | Should -Be $expected
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Context 'Patch' {
|
Context 'Patch' {
|
||||||
It 'Should set and get Patch.insert[$insert]' -Skip:$ifBasic {
|
It 'Should set and get Patch.insert[$insert]' -Skip:$ifBasic {
|
||||||
$vmr.patch.insert[$insert].set($value)
|
$vmr.patch.insert[$insert].set($value)
|
||||||
|
|||||||
@ -18,8 +18,8 @@ function main() {
|
|||||||
$vban_out = $vmr.kind.vban_out - 1
|
$vban_out = $vmr.kind.vban_out - 1
|
||||||
$insert = $vmr.kind.insert - 1
|
$insert = $vmr.kind.insert - 1
|
||||||
$composite = $vmr.kind.composite - 1
|
$composite = $vmr.kind.composite - 1
|
||||||
$strip_ch = $vmr.kind.eq_ch['strip'] - 1
|
$strip_ch = $vmr.kind.strip_ch - 1
|
||||||
$bus_ch = $vmr.kind.eq_ch['bus'] - 1
|
$bus_ch = $vmr.kind.bus_ch - 1
|
||||||
$cells = $vmr.kind.cells - 1
|
$cells = $vmr.kind.cells - 1
|
||||||
|
|
||||||
# skip conditions by kind
|
# skip conditions by kind
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user