Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » DSP and Plug-in Development
Thread Read
web audio api for pro audio applications?
midi_transmission
KVRer
- profile
- pm
PostPosted: Wed Feb 13, 2013 6:35 am reply with quote
Hi,

I was thinking about if and how the the web audio api (https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specific ation.html ) and HTML5 ( http://www.html5audio.org/ )could be used - or better could be useful - for pro audio applications. I'm more a web developer than an audio developer, but I'm deep in love with audio technology - so I really would love to use web technology to do some pro audio related things when possible. I'm not using the word "pro audio" because it sounds fancy, but to emphasise that it should have a real value (I don't like to make something useless).

Of course, for raw power something more low level like c/c++ will allways be faster and better than this web audio api so I guess a serious DAW isn't something one will program. In other words, I try to figure out if there are potential use cases for web based applications. One obvious benefit from web based applications are their cross platform compatibility (it should run on an iPad, OSX and windows).

Just an quick use case I could imagine: Considering that we already have big touch screens (23") for windows and the web audio api is capable of midi out I could think about interaction applications (aka "lemur" for the browser).

In a nut shell: I'm trying to evaluate if I should dig deeper in the web audio api and try to find a project in this area. I would really appreciate any feedback on this (yes, especially when it is nah forget this idea very fast Smile )

kind regards
^ Joined: 13 Feb 2013  Member: #298730  
BertKoor
KVRAF
- profile
- pm
PostPosted: Wed Feb 13, 2013 7:44 am reply with quote
midi_transmission wrote:
In a nut shell: I'm trying to evaluate if I should dig deeper in the web audio api and try to find a project in this area.
Sure, go ahead!

But it's just audio currenty. Don't hold your breath regarding midi. I don't expect that to be ever implemented.

Also HTML5 is a perfect source code base for building apps that run on mobile hardware. Read up on PhoneGap etc...
----
We are the KVR collective. Resistance is futile. You will be assimilated.
My MusicCalc is back online!!
^ Joined: 08 Mar 2005  Member: #60794  Location: Utrecht, Holland
MadBrain
KVRian
- profile
- pm
PostPosted: Wed Feb 13, 2013 9:34 pm reply with quote
Too bad the latency is usually really high on those things (due to the garbage collector AFAIK).
^ Joined: 01 Dec 2004  Member: #49995  
JanSF
KVRer
- profile
- pm
PostPosted: Thu Feb 14, 2013 10:14 am reply with quote
What is really cool about the Web AUdio API is that all the heavy lifting DSP is done in native C++ code which results in very high performance and there is no latency due to JS garbage collection. In fact the latency is really low and on par with what native applications can achieve. If you want to implement some functionality that isn't already supported in teh Web Audio API you can do that in JS but of course that will not run as fast as the native code.
^ Joined: 14 Feb 2013  Member: #298821  
taoistWA
KVRer
- profile
- pm
PostPosted: Tue Feb 19, 2013 7:15 am reply with quote
I operate this site:

http://interactiveaudio.wikiaudio.org

It's a tutorial series that uses the web audio api to teach javascript.

Check it out if you like.
^ Joined: 19 Feb 2013  Member: #299183  
dingodance
KVRer
- profile
- pm
PostPosted: Tue Feb 19, 2013 7:51 am reply with quote
midi_transmission wrote:

Of course, for raw power something more low level like c/c++ will allways be faster and better than this web audio api so I guess a serious DAW isn't something one will program.


asm.js looks promising http://www.2ality.com/2013/02/asm-js.html
^ Joined: 07 Jul 2012  Member: #283848  
midi_transmission
KVRer
- profile
- pm
PostPosted: Wed Feb 20, 2013 6:06 am reply with quote
Thanks for your answers! I will also check your links.
^ Joined: 13 Feb 2013  Member: #298730  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012