Questions tagged [signal-processing]

AKA digital signal processing (DSP). A signal is an information-carrying changing attribute of an entity, but in the digital sense, 'signal' refers to either received or transmitted streams/blocks of data, commonly representing real-world quantities such as audio levels, luminosity, pressure etc over time or distance. 'Processing' is the act of altering, analyzing or characterizing the data to retrieve/modify information inherent in the signal in question.

A signal is an information-carrying changing attribute of an entity, but in the digital sense, 'signal' refers to either received or transmitted streams/blocks of data, commonly representing real-world quantities such as audio levels, luminosity, pressure etc over time or distance.

These real-world quantities usually comes as analogue signals that are being sampled and quantized into a digital format, i.e. a sequence or higher-dimensional array of discrete numbers.

'Processing' is the act of altering, analyzing or characterizing the data to retrieve/modify information inherent in the signal in question.

NOTE: questions not related to the programming of signal processing implementations but the signal processing theory behind are off-topic for Stack Overflow and should be posted to the appropriate sister site, Signal Processing SE.

Common topics include:

  • digital filtering;
  • audio processing;
  • image processing;
  • sampling;
  • data compression;
  • spectral analysis;

Analysis tools commonly in practice are the Discrete Fourier Transform (DFT), especially its fast implementations (FFT); and wavelet transforms.

Common softwares used in the field include ; ; , especially with /; ///; ; and various languages.

5814 questions
2
votes
2 answers

Detect frequency of audio input - Java?

I've been researching this off-and-on for a few months. I'm looking for a library or working example code to detect the frequency in sound card audio input, or detect presence of a given set of frequencies. I'm leaning towards Java, but the real…
Jason Antman
  • 2,620
  • 2
  • 24
  • 26
2
votes
1 answer

Unexpected Fourier Transform result in Python Numpy

I am having a problem plotting the fourier transform of a data series (Y = intensity, X = wavelength). The goal is to remove the sinusoidal oscillation but applying a notch filter to the fourier transform of the data, followed by another fourier…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
2
votes
0 answers

Applying FFT giving all maxPeaks at 1

I am trying to accomplish applying an FFT algorithm to set of filtered data. The filter I was asked to implement was a second order high pass IIR filter. I get the array of filtered data and then I pass to my FFT function. Everytime I do, I am just…
dexter87
  • 85
  • 1
  • 8
2
votes
1 answer

matlab IIR filter gives different output when identical filter/code is implemented in C/C# etc

Came accross a real head scratcher this week. I am implementing an IIR filter in C# so I copied directly from the matlab source to filter their time domain filter function (direct form II transpose): // direct form ii transposed for…
dmedine
  • 1,430
  • 8
  • 25
2
votes
2 answers

power spectral density from fft result c#

I have a Complex[] (from CsCore) which is the result of my FFT. Complex has a float real and a float imaginary. From this I calculated the following Frequency: (double)index * sampleRate / FftSize; Amplitude / Magnitude: Math.Sqrt(Math.Pow(real,…
Gert Kommer
  • 1,163
  • 2
  • 22
  • 49
2
votes
1 answer

Matlab signal implementation

I am trying to implement the following system in MATLAB. I am reading an audio signal and want to perform the operation below. so far I have done the following: %read the audio file [y,Fs] = audioread('input_original.wav'); syms k x yx = symsum(k,…
Arnold Asllani
  • 155
  • 1
  • 12
2
votes
0 answers

Cross Correlation with signals of different lengths in Java

I am trying to implement counting cross correlation in java based on its properties (the fifth one with FFT transform). It should work properly with signals of different length. I am using simple FFT library from Princeton University (FFT.java and…
2
votes
1 answer

Liftering cutoff

Is there a rule of thumb in deciding the cut-off value when performing the low time liftering process in Cepstral analysis? Or is it just trial and error analysis? I am trying to calculate the spectral envelope of the frequency response of data…
Kanmani
  • 479
  • 7
  • 21
2
votes
1 answer

How to determine from the Power Spectral Density if my data is 1/f noise?

Say you have the following series of values: import numpy as np data1=np.array([1, 0.28571429, 0.20408163, 0.16326531, 0.14285714, 0.10204082, 0.08163265, 0.06122449, 0.04081633, 0.02040816]) You now want to plot the Spectral…
FaCoffee
  • 7,609
  • 28
  • 99
  • 174
2
votes
2 answers

Detecting a specific frequency using Goertzel algorithm

I am just a final year college student with no experience in Digital Signal Processing and I want to make an android application that records audio and detects a specific target frequency for a college assignment. I am doing so with the help of…
2
votes
3 answers

How can I do real-time pitch detection in .Net?

I want to make a program that detects the note that is being played in front of the microphone. I am testing the FFT function of Naudio, but with the tests that I did in audacity it seems that FFT does not detect the pitch correctly. I played an C5,…
Aaron de Windt
  • 16,794
  • 13
  • 47
  • 62
2
votes
1 answer

PPG signal diastolic peak detection using matlab

I'm working on PPG signals. and I want to detect some points for feature extraction. but I can't detect the point illustrated in the following figure on my own dataset: I have tried to use fft as the following code: clear clc close all %% Data…
2
votes
1 answer

using Principal Component Analysis to decorrelate noises

I have to create 13 white Gaussian noises which are completely decorrelated to each others. I've been told that PCA can achieve it so I searched some information and tools which I can use in python. I use PCA module from sklearn to perform PCA.The…
2
votes
0 answers

How to use linear predictive coding to compress voice diphone samples?

I'm working on an experimental diphone speech synthesizer for my native language which lacks good speech synthesizer for blind people. The problem is that recorded diphone library can get very huge (hundreds of megabytes, as seen in the best speech…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
2
votes
1 answer

Weird Audio Blips in Recorded USB Audio Signal

Might be the wrong place to ask this but I kinda need help figuring out what the real issue is... Basically, I'm programming a microcontroller to do USB audio recording (using USB Audio Class 2.0 / high speed USB). Seems like I'm getting pretty…
yun
  • 1,243
  • 11
  • 30