pub trait AudioParamMethods<D: DomTypes> {
Show 14 methods // Required methods fn Value(&self) -> Finite<f32>; fn SetValue(&self, value: Finite<f32>); fn AutomationRate(&self) -> AutomationRate; fn SetAutomationRate(&self, value: AutomationRate) -> Result<(), Error>; fn DefaultValue(&self) -> Finite<f32>; fn MinValue(&self) -> Finite<f32>; fn MaxValue(&self) -> Finite<f32>; fn SetValueAtTime( &self, value: Finite<f32>, startTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn LinearRampToValueAtTime( &self, value: Finite<f32>, endTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn ExponentialRampToValueAtTime( &self, value: Finite<f32>, endTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn SetTargetAtTime( &self, target: Finite<f32>, startTime: Finite<f64>, timeConstant: Finite<f32>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn SetValueCurveAtTime( &self, values: Vec<Finite<f32>>, startTime: Finite<f64>, duration: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn CancelScheduledValues( &self, cancelTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>; fn CancelAndHoldAtTime( &self, cancelTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>;
}

Required Methods§

source

fn Value(&self) -> Finite<f32>

source

fn SetValue(&self, value: Finite<f32>)

source

fn AutomationRate(&self) -> AutomationRate

source

fn SetAutomationRate(&self, value: AutomationRate) -> Result<(), Error>

source

fn DefaultValue(&self) -> Finite<f32>

source

fn MinValue(&self) -> Finite<f32>

source

fn MaxValue(&self) -> Finite<f32>

source

fn SetValueAtTime( &self, value: Finite<f32>, startTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn LinearRampToValueAtTime( &self, value: Finite<f32>, endTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn ExponentialRampToValueAtTime( &self, value: Finite<f32>, endTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn SetTargetAtTime( &self, target: Finite<f32>, startTime: Finite<f64>, timeConstant: Finite<f32>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn SetValueCurveAtTime( &self, values: Vec<Finite<f32>>, startTime: Finite<f64>, duration: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn CancelScheduledValues( &self, cancelTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

source

fn CancelAndHoldAtTime( &self, cancelTime: Finite<f64>, ) -> Result<Root<Dom<AudioParam>>, Error>

Implementors§