C is a high level (i.e. not assembler) programming language often used to program DSPs and other embedded microprocessors as well as being used for systems programming. Features of the language make it especially suitable for programming hardware and writing device drivers.
1
vote
1answer
72 views
What is the most efficient type of software bandpass filter?
I'm writing a C++ application to extract four modulated carrier signals at four separate frequencies, from a single input signal. I've designed four FIR filters at t-filter.appspot.com but they run ...
1
vote
3answers
175 views
How does a low-pass filter programmatically work?
I have been working on a simple low pass filter for < 100 Hz metering in my application. But so far, I am struggling with the theory behind it all. It's cool that I got it working, but I'd really ...
0
votes
0answers
43 views
How to implement Hilbert-Huang transform in finding image splicing?
I have some programming experiences but am really new to these kind of algorithms. I can find a few source code about implementing HHT, and most of them are written with matlab. What I am trying to ...
0
votes
1answer
77 views
DSP library compatible with QT? [closed]
I have checked this and this Question in this site very much similar to my question. But I want to know are they Qt compatible? I want to start learn developing DSP application in Qt framework so I ...
0
votes
2answers
102 views
FFT Data Array Indexing [closed]
I've been Googling "FIR filters" and "FFT convolution" etc. and I ran across something interesting.
Array Index vs. Pointers:
http://www.bores.com/courses/intro/program/7_array.htm
...
0
votes
1answer
69 views
Dynamic time warping in percentage
I'd like to compare 2 speech similarity and show it in terms of 0-100%.
Here's my approach:
1: Convert 2 audio waveform into audio spectrum by Fast Fourier Transform (FFT)
2: Use Dynamic Time Warping ...
0
votes
0answers
61 views
Perspective Projection of a 3D head to form a face image
Input: 53490 3D points and for each point (xyz) and color (rgb) of a head
Output: 2D face image as viewed from a particular position / direction
Platform: Matlab C/C++
After study, I found the ...
8
votes
0answers
126 views
Real-valued ringing when zero-padding odd-length FFT
So I'm trying to write a frequency-domain interpolator that zero-pads the frequency response of a signal and inverse transforms. There's two cases I have to deal with:
Even-length response - have ...
8
votes
2answers
505 views
Add odd/even harmonics to signal?
How do I add odd or even harmonics to a floating point signal?
Do I have to use tanh or sin?
What I'm trying to do is achieve some very simple distortion effects, but I'm having a hard time finding ...
1
vote
1answer
731 views
Using FFT to convert to frequency domain, then IFFT back to time domain C++
I've posted the same question on stackoverflow.com with little success, so I thought I would try here!
I'm using C++/C to perform forwards and reverse FFT on some data which is supposed to be the ...
1
vote
2answers
332 views
Blob detection in C
I am trying to do my own blob detection. My program will receive a real time video, and try to detect a white paper sheet, even if something is written on the paper.
I need to detect the paper and ...
3
votes
2answers
339 views
Output of KISS FFT interpretation
I'm receiving PCM data trough socket connection in packets containing 320 samples. Sample rate of sound is 8000 samples per second. I am doing with it something like this:
...
4
votes
2answers
1k views
Design of the low pass filter when decimating
I am filtering an audio signal into various sub-bands in C and would like to decimate the signal by 2 in the lower frequency bands to reduce processing overhead. I get that this involves low-pass ...