createAudioStats
function createAudioStats(stats, options): AudioStats;
AudioStats builder
Parameters
| Parameter | Type | Description |
|---|---|---|
stats | Partial<AudioStats> | overwrite the default attributes |
options | { clipCountThreshold?: number; lowVolumeThreshold?: number; silentThreshold?: number; } | silentThreshold, lowVolumeThreshold and clipCountThreshold |
options.clipCountThreshold? | number | - |
options.lowVolumeThreshold? | number | - |
options.silentThreshold? | number | - |