Node.Wave_shaper
Wave shaper nodes.
module Oversample : sig ... end
Oversample type enumeration.
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.
The type for WaveShaperNode
objects.
val curve : t -> Brr.Tarray.float32 option
curve n
is the curve of n
.
val set_curve : t -> Brr.Tarray.float32 option -> unit
curve n v
sets the curve
of n
to v
.
val oversample : t -> Oversample.t
oversample n
is the oversample of n
.
val set_oversample : t -> Oversample.t -> unit
oversample n v
sets the oversample
of n
to v
.