hiloteam / Hilo

A Cross-end HTML5 Game development solution
https://hiloteam.github.io/
MIT License
5.93k stars 863 forks source link

Add audio librairy ? #96

Closed RenaudRohlinger closed 7 years ago

RenaudRohlinger commented 7 years ago

https://github.com/goldfire/howler.js

howler.js is an audio library for the modern web and light (7ko). It defaults to Web Audio API and falls back to HTML5 Audio. This makes working with audio in JavaScript easy and reliable across all platforms.

Browser Compatibility

Tested in the following browsers/versions:

Google Chrome 7.0+ Internet Explorer 9.0+ Firefox 4.0+ Safari 5.1.4+ Mobile Safari 6.0+ (after user input) Opera 12.0+ Microsoft Edge

06wj commented 7 years ago

Hilo has a small sound module WebSound. You can also use the howler.js.