Questions tagged [real-time]
real-time refers to processing done with a strict set of time constraints in a deterministic manner.
171
questions
0
votes
1
answer
42
views
Generating the Filter segment coefficients for uniformly partitioned convoluter from an arbitrary frequency domain signal
I'm implementing an Eq which uses a uniformly partitioned convoluter in the backend. I'm following wefers pg 106.. .
I'm using overlap save with 50% overlap. I have 8 filter parts with each size of (...
1
vote
1
answer
47
views
Detect one or more threshold crossings in a sharply rising signal
Depending on the amplitude, thresholds A, A and B, or A, B and C could be crossed, and I need to indicate (for test purposes with an LED) only the highest threshold crossed. The problem, at least for ...
0
votes
0
answers
39
views
What is the best way to sync I/O audio streams to mix them in real-time?
I want to mix loopback stream with audio from microphone in real-time and use the result of mixing for speech recognition.
The project is for Windows, so I use WASAPI and am willing to know what is ...
0
votes
0
answers
31
views
I want to generate a real time fft of vibration data from a triaxial MEMS accelerometer
I have been trying to generate a real-time FFT plot for my final year project on Condition Monitoring using a MEMS accelerometer (an MPU 6050) and an Arduino UNO. My goal is to generate a real-time ...
1
vote
1
answer
80
views
How do you filter a signal, split in batches, using an IIR filter?
I have a signal that is measured by an optical sensor that is connected to an ESP-32. I am trying to apply a band pass filter "in real time" on this microcontroller. The signal is comming in ...
0
votes
0
answers
22
views
Unsupervised Real-Time Pattern Counting in Time Signal Data Without Prior Knowledge
I'm facing a problem and it seems I can't find a working solution since a few years.
TLDR : Is there a well-known algorithm or NN-model that is able to autodetect and count patterns in a time signal ...
4
votes
2
answers
204
views
Why are my frequency bins oscillating?
I am working on a personal project that maps bass notes to colors in real-time. However, I'm encountering some issues with oscillations in my frequency bins.
I visualized my frequency bins to ...
0
votes
0
answers
24
views
real time streaming image encoding options
I'm interested in streaming video real time. There is an issue of deciding how to properly encoder the images and the format they should be.
Since the data will be streamed over UDP, it needs to be ...
1
vote
2
answers
35
views
What is the difference of calculating signal power that using these two methods: using moving average filter and using forgetting factor?
The conventional signal power calculation can be:
$$
P(n) = \frac{1}{N}\sum_{i=0}^{N-1}x^2(n-i)
$$
$x(n)$ is the signal. However, I have seen another method:
$$
P(n) = \lambda P(n-1) + (1-\lambda) x^2(...
0
votes
0
answers
44
views
Isn't the MFCC feature good for real time applications?
I am interested in the audio classification problem. You can think of the problem as ML, but my question is from a signal processing perspective. I am questioning the classification performance of ...
1
vote
0
answers
38
views
Loss of Resolution When Shifting Up With FFT / Phase Vocoder Pitch Shifter (Compared to Shifting Down)
I am working on a project writing a realtime FFT / phase vocoder based pitch shifting algorithm in C++. In development, I notice that shifting down has much better audible pitch tracking and ...
0
votes
0
answers
27
views
What is the name for amplitude variation over time with angle measurement called?
I am trying to create a method in my real-time algorithm to measure the variation in time based on a simple technique to avoid a huge overhead in the processing on the hardware.
The first method I am ...
0
votes
0
answers
117
views
Help with real-time TD-PSOLA - sounds very very bad
So I have a pretty robust and fast pitch tracker I've been working on based on this thesis. I want to use it for real-time pitch shifting. However, one of the simplest algorithms for formant-...
0
votes
0
answers
61
views
Some questions about realtime filter
the sample rate of signal is 1khz,which filter method can i take to realize a 3-5ms delay.
I would like to ask if there is a way to pass the signal through a low-pass filter and then adjust it through ...
1
vote
2
answers
559
views
Some questions about realtime filter in control system
Can I use filtfilt function in realtime filter. filtfilt first filters a piece of data forward and then filters it backward. I ...
1
vote
2
answers
481
views
Algorithms for real time multi-pitch guitar detection
I've been looking for info on this topic for a while and I came across several algorithms that may be suitable for this purpose.
Specifically I'm interested in getting a frequency representation like ...
0
votes
0
answers
146
views
Initial conditions of backward filter for forward-backward filtering on chunked real data in python
I have to apply a downsampling filter on a realtime data stream (signal) and I want to do it in python. The data is sampled at 16 kHz and loaded in a loop in chunks of 1 second. I have to downsample ...
0
votes
1
answer
258
views
Real-time convolution with Gaussian noise
I have a brain activity simulator that is capable of receiving various stimuli. Both generated signals and input stimulus are causal: a single sample is created every time step. I use a sinusoidal ...
0
votes
1
answer
147
views
How to detect the end of a period of a repeating pattern in some time series signal
I have an incoming stream of time-series data which looks like in the below figure :-
I want to detect the end of each cycle in real-time (marked with red arrows) using C language. What would be the ...
2
votes
2
answers
1k
views
Wigner-Ville Distribution (WVD) vs STFT for Spectral Analysis
What are the Pros and Cons of using Wigner-Ville Distribution for spectral analysis of a signal vs taking the STFT. When is it appropriate to use one over the other and is WVD used in real-time ...
2
votes
2
answers
241
views
Are there ways to reduce the smearing of zero-padding interpolated data?
Are there ways to reduce the smearing / spectral leakage of zero-padding interpolated data?
I learned that, given a small collection of samples, one can increase the frequency resolution of an FFT ...
0
votes
1
answer
131
views
On-the-fly computation of a variable cutoff frequency polyphase resampling filter
I'm creating a polyphonic audio sample player and I want to let the user play each voice faster or slower using resampling by a rational factor (classical interpolate by L / decimate by M scenario), ...
1
vote
1
answer
77
views
Realtime DSP algorithms by NI aquisition by PC host
Is it possible to implement realtime DSP algorithms on PC using a NI PC acquisition card like NI PCI-4461?
In A New FXLMS Algorithm with Off-line and On-line Secondary-Path Modeling Scheme for Active ...
0
votes
1
answer
182
views
Real time processing in matlab
I have to extract a particular frequency range from an audio signal. For that I am using an FIR filter of order 50 and it is written in MATLAB as below:
...
2
votes
1
answer
92
views
what are the advantages of higher-order Generalized Morse Wavelets?
What are the advantages of the higher-order Generalized Morse Wavelets in comparison with the first-order ones?
Are they also more computationally expensive?
0
votes
1
answer
541
views
Is online Continuous Wavelet Transform possible?
I have recently created a real-time STFT with 50% overlap.
I wanted to know if this window-based is possible for scalogram, especially continuous wavelet transform. I haven't found anyone ...
3
votes
1
answer
607
views
Does Fast Continuous Wavelet Transform (fCWT) have theory-supported novelty or just simply a computation optimization?
A recent publication, The fast Continuous Wavelet Transform (fCWT), enables real-time, wide-band, and high-quality, wavelet-based time–frequency analysis on non-stationary noisy signals.
I'm a ...
0
votes
0
answers
21
views
Is it possible to update wavelet packet from fixed-sized window of data without repeating the whole process?
Assume that a scalogram is generated from performing wavelet packet in a fixed size window of data. Then, is it possible to update the scalogram with the incoming and outgoing data points without ...
0
votes
0
answers
333
views
Accessing first few elements of a circular buffer in real time Python
I've made a circular buffer of size 10,000 in which I'm getting real time input from the mic. Now I want to access first 1920 samples every time and do the post processing but I'm only able to access ...
0
votes
1
answer
119
views
What ADC precision and sampling rate for record sound?
What ADC precision and sampling rate would you choose and why if You wish to record sound that has frequency components are 200 to 2000 Hz. And the signal-to-noise ratio of your microphone is 50 dB?
0
votes
1
answer
77
views
Questionable results of on-line butterworth bandpass filtering using scipy.signal.lfilter
I have a data_stream that I'm attempting to filter using two on-line butterworth bandpass filters to extract two frequency bands of interest. The original ...
-1
votes
1
answer
40
views
Is there a discrete signal which isn't discrete in time?
Is there a discrete signal which isn't discrete in time (rather, discrete in at least one other thing which isn't time)?
If so please share a typical example.
4
votes
1
answer
764
views
Detecting background noise from audio time-freq domain analysis
I have a requirement to detect/reduce sidetalk/background noise in real-time audio. I am stuck in how can I detect this from audio time-frequency domain analysis. I am already getting the time-freq ...
2
votes
1
answer
786
views
How to implement Auto Gain Control (AGC) before and after mixng realtime audio for a conference?
I mix audio(16bit,16khz, little-endian, mono,frame-duration:60ms) packets after dividing the short values by participant count so it never gets clipped. but before that, I need to apply a certain gain ...
0
votes
1
answer
871
views
GNU RadioTagged Stream: How to clip the stream as "packet length" tag long
I am currently trying to develop a GNU Radio block which takes a tagged stream as an input.
The tags keeps the length of the packets. But the distance between the tags and the packet length are not ...
0
votes
1
answer
875
views
Calculating numerator and denominator polynomials of a transfer function
I was reading this passage in a Doctoral Thesis about Adaptive cancellation.
Using MATLAB, if i were to write a simple code, it would look something like this.
...
1
vote
0
answers
73
views
Why is voice clipping happening after Dynamic Range Compressor (MATLAB) when applied in real time on chunks of data?
I have been working on real-time audio signals on smartphones (iOS and Android) and my goal is to make voice amplitude stable in a certain range even if a person is talking closer to the mic of the ...
2
votes
2
answers
587
views
Non-Uniformly Partitioned Convolution Implementation
I've succeded in implementing the uniformly partitioned convolution algorithm and now I'm looking to implement the non-uniformly partitioned version. I've had no luck with running parallel threads on ...
3
votes
2
answers
565
views
Real Time Partitioned Convolution Not Working
EDIT: Scroll down for actual working code.
I'm working on implementing a real-time convolvution reverb JACK client on C and I've been trying to follow a number of sources (including Gardner and Wefers ...
0
votes
1
answer
108
views
xcorr MATLAB is not giving accurate result in case of noisy signals
I've a signal $x(n)$. I've generated its delayed copy named $x1(n)$ and applied xcorr function of MATLAB to find out the delay. It gives accurate delay.
Now I ...
0
votes
1
answer
356
views
How to remove or smooth the comb filter effect in real time audio signal mixing?
I have been working on a project where I have to mix multiple audio signals of the same source coming from different slave smartphones on one master smartphone in a distributed way. Now I have aligned ...
0
votes
1
answer
93
views
Timeshifting in streaming based audio processing
I am currently running into a larger problem whilst programming an audio processing software.
My target is time-shifting signals in frequency domain, then transform them back to time domain and ...
1
vote
1
answer
136
views
FFT requirements of real time signal from sensors
I have an electrical current sensor which generates measurements every second. I want to calculate the FFT of this signal. Since my real-time values are received every second, I think that the fastest ...
1
vote
0
answers
245
views
understanding FIR SRRC filter with memory implementation in C
I translated the Matlab QPSK receiver/transmitter into real-time C code that I have running on a PlutoSDR platform. QPSK receiver/transmitter
I wrote the square root raised cosine filter for the TX ...
0
votes
0
answers
270
views
Low-pass filter + HRTF cascade audio artifacts
I am implementing a 3D audio application. I have correctly implemented a set of HRTF to perform binaural simulation and interpolation.
To achieve this, I converted the HRTF into minimum-phase ones, ...
0
votes
2
answers
87
views
Electric Bass with RJ45 Digital Output
I'm working on a project bass guitar with individual outputs per string using Nu pickups from Cycfi Research: https://www.cycfi.com/
The common sense approach is to simply take their circular ...
0
votes
0
answers
49
views
Phase-vocoder normalization for different speed factors
Question in short: How can I normalize audio from a block-based phase-vocoder system without knowing the global minimum and maximum during runtime?
Longer version:
Hey! I am very new to DSP and need ...
2
votes
1
answer
2k
views
Dynamic filter in real time audio
Following my previous question: Removing cracking in real time audio, I'm trying to implement a dynamic filter in real time audio.
What I want to do is to create a filter where I can change the cut-...
0
votes
2
answers
2k
views
Removing cracking in real time audio filtering
I am getting back to DSP applications after a while and I've written a real time audio player in Python.
Basically I'm reading chunks of data from a .wav file (I am doing this to simulate a real time ...
1
vote
1
answer
135
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 ...