Questions tagged [pcm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
57 views

Nyquist Maximum data rate formula for PCM

The Nyquist maximum data rate formula for a binary PCM is given by $$C = 2B\log_2L$$ I'm not very sure what "$B$" is here. Is it the bandwidth of the signal being sampled or is it the channel ...
0
votes
0answers
23 views

Number of binary digits in PCM

This is the problem from Shaum Otlines Analog and Digital Communications, Hwei Hsu Problem 5.13. It asks for number of binary digits in each sample if each sample at the receiving end of the system ...
0
votes
1answer
74 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
272 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
1answer
112 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
3k 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
2k views

why companding is used?

Which one is the best answer? Companding is used [] ...
2
votes
2answers
724 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
456 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 ...