Languages

Menu
Sites
Language
By using webaudiocontex how to make loading buffer and decoding faster for long audio?

Hi,

   i am developing audio player using web audio, i used the soundwave visualiser app code with this loadind and decoding takes much time.

Could any one help me to make it faster.?

 

Thanks

Responses

5 Replies
AVSukhov

Hello,

I do not know how to optimize the processing of your situation (not enough info), but if you care about performance:

Assuming that JavaScript is very much slower than heavily optimized C/C++ code, in your case you can use Hybrid Web app = native service for processing/decoding audio + web app for UI.

Palitsyna

Hello,

as AVSukhov said, try to use Hybrid Application. You can find more information about it in the following tutorials:

http://cdn.download.tizen.org/misc/media/conference2013/slides/TDC2013-Native-Hybrid_Tizen_Apps_Development_Technique.pdf

http://infidea.net/tizen-hybrid-app-tutorial/

Vikram

Hi,

You can also refer to Help-Tizen IDE, Getting Started->Web Application->"Developing Multi-projects" to get more info about Hybrid Application.
Using hybrid application may be enhance decording efficiency for long audio, but you can try it.

Seoghyun Kang

Hello,

 

If you want to watch the sample code of the hybrid application,  please check the HybridWebApp and HybridService in the SDK.

It will be helpful to you.

Alex Dem

Hi,
fyi, I know this tutorial to play audio content for web: https://developer.tizen.org/dev-guide/2.3.1/org.tizen.tutorials/html/web/w3c/media/webaudio_tutorial_w.htm
In other case try to look at native api and use hybrid app (as it proposed).
Alexey.