Skip to main content

Questions tagged [delay]

The tag has no usage guidance.

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

Audio delay with feedback

I'm writing a simple "audio delay effect", with feedback (the closer FEEDBACK from 1, the more the repetitions ...
logijaz's user avatar
0 votes
1 answer
45 views

Time delay vs phase ramp, group delay and phase delay

I need to apply a phase ramp in the frequency domain to a signal in order to apply a delay to it in the time/digital domain. However, I am confused by the fact that if I convert the phase ramp into ...
Albert's user avatar
  • 35
2 votes
3 answers
141 views

Wideband phase vs time delay beamforming correction

I am studying a 1D beamforming for wide-band signals, so that applying only phase weights to each individual antenna would steer the beam for the central frequency. For other frequencies the steering ...
Albert's user avatar
  • 35
0 votes
0 answers
16 views

Comparison channel impulse in DD and TF domains

How can I plot a similar comparison plot in Matlab? My attempt I have tried to create a random function like/ Matlab: rand(M, N) and then take SFFT of it ...
Aid22's user avatar
  • 23
1 vote
1 answer
208 views

How to reduce clicking in an audio signal with seek jumps?

I'm working on a vst plugin where a delay is used, the seek position of the delay sometimes changes gradually sometimes abruptly, when sudden changes occur sometimes a clicking sound is produced. Some ...
TiagoLr's user avatar
  • 111
5 votes
1 answer
117 views

How does function c2d in MATLAB manage fractional delay?

the function c2d allows to convert a continuous laplace transfer function to a discrete z-transform transfer function. The base method is the Zero Order Holder. In example: ...
The Newbie Toad's user avatar
1 vote
2 answers
60 views

How to determine Transmission Rate for Task Offloading in edge computing?

I am new to communication systems and am working on a model for task offloading on edge computing. One key parameter I'm aiming to determine is the data transmission rate. While I am familiar with ...
user4594525's user avatar
2 votes
1 answer
90 views

Programming a delay in Matlab

Let $x(t)$ a signal of duration $T$, the sampling frequency is $f_s$. I know the signal $x(t+\tau)$ orresponds to a signal delayed by a delay $\tau$. In Matlab, the signal $x(t+\tau)$ is given by: $[...
user68914's user avatar
2 votes
2 answers
174 views

Fourier transform of a delayed LFM chirp

I know that for a given signal $s(t)$ and a given delay $ \tau $, by the shift theorem: $$ \mathcal{F}\{s(t-\tau)(f) \} = e^{-j 2 \pi f \tau} \mathcal{F}\{s(t)(f) \} \tag{1} $$ However, when I try to ...
user68882's user avatar
1 vote
1 answer
115 views

STFT frequency domain processing destroys window shape, makes synthesis glitchy

I have a signal processing chain which goes: Every 256 samples, take 512 samples of input buffer Apply a Hann window to the samples Copy the windowed samples into the real components of a complex ...
poetix's user avatar
  • 111
0 votes
2 answers
64 views

Correlating signals in real-time when the time-delay is larger than frame-time

What are some possible approaches to address the challenge of correlating two signals when the time delay ($T_d$) from the source to the microphone is greater than the microphone's frame time ($T_f$)? ...
Viraj Gajjar's user avatar
1 vote
0 answers
83 views

Finding delay between signals

This should be a simple problem, yet I can seem to figure out what am I doing wrong. I have a bunch of 1-D signals which I expect to look the same up to: shifting, maybe some scaling, and noise. I ...
Yair M's user avatar
  • 305
1 vote
1 answer
1k views

Understanding Matched Filter, delay

I am trying to build a filter for the detection of signals with the known form in noisy and low-amplitude data. I used a simple example in Python provided here: https://www.youtube.com/watch?v=...
twistfire's user avatar
  • 133
0 votes
1 answer
228 views

Replicating scipy.signal.lfilter with initial condition using IPP

I am trying to rewrite some Python signal processing code in C++ and am stuck trying to figure out how to replicate behavior of lfilter with initial condition. The documentation for lfilter says that ...
yunyun333's user avatar
2 votes
1 answer
31 views

Why this second part of the integral given by the gradient of the log-likelihood is zero

I am reading the book "Detection of Signals in Noise" by Robert N McDonough, A D Whalen. In chapter 10, they compute the gradient of the log-likelihood for the time of arrival. See attached ...
user144410's user avatar
1 vote
1 answer
721 views

How to estimate the delay in time domain when knowing the phase shift in frequency domain

I am strugling with how to compute the exact value of delay in time-doamin when knowing phase shift in frequency domain. I have a analog circuit, I sweeped about 30 single tones frequency ranging from ...
user190055's user avatar
3 votes
2 answers
1k views

How do we determine the required sampling rate of a closed loop control system?

Consider the controlled dynamical system $\dot{x}_t = f(x_t, u(t-\tau_{sd}))$, where $0<\tau_{sd}$ denotes the time delay caused by sampling. It is intuitively clear that the time delay caused by ...
kbakshi314's user avatar
1 vote
4 answers
329 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 ...
davideAlbertini's user avatar
-1 votes
1 answer
213 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+...
gg h's user avatar
  • 101
2 votes
0 answers
225 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/...
panthyon's user avatar
  • 1,133
0 votes
2 answers
731 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: ...
shashashamti2008's user avatar
1 vote
2 answers
426 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'...
Invariant's user avatar
  • 159
0 votes
0 answers
50 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: ...
Abitbol's user avatar
  • 111
2 votes
0 answers
225 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 ...
FooAnon's user avatar
  • 296
0 votes
0 answers
103 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 ...
Amit Sravan's user avatar
0 votes
1 answer
364 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 ...
Deepa's user avatar
  • 315
1 vote
2 answers
223 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 ...
Jess's user avatar
  • 145
0 votes
0 answers
77 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 + \...
user674907's user avatar
1 vote
3 answers
210 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^...
Hao Wu's user avatar
  • 31
2 votes
1 answer
643 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 ...
arun_kol's user avatar
6 votes
3 answers
1k 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] = \...
Mattia Surricchio's user avatar
0 votes
1 answer
734 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 ...
Hu Zexi's user avatar
1 vote
2 answers
60 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 ...
DSPinfinity's user avatar
0 votes
0 answers
198 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: <...
skrowten_hermit's user avatar
3 votes
1 answer
895 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....
Qiang's user avatar
  • 33
0 votes
0 answers
37 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.
murat's user avatar
  • 1
3 votes
1 answer
313 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 ...
Sampath 's user avatar
0 votes
1 answer
211 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 ...
mike's user avatar
  • 523
-1 votes
1 answer
107 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 ...
user avatar
2 votes
1 answer
404 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 (...
user49745's user avatar
0 votes
1 answer
188 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 ...
user48374's user avatar
8 votes
2 answers
4k 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 ...
mhirano's user avatar
  • 93
0 votes
1 answer
62 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 ...
Ben's user avatar
  • 3,777
1 vote
0 answers
30 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]=(...
elena's user avatar
  • 351
13 votes
6 answers
7k 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&...
Evil's user avatar
  • 273
0 votes
2 answers
450 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.
Soheil Paper's user avatar
0 votes
2 answers
232 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 ...
mike's user avatar
  • 523
2 votes
3 answers
1k 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) ...
user262213's user avatar
1 vote
1 answer
467 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 ...
Irreducible's user avatar
-1 votes
1 answer
531 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 ...
jack han's user avatar