Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pcm]

The tag has no usage guidance.

0
votes
1answer
31 views

Error reading a .PCM file

I want to convert a .wav file with a sampling frequency of 44100 Hz to a 16 depth .pcm. I don't why I'm getting those peaks at the beginning of .pcm plot (second figure below 2). If you could ...
1
vote
1answer
56 views

Minimum Channel Bandwidth for PCM

Please check if my answer to GATE IN 2010 question 11.20 is correct/can be improved upon. So, every $\frac{1}{f_s}$ sec, a sample is taken. The signal amplitude is quantized into $2^n$ levels such ...
0
votes
0answers
95 views

Mixing two or more G.711 raw streams

I am trying to do a real-time on-the-fly mixing of several G.711 raw RTP streams (each RTP packet holds 160 bytes of raw G.711 A/U payload) and streams are all time-synchronized. I've tried taking ...
0
votes
1answer
70 views

Windows Audio WAVEFORMAT buffer BYTE to 16-bit int

I am trying to understand audio-buffer processing at the low-level for the first time. I have the following C++ code copying WAVE-format byte data from capture buffer of Window Core Audio (*ppData in ...
2
votes
1answer
2k views

How to get the volume level from PCM audio data?

I have a decoded PCM audio data obtained from the Web Audio API. I'd like to generate a chart that represents the volume level (perceived by humans) over time. ...
0
votes
1answer
1k views

why companding is used?

Which one is the best answer? Companding is used [] ...
0
votes
0answers
169 views

How to apply Fourier transform on a stream sample by sample?

I need to transform an audio input to a kind of "frequency stream". The only way I found how to do it is by slicing data but I need to be precise. How to compute the Fourier transform of the audio ...
2
votes
2answers
546 views

How to mix 8bit/8kHz unsigned linear PCM data in AppsScript?

I am having the most difficult time mixing simple unsigned 8-bit/8kHz linear PCM audio samples in JavaScript (AppsScript). I've tried all the basic maths listed here, employing basic number arrays. ...
0
votes
1answer
382 views

How is a PCM byte converted to a voltage level?

16-bit signed PCM would have possible values of ~-32,000 to ~+32,000. How is this value converted to a voltage level for the speaker? If a DAC outputs 5VAC, the values would be ~+-5v. How is the ...