wav

Trouble converting an MP3 file to a WAV file using Naudio

Naudio Library: http://naudio.codeplex.com/ I'm trying to convert an MP3 file to a WAV file, but I've run in to a small error. I know what's going wrong, but I don't really know how to go about fixing it. Here's the piece of code I'm running: private void button1_Click(object sender, EventArgs e) { using(Mp3FileReader reader = new...

Playing audio from a wav file in iPhone SpeakHere example

I'm working with the iPhone SpeakHere example, and I would like to be able to play audio from either the mic (as in the example) or from a wav file. I have working code to play from a particular wav file, which looks like this: NSString *path = [[NSBundle mainBundle] pathForResource:@"basketBall" ofType:@"wav"]; AVAudioPlayer* t...

Embedding wav files in AS3 Flash/Flex project?

The Flash IDE is capable of embedding many types of uncompressed sound files, including wav, and offers optional compression when publishing. However, the [Embed] tag, only seems to allow embedding of mp3 files. Is it truly impossible to embed an uncompressed wav file, or am I missing some magic, undocumented mimeType? I was hoping for...

Voice Stress Analysis in Python

I'm interested in playing with this, anyone know of any code for this already existing? or what libraries would be useful to get started on something like this? ...

Wav analysis in python

I'm looking for a python library that will help me analyze the audio in wav files. At the very least I'm hoping to find some kind of interface that understands .wav format so that I don't have to :P at best I need a module with methods for reading wave form parameters like pitch, volume levels, etc ...

Goldwave Autotrim over Command Prompt

Hi, I have 1 minute wav file recordings. To check whether there is no voice present in the file, I am using Goldwave to trim the silence which lefts the file size very small in few Kbs. This tells me that there is no sound in most part of the file. But I am not able to do this via Command prompt using the Command line utility, Does Go...

Trimming bit of the beginning off a recorder waveform

I've got a flash 10.1 app that lets me record microphone input to a wav without a media server, which I am saving to an Amazon S3 bucket. I have another process running on a server which gets wavs from this bucket, converts to mp3 using LAME and puts them into another bucket. This all works fine, but in converting wav > mp3, about 0.1se...

Workaround for UnsupportedAudioFileException ?

I'm in a very early stage of writing a small music/rhythm game in Java (via Slick framework, which in turns uses OpenAL, but that's probably irrelevant here). The game needs to read (and playback) several sound files in WAV format, but some of the files are throwing [javax.sound.sampled.UnsupportedAudioFileException] exceptions. at jav...

Programmatically convert WAV

Hi, I'm writing a file compressor utility in C++ that I want support for PCM WAV files, however I want to keep it in PCM encoding and just convert it to a lower sample rate and change it from stereo to mono if applicable to yield a lower file size. I understand the WAV file header, however I have no experience or knowledge of how the ac...

How to open wav file with Lua

Hello, I am trying to do some wav processing using Lua, but have fallen a the first hurdle! I cannot find a function or library that will allow me to load a wav file and access the raw data. There is one library, but it onl allows playing of wavs, not access to the raw data. Are there any out there? Cheers, Pete. ...

How do I post a .wav file from CS5 Flash, AS3 to a Java servlet?

Hi, I am trying to send a byteArray from my .fla to my running tomcat server integrated in Eclipse. From flash I am using the following code: var loader:URLLoader = new URLLoader(); var header:URLRequestHeader = new URLRequestHeader("audio/wav", "application/octet-stream"); var request:URLRequest = new URLRequest("http://localhost:808...

How to get the contents of the wav file into array so as to cut the required segment and convert it back to wav format using python??

How to get the contents of the wav file into array so as to cut the required segment and convert it back to wav format using python?? My prob is similar to "ROMANs" prob,i hav seen earlier in the post at this site.. Basically,i want to combine parts of different wav file into one wav file?? if there is ne other apporach thn takin the co...

How to extract semi-precise frequencies from a WAV file using Fourier Transforms

Let us say that I have a WAV file. In this file, is a series of sine tones at precise 1 second intervals. I want to use the FFTW library to extract these tones in sequence. Is this particularly hard to do? How would I go about this? Also, what is the best way to write tones of this kind into a WAV file? I assume I would only need a simp...

How to join two wav file using python??

I am using python programming language,I want to join to wav file one at the end of other wav file? I have a Question in the forum which suggest how to merge two wav file i.e add the contents of one wav file at certain offset,but i want to join two wav file at the end of each other... And also i had a prob playing the my own wav file,us...

How do I play back a WAV in ActionScript?

Please see the class I have created at http://textsnip.com/see/WAVinAS3 for parsing a WAVE file in ActionScript 3.0. This class is correctly pulling apart info from the file header & fmt chunks, isolating the data chunk, and creating a new ByteArray to store the data chunk. It takes in an uncompressed WAVE file with a format tag of 1. T...

how to play wave file using http

Dear all, how can i play wave file using flash . I m able to play mp3 files using following code <embed id="wmp" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="true" width="320" height="240" loop="false"...

WAVEFORMATEX - how to read codecdata at the end??

Hi All. I've a WAVEFORMATEX struct with some codecdata at the end of it (10 bytes). I'm using C++. How do I access the data at the end? (this is a purely technical question). I tried : WAVEFORMATEX* wav = (WAVEFORMATEX*)pmt->pbFormat; WORD me = wav->cbSize; wav = wav + sizeof(WAVEFORMATEX); BYTE* arr = new BYTE[me]; ...

WAVEFORMATEX in a prx profile - what is the CodecData field for?

Hi All, What is the CodecData field at the end of the WAVEFORMATEX struct used for? What format is it in? How can I write an integer into it and read it somewhere else? Thanks Roey ...

Play wav files on website usign swf

How can I play .wav files on my website using flash .swf there are many plugins for mp3s but nothing that does .wav. It is essential that i use .wav not .mp3 and converting it is not an option. I do not want to use the standard embed that uses the quicktime plugin. Can anyone help? ...

Covert a A-Law mono .vox file to .wav file in c# .net

Can anyone please help me out... I need to convert a vox file to wav... I have tried the google, codeguru, codeproject etc... vox file encoding is: A-Law mono at 8000 HZ.... any reference, any clue, almost anything goes. Except, c, c++. yea... thats correct can't handle c, c++... regards... PS my working so far... I have tried SO...