Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 529 Bytes

utils.md

File metadata and controls

33 lines (21 loc) · 529 Bytes

Utils

Clone an AudioBuffer

const cloned = sono.utils.cloneBuffer(sound.data);

Reverse an AudioBuffer

const reversed = sono.utils.reverseBuffer(sound.data);

Convert currentTime seconds into time code string

const timeCode = sono.utils.timeCode(217.8); // '03:37'

Extra utils

import 'sono/utils';

microphone

recorder

waveform

waveformer