Closed frastlin closed 4 years ago
I am closing https://github.com/rserota/wad/issues/108 in favor of this one. The things from 108 I was commenting were:
I'm going to start working on this, unless you have already started.
I haven't started working on this. If you wanted to build it, that would be great.
Hm, so I'm looking on Chrome at listener.positionX, and there are quite a few functions here that are not on MDN. I wonder if it's possible to view their code somewhere?
AudioParamautomationRate: (...)
cancelAndHoldAtTime: ƒ cancelAndHoldAtTime()
cancelScheduledValues: ƒ cancelScheduledValues()
defaultValue: (...)
exponentialRampToValueAtTime: ƒ exponentialRampToValueAtTime()
linearRampToValueAtTime: ƒ linearRampToValueAtTime()
maxValue: (...)
minValue: (...)
setTargetAtTime: ƒ setTargetAtTime()
setValueAtTime: ƒ setValueAtTime()
setValueCurveAtTime: ƒ setValueCurveAtTime()
value: (...)
constructor: ƒ AudioParam()
Symbol(Symbol.toStringTag): "AudioParam"
get automationRate: ƒ automationRate()
set automationRate: ƒ automationRate()
get defaultValue: ƒ defaultValue()
get maxValue: ƒ maxValue()
get minValue: ƒ minValue()
get value: ƒ value()
set value: ƒ value()
I guess you could try searching through the Chromium source code? For example: https://github.com/chromium/chromium/search?q=cancelAndHoldAtTime&unscoped_q=cancelAndHoldAtTime
Do you think you could possibly push a release to this? I have a couple projects that I want to refactor to use this listener object, and rather than pointing them to my local version of the repository, I would like to just update them.
Version 4.9.0 is now available on npm.
Hello, In light of differing supports for the AudioListener, could Wad wrap the
Wad.audioContext.listener
in a Wad.listener object that can: