Questions tagged [delay]
The delay tag has no usage guidance.
131
questions
1
vote
4
answers
76
views
Fractional Delay in Matlab Scale Signals
I am trying to write a function which takes an input signal and delays it by a non-integer index. The function is based on the ideal bandlimited fractional delay filter technique, already available in ...
-1
votes
1
answer
54
views
Real time signal processing in frequency domain
i'm doing realtime signal processing simulation.
it could be simple question.
if i multiply input L sample fft and M block filter in frequency domain and i do ifft
the output come out when index is L+...
2
votes
0
answers
57
views
Introducing Feedback to Miller Puckette's Time-Domain Pitch Shifting Algorithm without Discontinuities
I've implemented Miller Puckette's time-domain pitch shifting algorithm (http://msp.ucsd.edu/techniques/v0.11/book-html/node125.html) in PureData's help files in C++ (my code here: https://github.com/...
0
votes
2
answers
57
views
Issue Understanding Time Delay of a Digital Filter
I am new to the world of digital filters and am educating myself with the book Introduction to Digital Filters by J.O Smith III,. The author derives the frequency response of a very simplistic filter:
...
1
vote
2
answers
74
views
Audio compressor delay/lookahead
I am making a real-time audio compressor/limiter. I am in little doubt about the delay. What is typical delay times for a compressors or limiters delay/lookahead time?
Most other compressors I see don'...
0
votes
0
answers
37
views
Audio crackles with delay in series
I am learning to write audio plugins using VST3 sdk.
I have an issue implementing 2 delays in serie, the audio starts crackling.
Here is the processing code:
...
2
votes
0
answers
106
views
How do large tap counts effect FIR Filters for block data?
I am using the ARM CMSIS DSP library for a signal processing application. I find good filter performance when using tap counts that are in excess of 10% of the length of my data block. I understand ...
0
votes
0
answers
28
views
Generating a 2D delay-Doppler channel matrix
I was wondering if anyone here has any idea on 2D delay-Doppler channel and how to generate the channel matrix?
Even a hint or a resource would be helpful. I just want to understand and visualize the ...
0
votes
1
answer
127
views
Estimate the time delay of two signals
I am having 2 sets of data data1 and data2 .I wanted to find the delay between the two datasets.
Assume data1=[1 2 3 4 5 6 7 8 9 10] and data2=[0 0 0 0 1 2 3 4 5 6].From the data I know that, data2 is ...
1
vote
2
answers
96
views
Matlab Pade approximation influence on bode plot and step response
I would like to approximate a delay via the pade approximation. I set a normal delay via the exponential term and I set a delay via the pade approximation and I look the difference between the both ...
0
votes
0
answers
28
views
From Delay Spread to Coherence Bandwidth?
The phase difference of two sinusoids is given as:
| TX --(r)--->RX <------- (Reflection)|
d: whole path from sender to reflecting object
$ \Delta \theta = 2 \pi \cdot \frac{(2d - r)-r}{c} f + \...
1
vote
2
answers
116
views
Question about delayed sampled sinusoid math expression
I have been studying the digital audio processing by using the book <Designing Audio Effect Plugins in C++>.
For analog Sinusoid:
Complex Sinusoid = $e^{jωt}$
Delayed Sinusoid = $e^{jω(t−n)} = e^...
2
votes
1
answer
252
views
What is the relationship between group delay and propagation delay for a filter? [duplicate]
I was trying to design a filter for a system and I was able to obtain the group delay plot in matlab using grpdelay. The group delay output is in samples. However, I was not able to relate that data ...
6
votes
3
answers
968
views
Delay a signal in time vs in frequency
I have a signal h that I want to delay for a time t.
I know that I could use two possible approaches:
$h_{\text{delay}}[k] = \...
0
votes
1
answer
293
views
How to solve a time delay from an FIR filter?
I have designed a FIR high-pass filter $\{h_n\}$ with length 257 to filter a signal $\{f_n\}$ with length 512. To convolve signal with filter in time,
I performed an FFT with length 768, padding ...
1
vote
2
answers
44
views
Why can the number of zeros be no more than the number of delay elements in a signal flow network?
Let $N$ be the signal graph representation network of the system function (in rationale form) of a discrete-time LTI system. For a network $N$ with
no loops, the impulse response is no longer than ...
0
votes
0
answers
103
views
How to use cross-correlation to verify speech data and determine delay
I have been experimenting with cross-correlation function to verify the presence of speech in a recorded file wrt a source file. I tried the following in Matlab:
<...
3
votes
1
answer
434
views
GCC-PHAT always peaks at zero when estimating delay offset
My question is that when I used gcc-phat to estimate delay between two audio signals, it always returns zero offset. However normal cross correlation Xcorr gives a good result. I don't know the reason....
0
votes
0
answers
35
views
How can I find the delay between two signals? [duplicate]
I am using NARX in Matlab.
Is there any method to find the delay between input and output signals?
My aim is to decrease memory length by finding the delay.
TIA.
3
votes
1
answer
98
views
Interpreting the cross correlation results
I am new to this forum. I am just trying to understand how to calculate delay (in terms of samples) between two signals using cross-correlation function. I wrote a small Matlab code in order to ...
0
votes
1
answer
105
views
Is this the correct solution for finding the samples of phase delay at a given frequency of an IIR BiQuad filter?
I want to calculate the number of samples of phase delay at a given frequency of an IIR BiQuad Filter. I believe I have solved this, but I would like to confirm I have done it correctly. My work is as ...
0
votes
1
answer
73
views
Delays and alignment issues: how to compute the an equalizer delay?
For example, if an equalizer model experiences a delay due to its processing, the equalizer may misinterpret the boundaries between the equalized symbols it outputs and, therefore, return meaningless ...
2
votes
1
answer
185
views
phase difference detection
For application of syncing sampling clock phase to carrier phase of received signal where the received signal is sampled with 10 times the carrier phase and modulated with the PSK shown in the figure (...
0
votes
1
answer
55
views
Frequency-specific Delay?
So an equalizer manipulates the gain of certain frequencies by use of a variety of filters, as we all know. But is there a way to manipulate delay in a frequency-specific manner?
A parametric ...
5
votes
2
answers
1k
views
How to Reduce Phase Lag Caused by Kalman Filter
Background
I have been developing a system using a moving robot with a distance sensor against another robot. I want to control these robots by estimating relative velocity and acceleration derived ...
0
votes
1
answer
41
views
Measurement delay versus control delay
For a typical conventional control loop (no delay, measurement transfer function is 1) the closed-loop transfer function is
$$H(s) = \frac{G_{comp}G_{process}}{1+G_{comp}G_{process}}$$
With an ...
1
vote
0
answers
27
views
Quantifying the frequency shift of a delay with LP filtered feedback
I am working at a Karplus-Strong sound synthesis technique where an excitation impulse is subjected to a delay with feedback and a one pole LP filter in the feedback line. The process is simply
y[0]=(...
13
votes
6
answers
5k
views
Is a notch filter for 50 Hz without delay possible?
I am processing an EEG signal (2 kHz sampling frequency) from hardware and the built-in filter doesn't work as intended. FIR gives a delay, and IIR is unstable.
The signal of interest is from 4&...
0
votes
2
answers
128
views
What is effect of fractional sample delay effect on FIR Filters?
In the DSP lecture slides we have this slide:
And
So why this part of FIR Type 2 and Type 4 filter impulse response equation bolded in this slide?
Thanks for your attention.
0
votes
2
answers
105
views
How is time or sampling rate accounted for in this model?
A basic model of coupled strings (eg. piano) is provided here as:
The principle is that it has two identical string simulations each formed by a delay line and LPF. The outputs of these are summed at ...
2
votes
1
answer
396
views
GCC-PHAT for Multiple Sound Sources
Can GCC-PHAT be used to detect multiple time-delays (that is, having multiple acoustic sources simultaneously)? The documentation for the gccphat(sig,refsig) ...
1
vote
1
answer
327
views
Compensate delay of non-symmetric (non-linear phase) filter
Lets assume I want to apply a matched filter h which is non-symmetric to my signal x and the output is ...
-1
votes
1
answer
309
views
What factors affect the propagation delay at wireless communication?
Generally, the signal propagation delay is d/c.
d is a distance between a transmitting antenna and a receiving antenna.
c is light speed.
However in NS-3, there is Random Propagation Delay Model
...
5
votes
1
answer
620
views
Maximum cross-correlation coefficient value for time delay estimation
I am using cross-correlation for time delay estimation of two synchronized recordings ($x_1$ and $x_2$) of a fixed sound source from two different locations.
I understand that the delay is associated ...
1
vote
1
answer
47
views
Plotting phase delay from first principles giving different result from phasedelay() function. Why?
I have a length 10 Finite Impulse response as shown below, and I am trying to find the phase delay of this FIR.
$$h[n]=\begin{cases}0.1,& 0\le n \lt 10\\
0,&\textrm{otherwise}\end{cases}$$
I ...
0
votes
0
answers
75
views
Mathematical expression for a system
I have a system that delays the input with k samples and concatenates the new input with delayed one so that y = [x(n) x(n-k)] so if the input comes with n samples the output should be k+n samples. ...
1
vote
0
answers
364
views
Implementing real-time variable fractional delay line in Matlab
I am attempting to implement a fractional delay line in Matlab which operates in real time, uses an object-oriented approach, and whose length can be modulated each time a sample is processed. I have ...
0
votes
2
answers
669
views
Delay in Savitzky-Golay filtering
I am applying a Savitzky-Golay filter to a signal, using the scipy function.
I need to calculate the lag of the filtered signal, and how much is it behind the original signal.
Could someone shed ...
1
vote
0
answers
102
views
Time delay estimation of signals increasingly decorrelated
The problem may be summarized as follows: I have a stochastic signals and I want to measure an increasing delay, as depicted in the following picture. The picture represents the signal as it is being ...
2
votes
1
answer
1k
views
GCC-PHAT (Generalized cross correlation) always peak at delay=0 on real audio signal
I have studied the GCC-PHAT algorithm to estimate TDOA on audio signals at 2 mics.
Here is my MATLAB implementation:
...
1
vote
1
answer
730
views
What is the meaning of inverse signal bandwidth?
I have been studying the two ray model in communication systems.
The text I'm studying has two signals, $u(t)$, which is Line of Sight and $u(t-t')$, which is the reflected signal.
It quotes,
...
1
vote
1
answer
569
views
90 Degree Phase Shift / Rotation Algorithm for SDR
I'm working on a library to preform frequency demodulation from an SDR signal. I'm using https://github.com/sysrun/rtl-sdr/blob/master/src/rtl_fm.c as a crib for this. The algorithm starts by taking ...
3
votes
1
answer
117
views
Is it possible to design a band-pass filter with fewer taps than a series HPF + LPF?
I am digitally filtering a signal that is streaming live. The goal is to reduce the filter delay as much as possible while maintaining the quality of some measurements based on the filtered signal. ...
0
votes
1
answer
100
views
How to correct a QAM time delay
How can you correct the anticlockwise rotation that occurs in the received constellation of a QAM system?
My only idea is to compensate the delay with an advance but this is impossible since you ...
0
votes
1
answer
135
views
What is the z-domain transfer function of variable delay?
Is it possible to obtain the transfer function of a signal that has a variable delay?
For instance, I have a signal consisting of 10 samples:
0,1,1,1,1,0,0,0,0,1
If I would apply a unit delay to ...
1
vote
1
answer
461
views
FIR filter to delay signal [duplicate]
About filter design, mostly we want to control frequency amplitude response and the linearity of phase response. I wonder whether there are FIR filters specialized to delay signal?
For instance, let'...
0
votes
1
answer
219
views
Findin the source direction using cross-correlation function
I am new to DSP and I'm working on the following problem.
We have a sound source in the far field and a microphone array consisting of two microphones with distance d. We want to determine the source ...
0
votes
1
answer
293
views
difference equation block diagram delay or advance confusion
When does the unit delay, become unit advance essentially.
Goal is to deduce difference equation from block diagram.
Green text is notes about what the value should be in that node of the diagram.
It ...
2
votes
1
answer
879
views
Implementation of a Variable Fractional Delay with Lagrange Interpolation using Farrow Structure
I am writing a C++ simulation software working in time domain. I generate regularly sampled data, and need them to be delayed, in "real-time", by a variable fractional delay.
This is a pretty common ...
1
vote
2
answers
7k
views
What exactly is a 90 degree phase shift of a digital signal in FM demodulation appraoches?
I am working on an FSK demodulator (1200/2200Hz, 1200 baud) featuring a 90 degree phase shift operation. I don't exactly understand what 360 degrees mean for a digital signal.
My sampling frequency ...