Pages

Subscribe Twitter Twitter

Thursday, May 13, 2010

download Audio File Mixer

download Audio File Mixer The Audio File Mixer application was developed to be a small tool that uses a C# class for reading and writing WAV files, light audio manipulation, and WAV file mixing. A WAV audio file consists of a header at the beginning of the file, which contains strings to identify the file type (\"RIFF\" and \"WAVE\"), as well as information about the audio contained in the file (number of channels, sample rate, number of bits per channel, size of the data, etc.). Following the header is all of the audio data. Digital audio data is numeric: each sample is an integer that represents the level of the audio signal at that point in time. One of the issues that needs to be dealt with when mixing audio (and dealing with audio in general) is audio clipping. Digital audio clipping is caused by numeric range limitations of the sample size (8 or 16 bits): when audio samples are manipulated (i.e., if the volume is increased), it\'s possible for the resulting values to go beyond the numeric range. When that happens, the result (often loud) pops and clicks in the audio, which is undesirable. So, in order to mix WAV files together, MergeAudioFiles() in my WAVFile class will first analyze each audio file to determine the highest audio sample, then reduce the volume in all of the audio files, copying them to a temporary directory. The audio volume is reduced enough so that when the audio samples are added together during the mixing, the numeric range of the data will not be exceeded. After mixing, the volume of the final mix file is increased back up to an acceptable level. The mixing process can take over a minute or two in some cases, which is normal.
download Audio File Mixer

0 comments:

Post a Comment