Skip to content

r8

Compare
Choose a tag to compare
@tambien tambien released this 05 Oct 14:58

Better Source syncing to the transport, 3D Audio Spatialization and temporary fix for bug in Chrome 53+.

CHANGELOG:

  • Transport.seconds returns the progress in seconds.
  • Buffer.from/toArray, Float32Array <-> Buffer conversions
  • Buffer.slice(start, end) slices and returns a subsection of the Buffer
  • Source.sync now syncs all subsequent calls to start and stop to the TransportTime instead of the AudioContext time.
    • e.g. source.sync().start(0).stop(0.8); //plays source between 0 and 0.8 of the Transport
  • Transport.on("start" / "stop") callbacks are invoked just before the event.
  • Param can accept an LFO description in the constructor or .value
    • e.g. param.value = {min : 10, max : 20, frequency : 0.4}
  • Time.TimeBase has clone/copy methods.
  • Tone.Buffer.prototype.load returns Promise
  • Using Tone.Delay and Tone.Gain everywhere
  • Patch for Chrome 53+ issue of not correctly scheduling AudioParams with setValueAtTime
  • Panner3D and Tone.Listener wrap native PannerNode and AudioListener to give 3D panning ability.