Skip to main content

Questions tagged [c++]

The tag has no usage guidance.

0 votes
0 answers
29 views

Issue with cudafft library and fftshift on odd image dimensions

I'm facing with a code I'm implementing for an exam using the GPU. Specifically, the code I'm writing is in C++, and I'm using the CUFFT library to perform the Fast Fourier Transform (FFT). The ...
overflow''s user avatar
1 vote
0 answers
17 views

Help figuring out how to extract audio content correctly from a file that produces spiky waveform with audible hiss/noise

I'm trying to extract PCM wave sequences from different files (files that are NOT audio files but contain audio data, and other data all in one file), and while this code does extract the expected ...
GDN9's user avatar
  • 11
1 vote
0 answers
255 views

How to implement STFT for processing audio [closed]

I should start this off by saying I’m a hobbyist and by no means a student. I’ve been reading “The Audio Programming Book”, and attempting to implement STFT on the stm32 based Daisy platform. In order ...
Daniel Lawler's user avatar
0 votes
0 answers
171 views

Type 1 Chebyshev 3rd Order Lowpass Filter

I'm trying to implement a 3rd order Type 1 Chebyshev digital lowpass filter in C++. I've been having a lot of problems and I'm not sure why. I can plot the transfer function in MATLAB and see that it ...
a name's user avatar
  • 1
1 vote
0 answers
139 views

Several Low pass filters generate offset when applied on an embedded system on C++

I need to implement a real time butterworth low pass filter on some data, I have an already implemented and tested butterworth function, but when filtering data from one specific variable I get an ...
Isaac's user avatar
  • 11
1 vote
0 answers
66 views

Why filter-bank energies coefficients are same through the frame?

I am trying to implement MFCC's from scratch in C++. In each frame, I am processing real-valued data to construct MFCC vectors. Although I think that my implementation is correct, the testing result ...
Yalçın Cenik's user avatar
1 vote
3 answers
1k views

True Peak detection II

As a followup to my True Peak detection question, I'm trying to implement a detection method by following this documentation using the Catmull-Rom interpolation method. What I've done so far can be ...
Juha P's user avatar
  • 927
0 votes
0 answers
130 views

Biphase/Manchester floating-point decoder based on matched filter

I need to perform soft Viterbi decoding on a Manchester-encoded BPSK/QPSK signals. To that end, I need a floating point Manchester decoder. Most of the implementations I have seen operate on hard bits....
Moses Browne Mwakyanjala's user avatar
2 votes
0 answers
962 views

How to implement an easy to use IIR-Filter in C/C++

Edited: I know there are some IIR filter implementation guides on the World Wide Web, however I can't find a simple guide on how to link simple PCM values to a digital filter. Most approaches are over-...
Hannes Broschk's user avatar
3 votes
1 answer
2k views

Signal processing in Python vs C++ (band-pass filter)

I have implemented Python signal processing code using a butter bandpass filter and order 3. It is working pretty well. I am required to implement the same signal ...
user2129623's user avatar
2 votes
1 answer
302 views

Signal to noise ratio for time series audio data

I am writing some software to benchmark an audio noise filtering method using SNR as an evaluation metric. One software component generates noisey audio by taking a clean audio file and a noise source ...
Ross Gardiner's user avatar
0 votes
2 answers
519 views

BPF Filtering with DSP IIR Realtime C++ filter library

I am working with complex samples, I have a main signal at 630KHz, my Fs is 1.26MHz and BW is 12.6KHz. If I plot a frequency-magntitude spectrum it looks like this: As you can see along with my main ...
yarin Cohen's user avatar
2 votes
0 answers
236 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
1 vote
0 answers
482 views

implement bandpass filter on complex valued signal? (C++)

I want to filter out complex valued samples - Bandpass filter. I have 100 complex samples and I wish to filter out a range of frequencies from it, as you can see in the result of the FFT, there are 3 ...
yarin Cohen's user avatar
11 votes
6 answers
6k views

How can I work on DSP using C/C++?

I have been working on MATLAB for signal processing for a while. Many companies from DSP for a communication background has asked me whether I know C/C++ very well. I am confused as to why the ...
Sukshith Shetty's user avatar

15 30 50 per page
1
2 3 4 5
9