WAVES library repository
this bundle is basically a wrapper for the waves-ui, waves-audio, waves-loader and waves-lfo libraries
install with npm
npm install --save wavesjs/wavesconsume in your modules
varwaves=require('waves');add the waves library to your config
requirejs.config({paths: {waves: 'path/to/waves.umd'}});consume in your modules
define(['waves'],function(waves){vartimeline=waves.ui.timeline();// ...});add the script tag in your at the bottom of the <body>
<scriptscr="/path/to/waves.umd.js"></script>the library is exposed in window.waves
to create your own custom build, you need to remove/comment all the component you don't need in waves.js, then run
npm run bundleThis module is released under the BSD-3-Clause license.
Acknowledgments
This code is part of the WAVE project, funded by ANR (The French National Research Agency).