eq x.1.2.0

changes staged
- bus channel trim
- bus channel delay
- cell gain range
This commit is contained in:
pblivingston 2025-12-10 07:33:11 -05:00
parent f5bdeb6d57
commit c446ad8c93
3 changed files with 36 additions and 13 deletions

View File

@ -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:

View File

@ -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++) {

View File

@ -465,19 +465,33 @@ Describe -Tag 'higher', -TestName 'All Higher Tests' {
Context 'EQ' -Skip:$ifBasic -ForEach @(
@{ Eq = $vmr.bus[$index].eq }
) {
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
}
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].Cell[$cells].Gain" {
$eq.channel[$bus_ch].cell[$cells].gain = $slide
$eq.channel[$bus_ch].cell[$cells].gain | 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
}
It "Should set Bus[$index].EQ.Channel[$bus_ch].Cell[$cells].Q" {
$eq.channel[$bus_ch].cell[$cells].q = $knob
$eq.channel[$bus_ch].cell[$cells].q | Should -Be $knob
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
}
It "Should set Bus[$index].EQ.Channel[$bus_ch].Cell[$cells].Gain" {
$eq.channel[$bus_ch].cell[$cells].gain = $slide
$eq.channel[$bus_ch].cell[$cells].gain | Should -Be $slide
}
It "Should set Bus[$index].EQ.Channel[$bus_ch].Cell[$cells].Q" {
$eq.channel[$bus_ch].cell[$cells].q = $knob
$eq.channel[$bus_ch].cell[$cells].q | Should -Be $knob
}
}
}
}
}