Node.Buffer_source
Buffer source nodes.
The type for AudioBufferSourceOptions
.
val opts : ?buffer:Buffer.t -> ?detune:float -> ?loop:bool -> ?loop_start:float ->
?loop_end:float -> ?playback_rate:float -> unit -> opts
opts ()
are buffer source node options with given parameters.
The type for AudioBufferSourceNode
objects.
playback_rate n
is the playback rate of n
.
val loop_start : t -> float
loop_start n
is the loop_start parameter of n
.
val set_loop_start : t -> float -> unit
set_loop_start n v
sets the loop_start
parameter of n
to v
.