Releases: ClementRivaille/orchestre-js
Releases · ClementRivaille/orchestre-js
2.0.2
2.0.0
Features:
- Typescript definitions, with classes and interfaces
- Wait for beats with a Promise by using
wait
- Add a listener with
addListener
- Export as UMD and ESM
Breaking changes:
Orchestre
class is no longer the default exportOrchestre
cannot be accessed though a global variable anymore (use import or require)onBeat
is deprecated, usewait
oraddListener
instead
1.1.0
Features:
- Accessibility controls:
pause
andsuspend
to interrupt the soundsetVolume
to change the global volume
- Listeners now have a unique id that can be used to remove them
Refactorisations:
- listener option for
onBeat
is now called repeat - switch method is now
toggle
The previous names are deprecated.
Fixes:
- Sounds now play properly when called with
orchestra.start
- Fade out waits longer before stopping the sound
Documentation
- New demo site
1.0.1
First release, including features:
- Create a dynamic song with Orchestre
- Add players relative and absolute
- Start, stop or switch players
- Schedule events on beats