Skip to content

Latest commit

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

waves-blocks

High-level audio and graphical components. The library is a high-level, user-friendly API built on top of https://github.com/wavesjs/waves-ui and https://github.com/wavesjs/waves-audio

The library exposes an audio player (the block) which can be dynamically decorated with graphical components (the modules) to add functionnalities such as waveform display, zoom capabilities, cursor, markers, segments and so on.

Documentation:

Install

npm install --save --save-exact waves-blocks

Usage

constblock=newblocks.core.Block({player: blocks.player.SimplePlayer,container: '#container',sizing: 'manual',width: 1000,height: 100,});constwaveform=newblocks.module.Waveform({channels: 'all'});constcursor=newblocks.module.Cursor();constzoom=newblocks.module.Zoom({scrollBarContainer: '#scroll-bar'});block.add(waveform,0);block.add(cursor,1);block.add(zoom,2);block.setTrack(buffer,{});

Available Modules

License

BSD-3-Clause

Acknowledgements

About

High-level audio-visual components

Resources

Stars

10 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages