sampleRate property
The read-only sampleRate property of the AudioWorkletGlobalScope
interface returns a float that represents the sample rate of the
associated BaseAudioContext the worklet belongs to.
Implementation
external double get sampleRate;