I didn't see his previous question, but I thought this one was rather valid.

The reason to use wav files instead of mp3s is quality. If you are building any sort of sound editing or mixing program; that higher quality counts for a lot. Converting to mp3 for distribution often makes a lot of sense; although there are sometimes business reasons for not distributing mp3s commercially. For The Flex Show, we take wav files, edit them, and turn them into mp3 for distribution. It works quite well and gives us better quality than we'd have starting w/ an mp3. Krunal, As best I know, if you want to play wav files in Flex you are stuck writing your own codec. If you Google around, I have seen projects that can get Ogg Vorbis files to play. Perhaps you can use some of the techniques in that to get wav files to play.

Kenneth Sutherland wrote:


Having just looked at your emails (this plus previous one), this list is for questions and not for just getting someone else to do your code. Try looking at the livedocs <http://livedocs.adobe.com/flex/3/langref/index.html> or Google for flex examples.

In respect to the wav file, why would you wish to use a wav file. The Sound class can handle mp3 very easily so just convert your wav files (which IMHO you should be doing anyway), there are tones of free convertors out there.

If you’re looking for examples on implementing something the check out http://blog.flexexamples.com/index.php?s=sound or http://dougmccune.com/blog/2008/05/02/screenshot-step-by-step-instructions-of-how-to-use-the-flex-coverflow-component/

Kenneth.

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Krunal Panchal
*Sent:* 16 June 2009 10:35
*To:* Flex Coder
*Cc:* Jignesh Patel - SPEC
*Subject:* [flexcoders] How to play a wav audio file in flex




Hi Friends,

How to play a wav audio file in flex ( action script)? is there any third party swc ?
*Regards,*

*
------------------------------------------------------------------------
*

*Krunal Panchal | Senior Software Engineer*

**** [email protected] <mailto:[email protected]>** *



Disclaimer

------------------------------------------------------------------------
This electronic message contains information which may be privileged and confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone on 0131 476 6000 and delete the material from your computer.
Registered in Scotland number: SC 172507.
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB.

This email message has been scanned for viruses by Mimecast.
------------------------------------------------------------------------




--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust

Reply via email to