People who code: we want your input. Take the Survey

Questions tagged [pcm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
23 views

Adaptive Delta Modulation: Logic for step size control at receiver

I read that in adaptive delta modulation, we have a block for step size control (diagram below) which takes into account the one bit quantizer output in a feedback loop and modulates it, the intent ...
1
vote
1answer
36 views

Question on PCM Sampling and Quantization order

I had a doubt in my mind regarding the orders of sampling and quantization in PCM. What is the impact if the order is reversed, that is, the continuous time signal is first quantized and then sampled? ...
2
votes
1answer
43 views

Software Mixing of Multiple Audio Streams From Network

TLDR: How do I mix network streams when streams might be unreliable? I am working on a project which will allow musicians to practice/perform together over the internet with low latency. (Think ...
1
vote
1answer
51 views

Remove noise introduced while converting a Delta-Sigma Modulated (DSM) signal into a pulse-code modulated (PCM) signal?

I'm writing a tool that converts a dsdiff audio file (dsd64) into a flac audio file (DSM -> PCM). The project is both a programming exercise and a signal processing exercise; I'm learning a lot ...
1
vote
1answer
91 views

Echo removal from a chunk of PCM signal

I have implemented a paper regarding echo detection in real-time using MFCC coefficients. Now, I want to remove the echo from the mixed signal. Let me explain it as: There are two signals, NearEnd ...
0
votes
2answers
60 views

What specifically does PCM refer to?

What specifically is PCM? I've seen it refer to: the sampling and quantisation of an analogue domain signal into digital samples those sample quantisations alone in the digital domain i.e. in memory ...
0
votes
1answer
36 views

UART signal recovery from PCM data

I have a PCM signal recording of UART data after high-pass filter. The recording looks like this: I know baud rate and parity setting beforehand. What algorithm could help me recover actual binary ...
0
votes
0answers
240 views

How to scale audio signal from PCM data to a dB SPL value?

I've got a set with MEMS microphones that measure audio signals at ultrasonic frequencies. The MEMS microphones have a PDM output which is then converted into PCM (this is necessary to allow for a ...
0
votes
1answer
163 views

What is causing these spikes in the output of the low pass filter?

I am low pass filtering the PCM of an arbitrary Bell 103 (300 bps) signal. However, the output of the low pass filter shows random spikes in amplitude. I have tried to increase the bandwidth, but no ...
0
votes
1answer
53 views

Carrier frequency offset in Bell 103 FSK system

This question is a sequel of the discussion that started in this question. Dan Boschen suggested some very nice solutions to decode a Bell 103 FSK signal. I am especially interested in decoding the ...
0
votes
1answer
208 views

Decoding a PCM BFSK signal (Bell 103)

A recent project requires me to get into some basic DSP, in C. I receive PCM samples of a BFSK signal (Bell 103). The sample rate is 8 kHz. The mark and space frequencies are 1070 and 1270 Hz. To ...
0
votes
1answer
308 views

Analyze PCM data

I am getting some 16 bit PCM data (raw bits) from a serial port . I need to collect this stream of bits using some python application running in PC and store it somewhere(Assume it in an array). I ...
1
vote
1answer
59 views

Digital Audio Mixing Fundamental. What will be the data rate of mixed audio?

I have voice data at 128 kbps coming from three different sources. I'm looking for mixing all three voices together and sending it back to speakers. What methodologies are there for mixing digital ...
0
votes
1answer
62 views

What are the definitions of symbols and samples related to PCM?

What are the definitions of symbols and samples related to PCM? For example in binary encoding $\{0,1\}$ with 8 levels of quantization, is one symbol either of $ \ 0 \ or \ 1\ $? or is it the ...
2
votes
1answer
2k 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
41 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
232 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
2k 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
242 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 ...
3
votes
1answer
8k 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
4k views

why companding is used?

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