pcm

Downsampling and applying a lowpass filter to digital audio

I've got a 44Khz audio stream from a CD, represented as an array of 16 bit PCM samples. I'd like to cut it down to an 11KHz stream. How do I do that? From my days of engineering class many years ago, I know that the stream won't be able to describe anything over 5500Hz accurately anymore, so I assume I want to cut everything above tha...

WAV audio format: MPEG3 to PCM

How can you convert wav files with MPeg layer 3 (MPeg3) audio format to PCM? ...

YUV/PCM Visualizer to measure Lip Sync

I have a two dump files of raw video and raw audio from an encoder and I want to be able to measure the "Lip-sync". Imagine a video of a hammer striking an anvil. I want to go frame by frame and see that when the hammer finally hits the anvil, there is a spike in amplitude on the audio track. Because of the speed that everything happens...

Lossy compressed format to raw PCM on iPhone

I want to start with an audio file of a modest filesize, and finish with an array of unsigned chars that can be loaded into OpenAL with alBufferData. My trouble is the steps that happen in the middle. I thought AAC would be the way to go, but according to Apple representative Rincewind (circa 12/08): Currently hardware assisted comp...

Sound pressure display for WAVE PCM data

The digital sound is playing using DirectSound device. It is necessary to display sound activity in decibels - like analog devices do. What is the right way to calculate sound pressure from the WAVE PCM data (44100hz,16bit)? ...

Audio output from Silverlight

I'm looking to develop a Silverlight application which will take a stream of data (not an audio stream as such) from a web server. The data stream would then be manipulated to give audio of a certain format (G.711 a-Law for example) which would then be converted into PCM so that additional effects can be applied (such as boosting the vo...

Extracting raw audio/waveform from an MP3

Hi all, This question has been in my mind for a few years and I never actually found the answer for this. What I would like to do is extract the actual waveform/PCM of an MP3 file, so that I can play it using the soundcard (of course). Ideally I would be experimenting some DSP effects. My first step was to look into LAME, but I didn'...

Where can I learn how to work with audio data formats?

I'm working on an openGL project that involves a speaking cartoon face. My hope is to play the speech (encoded as mp3s) and animate its mouth using the audio data. I've never really worked with audio before so I'm not sure where to start, but some googling led me to believe my first step would be converting the mp3 to pcm. I don't rea...

Estimating stream capacity

How many uncompressed PCM 64kbps streams can I fit in a wireless 802.11b connection 5.5 Mb/s when CWmin = 16? I assume that one packet contains 30 bytes + IP+UDP+RTP headers (20+8+12 bytes). ...

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 ...

PCM Data Pitch Change in C#

I have a program that downloads PCM data from a Web Server, which it uses later to play through a standard PCM player. I want to be able to allow users to change the pitch of the PCM data while its being played. Does anyone know how to do this? ...

how to play pcm raw data in java

Hi I have PCM samples in a short array. What is the best way to play this out? The format is 8000Hz, Mono, 16 bit, big endian. (The PCM samples are generated in the code and not read through some file) Thanks ...

Decode WMA with FFMpeg to PCM

Hello, I want to decode a WMA stream to 16 Bit PCM. Now i have a Question concerning FFMpeg- what is the output format of .. len = avcodec_decode_audio2(c, (int16_t *)outbuf, &outbuf_used, inbuf_ptr, size); is this the right function for this task? Thank you ...

streaming sound directly to spdif out.

I haven't done any audio coding before so bare with me. basically, I've noticed that some media players can directly stream AC3 and dts streams to the spdif out (like media player classic playing a dvd) because of the way it does it, it bypasses all of the system sound integration and re sampling and stuff (so none of the software volume...

Microsoft Azure based Audio conversion?

Does anyone know if its feasible to convert PCM/FLAC files to some compressed format (mp3/wma/ogg, not picky), with the conversion process running on Azure? An Amazon EC2 based solution would be trivial, as 3rd party libraries could be installed; but what about Azure? ...

J2ME/Blackberry - get audio signal amplitude level?

Hi! Is it possible in j2me to measure signal amplitude of audio record made by JSR-135 Player? I know I can access buffer, but then what? Target model Bold 9000, supported formats PCM and AMR. Which format I should use? See also Blackberry Audio Recording Sample Code How To - Record Audio on a BlackBerry smartphone Thank you! ...

Convert GSM Audio to WAV PCM

Does anyone know how to convert GSM audio into PCM WAV via C#? I have tried to find a viable solution on the Internet to no avail. ...

C\C++ open source Mp3 to PCM convertor

C\C++ open source Mp3 to PCM convertor? What do I need Open Source Libs/wrappers for encoding/decoding. Tutorials and blog articles on How to do it, about etc. ...

C/C++ PCM open source audio analizer

C/C++ PCM opensource audio analizer? What do I need Open Source Libs/wrappers for encoding/decoding. Tutorials and blog articles on How to do it, about etc. ...

C\C++ open source PCM to Mp3 convertor?

C\C++ open source PCM to Mp3 convertor/encoder? What do I need Open Source Libs/wrappers for encoding/decoding. Tutorials and blog articles on How to do it, about etc. ...