tags:

views:

2635

answers:

6

Hello;

Does anybody know of a free/open source flash-based music player that can playback .wav files?

Thanks...

+1  A: 

I don't think you can play .wav files out of the box in any Flash based player, there's simply no support for them.

You could in theory develop/port your own, kind of this haXe OGG decoder:

http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player/

But doesn't look easy.

If this is a web app, maybe you could recode the wav files using something like FFMPEG on the server, but you probably need admin rights on the server and set up all the hooks and stuff.

If you provide more info about the situation maybe there're other ways to tackle the problem.

Cheers,

Juan

Zárate
A: 

This is the OP;

I am trying to playback Asterisk recorded calls in a developed console of the Caller CDR table, I am using Windows Media Player for that, but I want it to work in Firefox without having the end-user install the WM Plugin for Firefox. Any ideas?

A: 

I wrote a front end that invokes SOX (with LAME) to translate the WAV files into MP3's, then uses Soundmanager2 (a flash/javascript tool) on the client side to play them back. So far, works great with IE, Firefox, Safari and Chrome on Windows and Firefox and Safari on Macs.

Seems like once you get the WAVs into MP3 format, your client player options open up quite a bit.

Jeremy Wadhams
A: 

Flowplayer supports mp3 playback, I know (maybe not WAV,) but you could definitely couple it with ffmpeg to do some quick transcoding, depending on your setup.

+2  A: 

I have created flash player, primarily aimed to play asterisk sounds. It can play wav pcm, wav gsm, au, raw gsm/alaw/ulaw/pcm files. You can get it here: http://blog.datacompboy.ru/2009/10/19/wavplayer-flash-player-for-asterisk-sounds/

datacompboy
+1  A: 

There is one right here: http://github.com/francois2metz/WavPlayer

jankubr