Module Node.Wave_shaper
Wave shaper nodes.
module Oversample : sig ... end
Oversample type enumeration.
type opts
The type for
WaveShaperOptions
.
val opts : ?channel_count:int -> ?channel_count_mode:Channel_count_mode.t -> ?channel_interpretation:Channel_interpretation.t -> ?curve:Brr.Tarray.float32 -> ?oversample:Oversample.t -> unit -> opts
opts ()
are wave shaper node options with given parameters.
type t
The type for
WaveShaperNode
objects.
val curve : t -> Brr.Tarray.float32 option
curve n
is the curve ofn
.
val set_curve : t -> Brr.Tarray.float32 option -> unit
curve n v
sets thecurve
ofn
tov
.
val oversample : t -> Oversample.t
oversample n
is the oversample ofn
.
val set_oversample : t -> Oversample.t -> unit
oversample n v
sets theoversample
ofn
tov
.