Struct sorceress::ugen::OffsetOut[][src]

pub struct OffsetOut { /* fields omitted */ }

Write a signal to a bus with sample accurate timing.

Output signal to a bus, the sample offset within the bus is kept exactly; i.e. if the synth is scheduled to be started part way through a control cycle, OffsetOut will maintain the correct offset by buffering the output and delaying it until the exact time that the synth was scheduled for.

Note: If you have an input to the synth, it will be coming in and its normal time, then mixed in your synth, and then delayed with the output. So you shouldn’t use OffsetOut for effects or gating.

See the Server Architecture and Bus SuperCollider helpfiles for more information on buses and how they are used.

Implementations

impl OffsetOut[src]

pub fn ar() -> Self[src]

Create a UGen that calculates samples at audio rate.

pub fn kr() -> Self[src]

Create a UGen that calculates samples at control rate.

pub fn bus(self, value: impl Input) -> Self[src]

The index of the bus to write out to. The lowest numbers are written to the audio hardware.

pub fn channels(self, value: impl Input) -> Self[src]

A list of channels or single output to write out. You cannot change the size of this once a synth definition has been built.

Trait Implementations

impl Clone for OffsetOut[src]

impl Debug for OffsetOut[src]

impl Input for OffsetOut[src]

impl PartialEq<OffsetOut> for OffsetOut[src]

impl PartialOrd<OffsetOut> for OffsetOut[src]

impl StructuralPartialEq for OffsetOut[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.