Context.OfflineOffline audio contexts.
The type for OfflineAudioContextOptions.
val opts : channel_count:int -> length:int -> sample_rate_hz:float -> unit -> optsopts ~channel_count ~length ~sample_rate_ht () are audio context options with the given properties.
The type for OfflineAudioContext objects.
val as_target : t -> Brr.Ev.targetas_target c is c as an event target.
val start_rendering : t -> Buffer.t Fut.or_errorstart_rendering c starts rendering the audio graph and determines with the rendered audio buffer.
val suspend : t -> secs:float -> unit Fut.or_errorsuspend c suspends rendering for secs seconds.
val resume : t -> unit Fut.or_errorresume c resumes rendering.