Module Oscillator.Periodic_wave

Periodic waves.

type opts

The type for PeriodicWaveOptions.

val opts : ?⁠disable_normalization:bool -> ?⁠real:Brr.Tarray.float32 -> ?⁠imag:Brr.Tarray.float32 -> unit -> opts

opts () are periodic wave options with the given parameters.

type t

The type for PeriodicWave objects.

val create : ?⁠opts:opts -> context -> t

create ~opts c creates a periodic wave.