Help understanding audio sampling

Started by Ritual in comp.dsp13 years ago 61 replies

Please forgive me if this is the wrong place to ask such a question as this, but I really don't know offhand where else to inquire. I am...

Please forgive me if this is the wrong place to ask such a question as this, but I really don't know offhand where else to inquire. I am a musician who often works with WAV files and am trying to understand how sampling works as there have been several holes in my head as to how it works for many years. I have never actually had sampling explained to me, so what I am going to do is write ou...


Beginner Question - Discrete Fourier Series and sampling

Started by Aaron in comp.dsp12 years ago 1 reply

Given I have an input sequence [ 1 0 1 0 1 0 1 0 ], the DFS is x[n] = 0.5 + 0.5*exp(j*pi*n). The sampling (Ts) is 100 secs. Am I correct in...

Given I have an input sequence [ 1 0 1 0 1 0 1 0 ], the DFS is x[n] = 0.5 + 0.5*exp(j*pi*n). The sampling (Ts) is 100 secs. Am I correct in saying that the spectral coefficient 0.5 at pi is equivalent to saying the DFS has a 0.5 peak every 200 secs? My reasoning is between adjacent x[n] samples a time Ts has passed which corresponds to 2*pi of the sampling period. Therefore, half, i.e....


Multiple random sampling

Started by Piergiorgio Sartor in comp.dsp8 years ago 5 replies

Hi all, I've a question about sampling and reconstruction. There is a system, composed by "n" A/D converters, which have a very fast...

Hi all, I've a question about sampling and reconstruction. There is a system, composed by "n" A/D converters, which have a very fast sample-and-hold, but the conversion rate might be below Nyquist The converters run each on their own clock, that is they are completely asynchronous with each other, even more, their sampling frequency is, in principle, unknown. The input (analog) si...


Sampling

Started by Anonymous in comp.dsp7 years ago 10 replies

Somebody just told me something I cannot accept. That the usual sampling theorem doesn't work too well when there are fast moving transients in a...

Somebody just told me something I cannot accept. That the usual sampling theorem doesn't work too well when there are fast moving transients in a signal. To me this means that you are just not sampling fast enough ie the higher harmonics are not being captured. Is this one of those Hi-Fi myths that when you sample an audio signal at say 48kHz that it won't catch the cymbals in an or


Sampling: What Nyquist Didn't Say, and What to Do About It

Started by Tim Wescott in comp.dsp10 years ago 135 replies

I know there's a few people out there who actually read the papers that I post on my web site. I also know that the papers have gotten a bit...

I know there's a few people out there who actually read the papers that I post on my web site. I also know that the papers have gotten a bit ragged, and that I haven't been maintaining them. So here: I've made a start. http://www.wescottdesign.com/articles/Sampling/sampling.pdf My intent (with apologies to all of you with dial-up), is to convert the ratty HTML documents to pdf as...


Complex Sampling Techniques

Started by MikeEdmans in comp.dsp14 years ago 25 replies

Hello out there, I am confused about hardware implementation of complex sampling. Can I just set up two ADCs sampling at the same rate, but...

Hello out there, I am confused about hardware implementation of complex sampling. Can I just set up two ADCs sampling at the same rate, but with their clock signals 90 degrees out of phase, or do I actually need to multiply my input signal by a sine-wave? I assume that by sampling with 2 ADCs with out-of-phase clocks, this is the equivalent of multiplying by complex sine wave which is in p...


How to perform efficient sampling

Started by renaudin in comp.dsp15 years ago 11 replies

Why use multiple sampling rates? The most important reason is for efficiency of calculation and/or memory. But what is the lowest sampling rate...

Why use multiple sampling rates? The most important reason is for efficiency of calculation and/or memory. But what is the lowest sampling rate possible? Well, the Nyquist theorem tells us that the sampling rate must be at least twice the bandwidth of the signal. Therefore, for maximum efficiency, you would like to do DSP processing at a rate which is a small multiple of the signal bandwidth. ...


FFT length and sampling frequency relationship

Started by Anonymous in comp.dsp14 years ago 3 replies

Hi All, i was going through DSP book by proakis, there i came across the following realted to for which sampling frequency what is the...

Hi All, i was going through DSP book by proakis, there i came across the following realted to for which sampling frequency what is the fft lenght to be used like, Sampling Freq FFT Length 8KHz 256 22KHz 512 32KHz 1024 44.1/48KHz 2048 My query is on what...


cutoff and sampling frequency

Started by faz in comp.dsp12 years ago 14 replies

Hai, Basically i am little bit confused with FIR filter cutoff frequency and sampling frequency relation....Both the terms are very...

Hai, Basically i am little bit confused with FIR filter cutoff frequency and sampling frequency relation....Both the terms are very much familier to me separately but i dont know how to relate each other?? Few standard sampling frequencies for audio applications are 8,44.1,48,96,192Khz...For this sampling frequencies wat should be the minimum cutoff frequency for LP,HP,BP,BR FIR filter.....


Sampling a gyro and alias filtering?

Started by klman in comp.dsp14 years ago 7 replies

I want to sample a gyro and then integrate the angular rate to get the angle. When sampling the signal from the gyro, how important is it...

I want to sample a gyro and then integrate the angular rate to get the angle. When sampling the signal from the gyro, how important is it to filter away frequencies higher than half the sampling rate? I should have at least enough attenuation at the sampling frequency (Fs) so that a signal at Fs Hz doesn?t alias back to DC (0Hz). But what bout the other frequencies that alias, ca...


G.729 with different sampling rates?

Started by Jack in comp.dsp16 years ago 12 replies

I'm trying to understand G.729. The only compression algorithm I've coded before is ADPCM, and it wasn't keyed to a certain sampling rate - that...

I'm trying to understand G.729. The only compression algorithm I've coded before is ADPCM, and it wasn't keyed to a certain sampling rate - that is, it would be just as happy with 8100 samples per second or 7900 samples per second as it would have been with 8000, just the quality would be slightly higher or lower. With G.729, all the documentation refers to a sampling rate of 8 KHz. Is it ...


Sampling in short bursts?

Started by Helmut in comp.dsp14 years ago 1 reply

Hello I?m wondering what rules applies if I?m sampling a signal in short bursts? Lets say I want to sample a level and I do that by...

Hello I?m wondering what rules applies if I?m sampling a signal in short bursts? Lets say I want to sample a level and I do that by sampling 10 sample points at 1 ?s apart. Then I calculate I mean value of these 10 points. The sampling frequency in the bursts are 1 MHz. Should I calculate my antialias filter by that value (fN = 500 kHz) ?


Invariable FIR

Started by pardon_232000 in comp.dsp16 years ago 2 replies

Hello, I am looking for a way to keep a FIR the same using to different sampling rate. I explain : I havean an incoming signal sampling at...

Hello, I am looking for a way to keep a FIR the same using to different sampling rate. I explain : I havean an incoming signal sampling at 1048 Hz in which i want to suppress everything above 50 Hz so i make a low-pass FIR filter (i know a0, a1,.... filter coefficient). But i want to keep the same filter behaviour with the same signal but sampling this time at 10008 Hz for example. ...


samples per symbol Vs sampling rate - Can they be used interchangeably?

Started by johnlovestohate in comp.dsp10 years ago 4 replies

Hi, Do samples per symbol and sampling rate convey the same message? I know what sampling rate is but why samples per symbol is used in...

Hi, Do samples per symbol and sampling rate convey the same message? I know what sampling rate is but why samples per symbol is used in certain cases instead of sampling rate? I think that samples per symbol is used in systems where the signal is processed at baseband whereas, sampling rate is used for systems where processing is done at IF.


Optimal sampling for damped sinusoid

Started by spasmous in comp.dsp14 years ago 7 replies

I am measuring a transient oscillating signal and have been wondering about the optimal sampling scheme to determine the decay and...

I am measuring a transient oscillating signal and have been wondering about the optimal sampling scheme to determine the decay and frequency. The model is S = A.exp(-Bt).sin(Ct) and I can sample about 5 points before the signal has decayed to zero. I have reasonable estimates for C so I have been sampling at the peaks and troughs, ie. when the sin term is approximately +/- 1. It seems to work...


Nyquist Sampling

Started by RF in comp.dsp12 years ago 4 replies

I'd like to ask a couple very basic questions. Being hands-on rather than mathematically-focused I'm trying to visualize sampling in a project...

I'd like to ask a couple very basic questions. Being hands-on rather than mathematically-focused I'm trying to visualize sampling in a project I'm planning to start. 1. By sampling say a 3.1 kHz band-limited voice channel at the Nyquist rate am I guaranteed to capture *all* the information in the channel? Is nothing lost (ignoring ADC resolution)? More to the point: To know what the ...


"Quadrature signals : Complex, But not complicated" by Richard Lyons

Started by seb in comp.dsp17 years ago 5 replies

Hy, I recently read this good article of Richard Lyons but there is something i can not understand. Does someone could help me understand...

Hy, I recently read this good article of Richard Lyons but there is something i can not understand. Does someone could help me understand this difficulty ? It it says : "Each A/D converter operates at HALF the sampling rate of standard real-sampling" !!! How does it work ? It seems that using half the sampling rate of standard real-sampling, we obtain the same frequency definitio...


Regarding sampling.

Started by Ted in comp.dsp14 years ago 39 replies

Dear Group, I have an elementary question. If a sine-wave is sampled such that the samples fall at the times when the value of the wave is...

Dear Group, I have an elementary question. If a sine-wave is sampled such that the samples fall at the times when the value of the wave is zero (meaning at 0 and pi). The sampling frequency thus is twice the frquency of the wave. Is this proper sampling ? How can we reconstruct such a signal ? Of course the power of the signal is non-zero. Is that sufficient to prove that the input sign...


Undersampling and Quadrature Sampling ?

Started by Anonymous in comp.dsp14 years ago 4 replies

Hi, I would like to undersample a 70 MHz IF signal at a sampling frequency of 55 MS/s. So this undersampling method creates a 15 MHz IF2 whith...

Hi, I would like to undersample a 70 MHz IF signal at a sampling frequency of 55 MS/s. So this undersampling method creates a 15 MHz IF2 whith 55 MS/s. Now I would like to donwconverter this 15 MHz IF2 to baseband (0 IF) with quadrature sampling, so I need to generate a sinus at 60 MS/s and a cosnius at 60 MS/s and I need to multiply theses sinus, cosinus with the 15 MHz IF2. But the...


Aliasing and Sampling Prog question

Started by Rimmer in comp.dsp15 years ago 2 replies

I want to show aliasing and sampling graphically with spectra by using LabVIEW (or similar).Here is what I am doing I have a ficticious...

I want to show aliasing and sampling graphically with spectra by using LabVIEW (or similar).Here is what I am doing I have a ficticious sampling freq which is my 'analogue' signal - lets say I make it 500MHz. I then pass white noise through a narrowband filter centred at say 10.7MHz bandwidth 200kHz. I take the FFT and see the spectrum and its negative image - no problem. I add a sine w...