howler.js audio library?

Discussion and feedback on Construct 2

Post » Tue Jan 29, 2013 11:40 am

http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library

[quote]Features

    Defaults to Web Audio API
    Falls back to HTML5 Audio
    Supports multiple file formats to support all browsers
    Automatic caching for Web Audio API
    Implements cache pool for HTML5 Audio
    Per-sound and global mute/unmute and volume control
    Playback of multiple sounds at the same time
    Easy sound sprite definition and playback
    Fade in/out sounds
    Methods can be chained
    Uses no outside libraries, just pure Javascript
    Lightweight, 5kb filesize[/quote]

I wonder if Construct 2 could make an use of this library?
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Jan 29, 2013 12:43 pm

Our engine already does most the things on that list, and those it doesn't are already planned. Generally we prefer to avoid using third party libraries and write our own version, especially if they're small (this one's only 5k), so we don't get hosed if the library author disappears/breaks it/doesn't want to maintain it.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Tue Jan 29, 2013 1:55 pm

Well, it appears to be open source, so you could at least get some ideas and possibly more efficient methods there.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Wed Aug 07, 2013 9:16 am

Hi, The current C2 audio does not work at all on Android, neither android browser nor chrome on android. Sounds dont play at all, clip, or happen late. Music wont play etc. Colleagues have got audio working perfectly on android using howler. I guess we are going to have to try and get howler integrated with C2, as sound on android is a requirement, unfortunately. It has to be HTML5 - apps are not an option. Anyone already working on this?nutmix2013-08-07 09:17:34
B
15
S
5
G
2
Posts: 357
Reputation: 3,691


Return to Construct 2 General

Who is online

Users browsing this forum: 8tomo8, Google [Bot] and 11 guests