VictorChen / online-band

HTML5 Garage Band
0 stars 1 forks source link

html5 audio loop issue #9

Open VictorChen opened 9 years ago

VictorChen commented 9 years ago

Apparently html5 audio doesn't loop properly... it introduces "gaps" between loops

http://stackoverflow.com/questions/7330023/gapless-looping-audio-html5

https://forestmist.org/blog/html5-audio-loops/

Will need to look into this...

VictorChen commented 9 years ago

interesting, tested with with howlerjs and it actually fixes this issue when used with the "loop" option. Might need to re-think the current implementation fit howlerjs in

VictorChen commented 9 years ago

ah looks like howlerjs defaults to using the new web audio whereas I'm currently using the basic html5 audio.

FYI:

http://stackoverflow.com/questions/13121250/whats-the-difference-between-web-audio-and-html5-audio-anyway

http://caniuse.com/#feat=audio-api