Vpz' Set Zone's Volume As A Percentage - Zektor HDA604 User Manual

Hdmi/audio matrix switches
Table of Contents

Advertisement

(Or perhaps an even easier way is to use the VPZ command instead of the VZ command. The VPZ com-
mand allows the volume to be set using a number between 0 and 100 regardless of the minimum and
maximum volume settings. See "'VPZ' Set Zone's Volume as a Percentage" on page 66)
To set the volume in absolute decibels, taking the gain in decibels, multiply by 2 (to account for 0.5dB
steps), add 200 and use that as the volume level.
For instance if you wanted to attenuate the audio coming in by 24dB (the output level would be 24dB
lower than the source level), you take the gain of -24dB, multiply by 2, and add 200. So: vol = -24*2 +
200 = 152, and:
^VZ @1,152
would set the volume gain on zone 1 to -24.0dB.
You can also easily add or subtract from the current volume in 0.5dB steps, for instance:
^VZ @1,+6
^VZ @3,-9
'VZ' Volume Fading Examples
The Zektor Switch volume can also be faded to new levels using a timed approach, or a dB per second
approach.
To fade to a new level in a given amount of time add 10000 to the volume setting (use the VRT com-
mand to set both volume fade time and/or fade speed. See "'VRT' Set Volume Ramp (Fade) Times"
on page 69). For instance, if the ramp time given to the VRT command is 20 (2 seconds) then:
^VZ @1,@2,10020$
will fade zones 1 and 2 to the a level of 20. Regardless of their current values, zones 1 and 2 will both
reach level 20 at exactly the same time. If one zone is farther away from 20 than the other, the fade
speed will be faster, so that both zones reach the new level at the same time.
To fade to a new level using a fixed fade speed, add 20000 to the volume setting. For instance if the
ramp speed given to the VRT command is 40 (20dB per second) then:
^VZ @1,@2,20010$
will fade zones 1 and 2 to the level of 10 at a speed of 20dB per second. The zone closest to 10 will be
the first zone to reach 10.
You can cross-fade, and mix the different types of fades in a single command. For instance:
^VZ @1,10000,@2,+20040,@3,35$
will fade zone 1 to the mute level of 0, using a timed ramp. At the same time zone 2 will fade up 20dB
(40 steps) using a fixed ramp speed, and zone 3 will jump immediately to level 35.
All fades are interruptible. If you issue a new volume command while a zone is in the process of fad-
ing, it will simply begin fading to the new level from its current mid-fade level.

'VPZ' Set Zone's Volume as a Percentage

The Zektor Switch audio zones can have their volumes adjusted as a percentage level instead of a dB
level. This can make writing drivers easier for many systems.
The VPZ command always uses a setting of 0 to 100, regardless of the minimum volume settings and
the maximum volume settings. (See "'VMIZ' Set Zone's Minimum Volume" on page 67, and
"'VMAZ' Set Zone's Maximum Volume" on page 68).
66
Set the volume on zone 1 to -24.0dB
->
Increase the volume (make it louder) on zone 1 by 3.0dB
->
Decrease the volume (make it softer) on zone 3 by 4.5dB
->
Zektor Switch Serial Protocol, Version 0.16, 5/13/16
Audio Control

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents