Node.Oscillator
Oscillator nodes.
module Periodic_wave : sig ... end
Periodic waves.
module Type : sig ... end
Oscillator type enumeration.
The type for OscillatorOptions
.
val opts :
?channel_count:int ->
?channel_count_mode:Channel_count_mode.t ->
?channel_interpretation:Channel_interpretation.t ->
?type':Type.t ->
?frequency:float ->
?detune:float ->
?periodic_wave:Periodic_wave.t ->
unit ->
opts
opts ()
are oscillator node options with given parameters.
The type for OscillatorNode
objects.
detune n
is the frequency detuning of n
.
val set_periodic_wave : t -> Periodic_wave.t -> unit
set_periodic_wave n w
sets the periodic wave of n
to w
.