Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@meshula meshula released this 07 Feb 07:07
· 61 commits to main since this release

v1.2.0

  • rename DelayMode to DelayModel to match spec
  • refactor parameter and setting initializaiton for audio nodes to refer to
    AudioParamDescriptors and AudioSettingDescriptors. This makes parameters
    and settings fully dynamic, and consistently iterable from external programs.
  • HRTF panner now works for sample rates other than 44.1 khz.
  • panners no longer buzz or pop at the end of a sample file
  • the HRTF database is manually loaded now, so that the application has full
    control of when and how to load it. See ex_hrtf_spatialization for details.
  • channel merger and splitter now function per the WebAudio spec
  • WaveTable has been renamed to PeriodicWave to match the rename in the WebAudio spec.

breaking changes

  • AudioNode now takes an AudioNodeDescriptor. Any custom nodes will need a
    tweak to match the new API. The interface for existing nodes hasn't changed.
    For reference when updating your own nodes, have a look at any of the built
    in nodes to see what the descriptor set up looks like.
  • PannerNode no longer is responsible for managing the HRTF database
  • HRTF database is owned by the AudioContext, and must be explicitly loaded.
  • There is no default HRTF database
  • Audio parameters constructor changed due to AudioParamDescriptor change.