Our new developer documentation is now available. Please check it out!
OdinRoom.updateVolumeGateThresholds
On this page
updateVolumeGateThresholds(attackLoudness: number, releaseLoudness?: number): void
Updates thresholds for the input volume gate (between -90 and 0).
Parameters
Name | Type | Description |
---|---|---|
attackLoudness | number | Root mean square power (dBFS) when the volume gate should engage |
releaseLoudness | number | Root mean square power (dBFS) when the volume gate should disengage |
Returns
Type | Description |
---|---|
void |