sample-rate

FFMPEG wmv conversion to flv

anyone using ffmpeg I have a fairly simple wmv exported by a user from movie maker with standard output and want to convert to .flv using C:>ffmpeg -i "E:\Jab Core 4 Recounters.wmv" -vcodec flv "C:\Net Projects\SVN\IntegratedAlgorithmics\src\MediaAdmin\MediaAdmin\bin\Debug\Movies\Jab Core 4 Recounters.flv" -ar 44100 the output / erro...

SpeechSynthesizer in C# creates wav that has 22kHz... needs to be 16kHz

My C# application needs to covert text to wav file and inject it into a Skype call. The code that creates the wav file is below. The problem is that the file has 22kHz sample rate and Skype accepts only 16kHz. Is there any way to adjust this setting? using (System.IO.FileStream stream = System.IO.File.Create("message.wav")) { System....

amplitude per sample iphone Audio

Summary: how do i get the amplitude of each sample using the default aurioTouch code. in Depth: The aurioTouch seems to be setup well for what i need, i need to be sampling at 44.1Khz and then taking the amplitude values from these and applying a small filter i have written to detect an event. I know this should go in the PerformThru ca...

Fastest and most efficient upsampling routine for Audio in Java

I have a need to convert audio samples from 11025 and 22050 to 44100; I'm looking for the fastest and best sounding conversion routine. I require that the answer be given in pure Java, without the need for external routines or libraries. The source is an array of short values representing left and right channels, interleaved like so LRLR...

AudioQueueServices plays samples in low quality

I have an iPhone application which allows you to mix several samples with Audio Queue Services. When I developed this app for iPhone OS 3.0, I sometimes had a glitch where the audio would sound as if the treble had been muted. When I restarted the app it was gone. Now, I had to do some fixes for iOS 4.0/4.1 so I opened up the project, b...