1
0

hi.

we are developing RPG Game with HTML5

HTML5 fmod can use all functions of fmodStudio ?

and we are wondering about performance..

thx

  • You must to post comments
2
0

All standard features are there. We just disabled a couple of expensive instructions in the normal release, like pitch shifter (FFT based) and Convolution reverb.

A full list is here https://fmod.com/resources/documentation-api?page=content/generated/platform_js/basics.html#/

You can try out demos for yourself here http://www.fmod.org/public/js_studio/.
The performance is quite good, not as good as native obviously.

  • GBear

    hi i tested Simple Event

    ‘fire and forget the expolsion’ with ‘start the looping musing

    I was clicked quickly ‘fire and forget the explosion’ and

    Channles Playing 22 : CPU = dsp 19.29% ~~~~ total 19.56 %

    If playing 22 sound and i got this cpu usage, i can’t use fmod with huge game..

    please tell us about this T-T

  • brett

    The fact that it is playing 22 ogg vorbis files in realtime (yes it is decompressing as it plays in realtime) in 19% in javascript is pretty impressive to me, it is 14% on my machine for reference.

    If you want to have lower CPU usage you have to use more friendly compression formats, like PCM (a bank can be set to decompress into memory), or FADPCM which is a good compromise for speed vs size.

    I would treat HTML5 like a mobile level game with regard to memory and cpu usage.

  • brett

    FYI I have just got FMOD building with Web Assembly (WASM). My initial 14% test case drops to 10.8% cpu. Havent looked at tweaking optimization flags yet. Will look at releasing this soon.

    edit: 10.2% with -o3

  • You must to post comments
1
0

I have put some new demos here that use WASM instead of ASM.JS for performance testing

http://www.fmod.org/public/js_wasm
and
http://www.fmod.org/public/js_studio_wasm

let me know how it runs/compares on your machines vs the older

http://www.fmod.org/public/js
and
http://www.fmod.org/public/js_studio

  • You must to post comments
-1
0

hi i tested Simple Event

‘fire and forget the expolsion’ with ‘start the looping musing

I was clicked quickly ‘fire and forget the explosion’ and

Channles Playing 22 : CPU = dsp 19.29% ~~~~ total 19.56 %

If playing 22 sound and i got this cpu usage, i can’t use fmod with huge game..

please tell us about this T-T

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.