5,910 questions
0
votes
0
answers
32
views
Release section of ADSR envelope not working
I'm trying to make a digital audio synthesizer from scratch in C++ using a combination of resources. I'm using functions from raylib to play a raw audio stream. Here's the code:
#include <iostream&...
0
votes
1
answer
24
views
How to decode the bidirectional DShot eRPM telemetry waveform from an ESC?
I’m working on decoding the bidirectional DShot (bidir DShot) telemetry signal from an ESC.
I’ve read the article DSHOT - the missing Handbook, which explains that the ESC sends back a 21-bit ...
-2
votes
0
answers
45
views
How can I solve the error "Required dynamic library jscserdes could not be located" in DSP based PWM generation? [closed]
I am using LAUCHXL-F280049C DSP board for PWM generation. Every time I am trying to run an example file named "cla_ex4_pwm_control", it shows an error like below. Could anyone tell me the ...
2
votes
1
answer
126
views
FFT-based quasi-steady detection issue
I am trying to detect the beginning of a quasi-steady regime in time series data representing drag (Fx) and lift (Fy) forces after an initial transient.
Initially, I used a slope-based method, but it ...
-4
votes
0
answers
60
views
What is the technology behind this optical code used in iOS's private VisualPairing framework And how can I create something similar? [closed]
I’m experimenting with temporal and spatial color modulation similar to Apple’s VisualPairing framework. My goal is to generate an optical code where information is embedded in subtle chroma (U/V) ...
1
vote
0
answers
64
views
How to implement range doppler map on Infineon CY8KIT-062S2-AI
Recently, I have been trying to take the raw output from the Infineon BGT60TR13C mmWave radar on the CY8KIT-062S2-AI board and process it into a Range Doppler Map using the onboard CPU.
One issue that ...
0
votes
1
answer
76
views
Compute tempo given prediction of beats (not raw audio) [closed]
I'm working with BeatNet, which I’ve successfully exported to ONNX for real-time inference. This gives me accurate predictions of beats and downbeats from an audio stream.
BeatNet includes a tempo ...
4
votes
0
answers
113
views
Why does my real-time FFT of a logarithmic sweep keep sinking — and why does this weird normalization fix it? [closed]
I’m building an open-source audio spectrum analyzer for loudspeaker manufacturing. The “killer feature” is using a logarithmic sweep as the excitation signal, and analyzing the response as the sweep ...
12
votes
2
answers
2k
views
What's wrong with this Python assignment on signal processing - mostly Fourier series and transform
In this assignment I created the basic rect signal a[n] such that over the domain [-1000, 1000] it's 1 only at |n|<100, meaning it's an array (complex one with zero in the imaginary part) that ...
1
vote
2
answers
100
views
Issues with boundary layers in step propagation
I am trying to create a function which receives the transversal profile of a beam and outputs the transversal profile propagated by some distance. To exemplify the task, here is the profile of a ...
1
vote
2
answers
112
views
finding zeroes in complex polynomial taking forever in sympy, pathological case?
I'm new to sympy and python, I should have used R but wanted to try some AI generated code. This seems to work ok for other test polynomials but this eventually generates some symbolic results but ...
9
votes
1
answer
279
views
Generating blue noise with values sampled from a log normal distribution
Aim
I am trying to generate random signals with the following two properties:
The values should be approximately log-normally distributed (any long-tailed distribution bounded form below with non-...
2
votes
1
answer
107
views
Unable to understand product of Sinusoid signal with Hann window function in MATLAB R2024b
I'm writing a script for a certain signal processing application in MATLAB and have to multiply with the Hann window. Here's my code snippet:
Fpoints = 1e9;
d = 1e-7;
t = 0:1/Fpoints:d;
w1 = hann(...
0
votes
0
answers
75
views
Costas Loop Block in GnuRadio 3.8 Failing to Lock Phase Correctly on a Perfect Signal
I'm testing the Costas Loop block in GnuRadio (version 3.8.x) using a simple sine wave signal. The Costas loop is expected to lock the phase to a known value (ideally 0 for a perfect signal), but the ...
0
votes
0
answers
47
views
Exponential swept sine signals and amplitude scaling
I calculated the transfer function of a system in Frequency Domain by division of Y and X. Since I only deal with exponential sweep sines (ESS) as excitation, I want to reproduce the transfer function ...