wav

Encode wav file to pcm

Hello everybody, I need to encode a wav file to another file format (pcm). This format has to following properties: 8kHz, 16-bit. Has anybody an idea how to do this in c# or vb? Thank you in advance, JaQ ...

Flash based .wav player

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

Find an occurrence of a WAV sample inside another WAV?

Is it possible with FFT to find an occurrence of a small wav sample inside of a longer wav, if it is known that that exact sample exists somewhere in the wav (but may be mixed with other sounds)? edit (after receiving two responses): What if I have a library of all known sounds that can be in the larger WAV and wish to find occurrences...

Detect & Record Audio in Python

I need to capture audio clips as WAV files that I can then pass to another bit of python for processing. The problem is that I need to determine when there is audio present and then record it, stop when it goes silent and then pass that file to the processing module. I'm thinking it should be possible with the wave module to detect when...

WAV / MP3 Conversion On Web Server

I'm looking to convert uploaded WAV files to MP3 on my shared hosting server (ASP.NET / C#) and am curious if anyone else has tackled this before. I've seen a few open source C# libraries for performing audio conversion (AumpLib, for example), but in most cases it looks like people are using them on desktop applications. Are there any ...

How to convert a .WAV audio data sample into an double type?

Hi, I'm working on an application that processes audio data. I'm using java (I've added MP3SPI, Jlayer, and Tritonus). I'm extracting the audio data from a .wav file to a byte array. The audio data samples I'm working with are 16 bits stereo. According to what I've read the format for one sample is: AABBCCDD where AABB represents l...

Processing Audio Data using Fourier Transforms in Java

Hi, I'm trying to process audio data. I'm working with Java. I've extracted the audio data to an array. Now I should pass N data samples to a function that calculates the Discrete Fourier Transform (or Fast Fourier Transform, which is more efficient). I've read documentation but I'm getting more and more confused. What I'm trying to cal...

Finding wav sounds for messages

Hi there I am trying to find a good site with wav sounds preferebly free that i can use in messages of type.. Info, Warning, Critical and such. Sadly so far most of the wav sound sites that i have encountered have irrelevant sounds for software development use. Edit. Just to clarify, i am targeting .NET CF C#. I am aware of system sou...

Error converting wav to caf for the iPhone using afconvert

Here's the command I'm typing in a Terminal window: afconvert -f caff -d LEI16@44100 -c 1 buzzer.wav buzzer.caf Error: ExtAudioFileOpenURL failed ('dta?') Notice that buzzer.wav is my sound file. What's wrong? How should I do the conversion? ...

How do I convert a wav file to mp3 format using sox?

When I run sox directly from the command line as ; sox -r 8000 -c 1 <wavfilename> <mp3filename> I get the following error message: sox: Unknown output file format for '747a.mp3': File type 'mp3' is not known My machine is running the CentOS operating system. ...

Mean amplitude of a .wav in C#

Does anyone know a way to get the mean amplitude of a .wav file using C# (even if it means calling an outside command line program and parsing the output)? Thanks! ...

OpenAL programming - links to get Started and playing WAV

I am trying to make some games and an important part of them is audio. So far, SDL_Mixer seems great but lacks the Mix_SetMusicPosition equivalent for channels. As a result, I tried OpenAL. But I have a problem with OpenAL too. OpenAL seems way more complex than SDL_Mixer. Besides, the ALUT function for loading Wave files is deprecated...

Sound format for iPhone app

What kind of audio files are you using in your iPhone games/apps? I have a game with 30MB of sounds in .wav format and I'm thinking of maybe converting to .mp3 to reduce the app size... Is there a major difference in performance? Any other issues? ...

Play PCM data in .NET Framework 2?

I have a stream of u-Law compressed PCM data I am extracting from a Camera, I need to play this out the speakers? Anybody know how? I've tried decoding the u-Law into normal WAV Data and then use SoundPlayer but it never seems to work! Always SoundPlayer only supports PCM Data? I know the sounds ok, because I have saved it to a file ...

Strip wav header in c#

I want to be able to strip off a header from a wav file. Is there any way to do this in C#? ...

Is the endianness of format params guaranteed in RIFF WAV files?

Is the endianness of format params guaranteed in RIFF WAV files? I have heard conflicting answers to this including references to a RIFX file format. ...

How do I attenuate a WAV file by a given decibel value?

If I wanted to reduce a WAV file's amplitude by 25%, I would write something like this: for (int i = 0; i < data.Length; i++) { data[i] *= 0.75; } A lot of the articles I read on audio techniques, however, discuss amplitude in terms of decibels. I understand the logarithmic nature of decibel units in principle, but not so much in...

Best way to play wav files in the browser?

I have no choice but to play wav files directly in the browser (serverside encoding to mp3 isn't an option, unfortunately.) What's the best way to do this? I'd really like to take advantage of the HTML 5 audio tag but my target audience includes many, many teens using IE6. As far as I'm aware flash isn't an option, but speedy playback r...

How to convert midi to wav \ mp3 in c#

Hello all, I've start a small project which includes working with Midi files. I've been wondering, does any of you know of a c# \vb.net code that peforms that cast between midi and wav files? ...

Display WAV file pitch

Hi, I'm new to the audio world, and I've been assigned a task I'm not sure how to deal with. I need to display a graph representing the pitch of a WAV file. The WAV file can be polyphonic, and then I need to display the pitch graph of the dominant (read: with the strongest volume) instrument (or human voice singing). I'm quite familiar ...