Module Worklet.G
Audio worklet global scope definitions.
This has the defintions of the AudioWorkletGlobalScope
.
val register_processor : Jstr.t -> Jv.t -> unit
register_processor n c
registers class contructorc
withn
.
val current_frame : unit -> int
current_frame ()
is the current current sample-frame.
val current_time : unit -> float
current_time ()
is the current current audio time.
val sample_rate : unit -> float
sample_rate ()
is the current current sample rate.