javascript - Web Audio: audio 2 sequential playbackRate values only applies first value -
i have song i'm playing web audio , schedule 2 playbackrate changes before play song. first playbackrate change takes effect, second 1 never triggers. expected behavior? i'm missing make work?
basic logic is:
sourcenode = _mysourenodegetterfn('blah.mp3'); sourcenode.start(0); sourcenode.playbackrate.setvalueattime(.8, 5); sourcenode.playbackrate.setvalueattime(1.2, 10); audiocontext.resume();
the second playbackrate value, setvalueattime(1.2, 10)
, scheduled 10s song not trigger. first playbackrate triggers fine.
i'm using chrome 56.0.2924.87 on macbook.
closing loop - bug chrome v55. fixed in v58 (dunno if fixed in versions between two).
Comments
Post a Comment