Class SetChannelGain
Represents an operator that sets the per-channel gain of every mixer source in the sequence to a set of target levels over a specified duration.
public class SetChannelGain : Sink<MixerSourceContext>
- Inheritance
-
SetChannelGain
- Inherited Members
Remarks
The per-channel gain is independent of the source gain set by SetGain. The effective gain applied to a channel is the product of the source gain and the per-channel gain for that channel, so setting the source gain does not overwrite the per-channel levels.
Properties
- Duration
Gets or sets the duration of the gain ramp, in seconds.
- Gain
Gets or sets the target gain level for each output channel, where 1 represents the original signal amplitude.
Methods
- Process(IObservable<MixerSourceContext>)
Sets the per-channel gain of every mixer source in an observable sequence to the target levels over the specified duration.