gain~
aliases: [ceammc/gain~]
multislot signal gain
available since version: 0.6
arguments:
- N
number of inputs/outputs
type: int
methods:
- +
increase gain amplitude
parameters:
- [VALS] values for each input channel
type: list
- +all
increase gain amplitude for all inputs
parameters:
- V single value for each input channel
type: float
required: True
- +db
increase gain in db
parameters:
- [VALS] values for each input channel
type: list
- -
decrease gain amplitude
parameters:
- [VALS] values for each input channel
type: list
- -all
decrease gain amplitude for all inputs
parameters:
- V single value for each input channel
type: float
required: True
- -db
decrease gain in db
parameters:
- [VALS] values for each input channel
type: list
- set
set gain amplitude for all inputs
parameters:
- V new gain value
type: float
required: True
- set_db
set gain in db for all inputs
parameters:
- V new gain value
type: float
required: True
properties:
-
@value
Get/set gain amplitude values
type: list
min value: 0
default: 0
-
@db
Get/set gain decibel (dbfs) values
type: list
min value: -144
default: -144
-
@smooth_time
Get/set gain change smooth time
type: float
units: ms
min value: 1
default: 20
inlets:
- input signal
type: audio
- input signal
type: audio
- set gain for all inputs
type: control
outlets:
- output signal
type: audio
- output signal
type: audio
- output signal
type: audio
keywords:
gain
amplitude
decibel
Authors: Serge Poltavsky
License: GPL3 or later