Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

options for producing audio with GWT

Tags:

html

audio

gwt

What options are there for producing audio in a GWT app? I'm thinking of making a simple game, but I'm disappointed to see that there's still not much progress on audio support directly in GWT (yes, I realize that's largely due to lack of underlying browser support; looking forward to HTML5!)

This blog post says that "audio support in GWT is rapidly evolving", yet I don't see updates in over a year, at least not at that site. It seems these are the available options:

  • GWT Voices
  • GWT SoundManager
  • GWT Sound
  • GWT Incubator (all of the audio APIs seem deprecated here)

I believe most of these (all of them?) rely on Flash to produce audio. I'm most inclined to go with the GWT Incubator, as that's where features slated for inclusion in GWT get started, but I've no real recommendations to go on. I would appreciate hearing about your experiences with any of these libraries, thanks.

like image 599
George Armhold Avatar asked Mar 29 '10 00:03

George Armhold


2 Answers

GWT Voices is written by Fred Sauer. He seems to be very closely affiliated with GWT. I've used his drag and drop code before, and found it quite well documented and frequently updated. Also, he seems responsive to questions in the forum. (I have no affiliation!)

I don't know anything about the others.

like image 62
John Avatar answered Oct 21 '22 13:10

John


Most of the aforementioned SoundManager2 wrappers are dated and no longer supported. Gwt Voices is a good project, but lacks a lot of the functionality that is provided by a mature and proven solution like SoundManager2.

Check out this newer one called gwt-soundmanager2. It's a fork from Jeffery Miller's gwt-sound project. https://github.com/rcaloras/gwt-soundmanager2

(I created it, happy to answer questions or add additional features)

like image 28
RCCola Avatar answered Oct 21 '22 12:10

RCCola