pcm

Pure C# open source PCM to Mp3 convertor?

Microsoft Silverlight 4 is in beta. It supports PCM audio output. It would be madness to stream PCM over internet (for ex in P2P chart webApp) so we need Pure C# open source PCM to Mp3 convertor. No unmanaged code, nothing going out of .net sandbox. So does any one know such Pure C# open source PCM to Mp3 convertor? What do I need: ...

Pure C# open source PCM to Ogg convertor?

Microsoft Silverlight 4 is in beta. It supports PCM audio output. It would be madness to stream PCM over internet (for ex in P2P chart webApp) so we need Pure C# open source PCM to Ogg convertor. No unmanaged code, nothing going out of .net sandbox. So does any one know such Pure C# open source PCM to Ogg convertor? What do I need: ...

How to write mp3 frames from PCM data (C/C++)?

How to write mp3 frames (not full mp3 files with ID3 etc) from PCM data? I have something like PCM data (for ex 100mb) I want to create an array of mp3 frames from that data. How to perform such operation? (for ex with lame or any other opensource encoder) What do I need: Open Source Libs for encoding. Tutorials and blog articles on ...

How can I convert MP3 to PCM with C++?

Possible Duplicate: C\C++ open source Mp3 to PCM convertor What I want is some kind of library that can take an MP3 file and return the PCM as values (as numbers like 15, 654, 110, 4, ... ). No matter how long. It just returns them as values on their own or in an array and I don't care about other types (e.g. Ogg and WAV) and t...

C/C++ library for .wav file encoding

I need a library for MS VC6 which encodes sampled data which is in the form of a float array, to an audio file format preferably wav Also is there a library that can encode the samples into pcm form and play it directly through the sound card without saving a wav file first?? ...

Howto pipe raw PCM-Data from /dev/ttyUSB0 to soundcard?

Hi I'm working currently on a small microhpone, connected to PC via an FPGA. The FPGA spits a raw datastream via UART/USB into my computer. I'm able to record, play and analyze the data. But I can't play the "live" audiostream directly. What works is saving the datastream in PCM raw-format with a custom made C-program, and piping the ...

Continuous Streaming PCM data in C++?

I have a stream of PCM audio captured from a cell phone, and I want to play it. I am trying to find a lightweight method of playing this audio in C++. I can already slap on a wave header and create a file that plays in any media player, but I want to play the file in real time as it streams in. I would like to avoid writing the file to...

How to make a LevelMeter from a Stream data?

I have an Input Audio stream data, VARIANT type, PCM data, 8000Hz, 16bit, Mono. I just want to make a LevelMeter from it that moves Up and Down as the person talk to the Microphone. Like what windows did in "Volume Mixer" in windows Vista and Seven. Is there any ready Control to use? ...

Audio File FFT in an OS X environment

I'm looking to perform an FFT on a linear PCM audio file (with potentially more than one audio channel) on OS X. What is the best way to go about this? Several sources have indicated that Apple's Accelerate Framework is what I need. If so, how should I extract and properly prepare the floating point data for use in those FFT functions...

Lightweight open source software synth library on pure C (possibly C++). PCM. ?

Are there any portable open source libraries that support sample-based synthesis and encapsulate producing and mixing simple PCMs? I really need something minimalistic and decoupled from operating system audio output mechanisms. ...

iPhone - how to measure amplitude of a PCM coded signal

Hi, here's my problem at hand: I need to analyze audio data in realtime to find out the amplitude of the signal I can't use the AudioQueue metering functionality because it has too much delay for detecting peaks I have studied the aurioTouch example..... however... I simply don't understand how the PCM coded buffer is converted back...

Convert raw PCM stream to wavs (cli)

I need a program that I can pipe a raw PCM stream into, and will send wav files to stdout. Since the input is a stream, I can't just add headers to it, but I can for every x seconds (For example, program reads ten seconds of the stream, and outputs a ten second long wav file, reads the next ten seconds, outputs a wav file, and so on). ...

Android AudioRecord and AudioTrack codec options?

I currently use the AudioTrack and AudioRecord classes in Android. I use the pure PCM data but I was wondering what my options are for other codecs? From this page it seems I can only encode and decode using AMR narrowband? I currently set up the Audio classes as follows: arec = new AudioRecord(MediaRecorder.AudioSource.MIC, ...

Is there a "simple" way to play linear PCM audio on the iPhone?

I'm making a media playback app which gets given uncompressed linear PCM (über raw) audio from a third-party decoder, but I'm going crazy when it comes to just playing back the most simple audio format I can imagine.. The final app will get the PCM data progressively as the source file streams from a server, so I looked at Audio Queues ...

What is the algorithm of converting pcm to adpcm?

What is the algorithm of converting pcm to adpcm? ...

Where to get simple opensource adpcm C\C++ encoder lib?

Where to get simple opensource pcm to adpcm C\C++ encoder lib? ...

Interpreting WAV Data

Hi everyone, I'm trying to write a program to display PCM data. I've been very frustrated trying to find a library with the right level of abstraction, but I've found the python wave library and have been using that. However, I'm not sure how to interpret the data. The wave.getparams function returns (2 channels, 2 bytes, 44100 Hz, 963...

How to get PCM data from microphone in C++ (os Windows)?

I need to capture PCM data from microphone in C++. I'm a beginner. How to do it? ...

Downsample 16-bit pcm audio to 8-bit in android

Hello I would like to downsample 16 bit pcm audio to 8 bit and then upsample the same from 8 bit back to 16 bit in android. I am using this which seems to work: int tempint; for (int i=1, j=0; i<tempBuffer.length; i+=2, j++) { tempint = ((int) tempBuffer[i]) ^ 0x00000080; tempBuffer[j] = (byte) tempint; Log.e("test","-----...

iPhone file format issue on AudioQueue buffers

I am writing program on iPhone, that records voice and transmit to the server in real-time. For recording voice I use AudioQueue and inside of void AudioInputCallback(void *inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer, const AudioTimeStamp *inStartTime, UInt32 inNumberPacketDescriptions, ...