Struct screech::basic::Track [−][src]
Expand description
Standard track with panning and volume control
Fields
gain: f32
Gain setting in dBs
panning: f32
Panning setting, -1.0 to 1.0 for -114dB and +6dB respectively. inverted to each channel
Implementations
add source to the input, supports multiple inputs
remove source from input
Set gain between 1.0
and -1.0
by external source
0.9
is set to unity gain, for 0.1
increment the level increases by 6dB.
For example setting a gain of 1.0
gives +6dB of amplification
and setting a gain of -1.0
would result in -114dB
Remove gain cv source
Set left and right channel panning by external source id
0.0
is center resulting in no amplification,
-1.0
is left channel +6dB, right channel -114dB,
1.0
is left channel -114dB, right channel +6dB
Remove panning cv source
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Track
impl UnwindSafe for Track
Blanket Implementations
Mutably borrows from an owned value. Read more