mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-25 14:07:46 +00:00
eq x.1.2.0
changes staged - bus channel trim - bus channel delay - cell gain range
This commit is contained in:
parent
f5bdeb6d57
commit
c446ad8c93
11
README.md
11
README.md
@ -404,14 +404,21 @@ $vmr.strip[0].eq.on = $true
|
||||
$vmr.bus[0].eq.ab = $false
|
||||
```
|
||||
|
||||
##### channel.cell
|
||||
##### channel
|
||||
|
||||
The following bus.eq.channel.cell properties are available:
|
||||
|
||||
- trim: float, from -24.00 to 24.00
|
||||
- delay: float, from 0.00 to 500.00
|
||||
|
||||
###### cell
|
||||
|
||||
The following eq.channel.cell properties are available:
|
||||
|
||||
- on: bool
|
||||
- type: int, from 0 to 6
|
||||
- f: float, from 20.00 to 20000.00
|
||||
- gain: float, from -12.00 to 12.00
|
||||
- gain: float, from -36.00 to 18.00
|
||||
- q: float, from 0.30 to 100.00
|
||||
|
||||
for example:
|
||||
|
||||
@ -69,6 +69,8 @@ class EqChannel : IRemote {
|
||||
EqChannel ([int]$index, [Object]$remote, [string]$eqId) : base ($index, $remote) {
|
||||
$this.eqId = $eqId
|
||||
|
||||
AddFloatMembers -PARAMS @('trim', 'delay')
|
||||
|
||||
$this.cell = @()
|
||||
$cellCount = $this.remote.kind.cells
|
||||
for ($c = 0; $c -lt $cellCount; $c++) {
|
||||
|
||||
@ -465,6 +465,18 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
Context 'EQ' -Skip:$ifBasic -ForEach @(
|
||||
@{ Eq = $vmr.bus[$index].eq }
|
||||
) {
|
||||
Context "Channel[$bus_ch]" {
|
||||
It "Should set Bus[$index].EQ.Channel[$bus_ch].Trim" {
|
||||
$eq.channel[$bus_ch].trim = $slide
|
||||
$eq.channel[$bus_ch].trim | Should -Be $slide
|
||||
}
|
||||
|
||||
It "Should set Bus[$index].EQ.Channel[$bus_ch].Delay" {
|
||||
$eq.channel[$bus_ch].delay = $msHz
|
||||
$eq.channel[$bus_ch].delay | Should -Be $msHz
|
||||
}
|
||||
|
||||
Context "Cell[$cells]" {
|
||||
It "Should set Bus[$index].EQ.Channel[$bus_ch].Cell[$cells].F" {
|
||||
$eq.channel[$bus_ch].cell[$cells].f = $msHz
|
||||
$eq.channel[$bus_ch].cell[$cells].f | Should -Be $msHz
|
||||
@ -481,6 +493,8 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Context 'Option' {
|
||||
It "Should set and get Option.delay[$phys_out]" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user