

Begins playout of other tracks in playlist if there are any.Ĭhanges zoom level to the next smallest entry (if one exists) from the array zoomLevels.Ĭhanges zoom level to the next largest entry (if one exists) from the array zoomLevels. Stops playout if playlist is playing, removes all tracks from the playlist. Stops playout if playlist is playing, resets cursor to the end of the playlist. Stops playout if playlist is playing, resets cursor to the beginning of the playlist. start can be passed without an end to play to the end of the track. Takes optional Number parameters in seconds start and end to play just an audio segment. getEventEmitter ( ) Īn example of using the event emitter to control the playlist can be found in /dist/js/examples/emitter.js Events to Invoke event Var options =, // you can pass your own event emitter EventEmitter ( ) ) // retrieves the event emitter the playlist is using. The website will be available at localhost:8000/waveform-playlist. If you want to download and run the already compiled website, navigate to folder /dist and run python -m SimpleHTTPServer 8000.Waveform Playlist requires webaudio in the browser to function correctly: Can I Use? Installation (code for picture shown can be found in ghpages/_examples/13annotations.html) Browser Support (code for picture shown can be found in ghpages/_examples/04stemtracks.html) I've written up some demos on github for the different audio fade types in the project.

Load tracks and set cues (track cue in, cue out), fades (track fade in, fade out) and track start/end times within the playlist. Inspired by Audacity, this project is a multiple track playlist editor written in ES2015 using the Web Audio API.
