Skip to content

Releases: ClementRivaille/orchestre-js

2.0.2

27 Jun 15:39
Compare
Choose a tag to compare

Fix: The calcul for approximating the end of a bar wasn't correct

2.0.0

02 Jan 18:49
Compare
Choose a tag to compare

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 export
  • Orchestre cannot be accessed though a global variable anymore (use import or require)
  • onBeat is deprecated, use wait or addListener instead

1.1.0

07 Jul 14:36
Compare
Choose a tag to compare

Features:

  • Accessibility controls:
    • pause and suspend to interrupt the sound
    • setVolume 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

15 Jun 18:08
Compare
Choose a tag to compare

First release, including features:

  • Create a dynamic song with Orchestre
  • Add players relative and absolute
  • Start, stop or switch players
  • Schedule events on beats