Audio Element
including sound assets (using the nn.min.js library), feel free to download this package of audio samples to experiment with
- basic audio element
-
custom button to trigger
.play()and modifypalybackRate -
adjusting other properties including
currentTimeandvolume -
sampling sections by calling
play()andpause()at specific times. The "offset" time and "duration" in this example where generated using my Waveform Sampler tool