Struct screech::basic::Track[][src]

pub struct Track {
    pub output: ExternalSignal,
    pub gain_cv: Option<ExternalSignal>,
    pub panning_cv: Option<ExternalSignal>,
    pub gain: f32,
    pub panning: f32,
    // some fields omitted
}
Expand description

Standard track with panning and volume control

Fields

output: ExternalSignal

main audio output

gain_cv: Option<ExternalSignal>

gain cv modulation source

panning_cv: Option<ExternalSignal>

panning cv modulation source

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

Create a new track with a unique id

add source to the input, supports multiple inputs

remove source from input

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

move one buffersize forward in discrete time

get id for instance, this is to identify this source when building the output

Get a list of sources

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.