Questions tagged [algorithms]
Algorithm is a method expressed in a finite list of steps of well-defined instructions to process a signal.
450 questions
2 votes
1 answer
46 views
Flow errors on a binary periodic signal
Imagine you receive a binary periodic signal of unknown pattern (and unknown length) but your observations are distorted by flow errors: random duplicates (repeat a value before the next value) and ...
0 votes
1 answer
75 views
Where is this code for BCH decoder comes from?
recently I found a matlab code for BCH decode, the code seems to be: I've found several iBM algorithm such as riBM, RiBM, SiBM..., but none of them looks like this code, for example, for RiBM ...
0 votes
0 answers
37 views
How to solve KES equation of BCH in SiBM algorithm?
I have a BCH decoder which solve KES equation using RiBM algorithm, the RiBM Code in matlab is follows: ...
0 votes
0 answers
50 views
Analyzing a frequency shifting signal
I'm in no way an expert on DSP, though I've dabbled with several algorithms. And used GNUradio some. Here's the issue: In the Ham (radio amateur) 144 MHz band, while trying to receive satellite ...
1 vote
0 answers
39 views
implementing the VBAP algorithm
I've already made 2 posts that I've deleted about this because I've found the solution. So I'm trying to implement Ville Pulkki's VBAP algorithm in typescript with math.js. here is how my code looks ...
0 votes
0 answers
88 views
Algorithm for comparing tones between two audio files
I have a project in which I need to compare two audio files in terms of intonation. One of them would be the ideal audio of a short melody of approximately 9 seconds, which would be considered in tune ...
0 votes
0 answers
51 views
Why is CORDIC an approach that can work with every sample and thus be more optimized for lower SNR condition
I want to know Why CORDIC is an approach that can work with every sample and thus be more optimized for lower SNR condition. frequency divider
0 votes
2 answers
209 views
How to determine stripe width of a barcode
A barcode consists of alternating back and white stripes. Thin stripes are one "unit" wide. We'll assume fat stripes are 2 "units" wide. But how big is a "unit"? I can't ...
0 votes
2 answers
310 views
Getting the magnitude and phase of a single specific frequency from an audio signal
Assuming I only care to calculate the magnitude and phase of ONE single frequency from a signal, how can I get this information without calculating anything else? For example I want to come up with an ...
0 votes
1 answer
82 views
Constant Q transform where you keep the window size constant (so Q is no longer constant)?
I've been working on implementing a constant Q transform to try and detect musical notes within an audio signal and I came across an issue. When trying to detect low frequencies the constant Q ...
0 votes
1 answer
247 views
algorithm for second order butterworth filter
I want to implement an algorithm for a second order butterworth filter on the form $ H(s) = \dfrac{Y(s)}{U(s)}= \dfrac{1}{\left(\frac{s}{w_0}\right)^2+2\zeta\frac{s}{w_0}+1} $ I want to get it on the ...
0 votes
1 answer
165 views
How can I use a constant Q transform to detect low frequencies without making the buffer size too large?
I am trying to write code to detect musical notes within a signal. I have been reading up on different methods for extracting frequency information out of a signal to determine which notes were played ...
0 votes
1 answer
348 views
Can the Constant Q transform be implemented more efficiently using an FFT?
I am trying to implement a Constant Q transform in code and was wondering if there was an algorithm that took advantage of the FFT to speed up the calculation so it can be used efficiently in realtime ...
1 vote
0 answers
167 views
--Which dither to use for narrowband speech?
The tl;dr What dither algorithm should I use when converting 24/48 mono speech to 8/8? -- I'm truncating and downsampling a 24/48 mono audio source containing only speech to 8/8. I won't be doing any ...
5 votes
0 answers
152 views
Efficient computation of 2^x (antilog2) for fixed-point
I've created a log2 AGC for an FPGA project, similar to Dan Boschen's solution in this question. I implemented a hardware version of log2 based on Dan's linked page in the previous question - ...