Re:I don’t know who the Web Audio API is designed for
by symstym on Wednesday September 13, 2017 @11:36PM
(#15244821)
Yes.. after I wrote my comment I was feeling a bit bad for sounding like I was just trashing the API. In a world where JS is slow and there is no worker thread machinery, yet you need low latency and flexible processing, the design makes more sense.
That being said, the AudioParam "automation" methods still make me want to cry.
Re:I don’t know who the Web Audio API is designed for
by fenomas on Thursday September 14, 2017 @12:48AM
(#15245085)
Yeah, AudioParam's refusal to interpolate anything makes it really hairy to work with.
Comments on the spec suggest that there was something really complicated about the "cancelAndHold" method (which I guess is still in NYI limbo), but I can't for the life of me figure out what it was.
Within that constraint I don't think it's a terrible API, but it's a big constraint and naturally raw access would be far preferable.