Jim Andrews
Jim Andrews

Reputation: 375

Can I call fmod, the audio engine, with JavaScript in a web page?

Can I call fmod, the audio engine, with JavaScript in a web page? I can't find any documentation on this. The HTML 5 audio API is pathetic; I want more advanced audio options than it offers. So I'd like to use fmod if possible.

Upvotes: 0

Views: 2073

Answers (2)

Fermion
Fermion

Reputation: 48

I'm writing this five years later because it shows up as a top result when you google "html5 FMOD".

As of this week, you can use FMOD with Javascript.

Here's the announcement:

http://www.html5gamedevs.com/topic/28454-fmod-studio-api-now-available-for-html5/

There are a couple weird things about the API but hopefully that gets solved soon. I'm really excited about all the sound design possibilities this opens up.

Documentation: https://www.fmod.com/docs/2.02/api/platforms-html5.html

Upvotes: 2

Mathew Block
Mathew Block

Reputation: 1643

No you cannot use FMOD with JavaScript, at least not portably that I'm aware of. You may be able to hook DLLs and call into FMOD that way, I'm not sure if that's even possible with JavaScript though.

Your options for using FMOD on the web are:

  • ActiveX, again here you would be hooking into DLLs, not a great idea.
  • Native Client for Google Chrome, better option, but only for Chrome.
  • Unity game engine, which has a web player and uses FMOD under the hood.

Upvotes: 0

Related Questions