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
21
votes
9 answers

Java for Audio Processing is it Practical?

Is Java a suitable alternative to C / C++ for realtime audio processing? I am considering an app with ~100 (at max) tracks of audio with delay lines (30s @ 48khz), filtering (512 point FIR?), and other DSP type operations occurring on each track…
JeffV
  • 52,985
  • 32
  • 103
  • 124
21
votes
3 answers

Convolution Vs Correlation

Can anyone explain me the similarities and differences, of the Correlation and Convolution ? Please explain the intuition behind that, not the mathematical equation(i.e, flipping the kernel/impulse).. Application examples in the image processing…
20
votes
4 answers

What is the difference between filter and conv in Matlab?

I am trying to calculate the output of a LTI system. I came across two different Matlab functions that are supposed to be appropriate for the job: filter and conv. What is the difference between the two of them?
nikos
  • 2,893
  • 11
  • 30
  • 39
20
votes
4 answers

MATLAB 'spectrogram' params

I am a beginner in MATLAB and I should perform a spectral analysis of an EEG signal drawing the graphs of power spectral density and spectrogram. My signal is 10 seconds long and a sampling frequency of 160 Hz, a total of 1600 samples and have some…
rflmota
  • 349
  • 2
  • 5
  • 7
20
votes
4 answers

Demosaicing algorithm that contains downsampling

Introduction: What I am working on. Hello everyone! I am working on a Demosaicing algorithm which I use to transform images that have Bayer pattern into images that represent red, green and blue channels. I wish that the algorithm would have the…
20
votes
4 answers

DSP - Filtering in the frequency domain via FFT

I've been playing around a little with the Exocortex implementation of the FFT, but I'm having some problems. Whenever I modify the amplitudes of the frequency bins before calling the iFFT the resulting signal contains some clicks and pops,…
Trap
  • 12,050
  • 15
  • 55
  • 67
20
votes
8 answers

Calculating vs. lookup tables for sine value performance?

Let's say you had to calculate the sine (cosine or tangent - whatever) where the domain is between 0.01 and 360.01. (using C#) What would be more performant? Using Math.Sin Using a lookup array with precalculated values I would anticpate that…
mson
  • 7,762
  • 6
  • 40
  • 70
19
votes
1 answer

Getting Fourier Transform from Phase and Magnitude - Matlab

The magnitude and phase of a fourier transform F are defined as: Mag = sqrt(Real(F)^2 + Imaginary(F)^2) and Phase = arctan(Imaginary(F)/Real(F)) Ive tried to write matlab code that takes in a grayscale image matrix, performs fft2() on the matrix…
Dave Anderson
  • 725
  • 3
  • 9
  • 17
19
votes
10 answers

Detecting the fundamental frequency

There's this tech-festival in IIT-Bombay, India, where they're having an event called "Artbots" where we're supposed to design artbots with artistic abilities. I had an idea about a musical robot which takes a song as input, detects the notes in the…
ameya warty
19
votes
4 answers

Algorithm to remove vocal from sound track

I want to remove vocals from mp3 sound tracks. I searched google, and tried few softwares but none of them are convincing. I am planning to read the mp3 file, get a waveform and remove the waveform that is above a specified limit. do you have any…
Boolean
  • 14,266
  • 30
  • 88
  • 129
19
votes
2 answers

DCF77 decoder vs. noisy signal

I have almost completed my open source DCF77 decoder project. It all started out when I noticed that the standard (Arduino) DCF77 libraries perform very poorly on noisy signals. Especially I was never able to get the time out of the decoders when…
Udo Klein
  • 6,784
  • 1
  • 36
  • 61
19
votes
4 answers

How to convert a pitch track from a melody extraction algorithm to a humming like audio signal

As part of a fun-at-home-research-project, I am trying to find a way to reduce/convert a song to a humming like audio signal (the underlying melody that we humans perceive when we listen to a song). Before I proceed any further in describing my…
cdeepakroy
  • 2,203
  • 3
  • 19
  • 23
19
votes
5 answers

How can I detect these audio abnormalities?

iOS has an issue recording through some USB audio devices. It cannot be reliably reproduced (happens every 1 in ~2000-3000 records in batches and silently disappears), and we currently manually check our audio for any recording issues. It results in…
Alastair Stuart
  • 4,165
  • 3
  • 36
  • 33
18
votes
7 answers

API to break voice into phonemes / synthesize new speech given speech samples?

You know those movies where the tech geeks record someone's voice, and their software breaks it into phonemes? Which they can then use to type in any phrase, and make it seem as if the target is saying it? Does that software exist in an API…
AShelly
  • 34,686
  • 15
  • 91
  • 152
18
votes
7 answers

Resources for audio DSP beginners?

I am interested in audio DSP programming, but not in any specific language. I seem to recall a website that had recipes for common DSP application (compressors, limiters, et cetera), but I can't seem to find it in my bookmarks or via Google.... does…
Tom Corelis
  • 4,990
  • 11
  • 35
  • 48