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
14
votes
2 answers

extract human vocals from song

my question is about how to proceed in extracting human voice in music using the language python i have gone through this code but it extracts background music from pydub import AudioSegment from pydub.playback import play # read in audio file and…
ashish
  • 141
  • 1
  • 1
  • 4
14
votes
5 answers

How do I convert a floating point C code to fixed point?

I have a C code which uses doubles. I want to be able to run the code on a DSP (TMS320). But the DSP doesn't support doubles, only fixed-point numbers. What is the best way to convert the code into fixed-point? Is there a good C library for…
snakile
  • 52,936
  • 62
  • 169
  • 241
14
votes
1 answer

Swift FFT - Complex split issue

I am trying to perform FFT on an audio file to find frequency using the Accelerate framework. I have adapted code (probably wrong) from this question: Spectrogram from AVAudioPCMBuffer using Accelerate framework in Swift Although, the magnitudes…
user98874
  • 189
  • 1
  • 10
14
votes
6 answers

Sound sample recognition library/code

I don't want sound-to-text software. What I need is the following: I'll record multiple (say 50+) audio streams (recordings of radio stations) from that recordings, I'll mark interesting audio clips - their length ranges from 2 to 60 seconds -…
Daniel Mošmondor
  • 19,718
  • 12
  • 58
  • 99
14
votes
1 answer

Remove noise from wav file, MATLAB

I've only used MATLAB as a calculator, so I'm not as well versed in the program. I hope a kind person may be able to guide me on the way since Google currently is not my friend. I have a wav file in the link below, where there is a human voice and…
user3338501
  • 161
  • 1
  • 1
  • 6
14
votes
9 answers

Music Recognition and Signal Processing

I want to build something similar to Tunatic or Midomi (try them out if you're not sure what they do) and I'm wondering what algorithms I'd have to use; The idea I have about the workings of such applications is something like this: have a big…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
14
votes
2 answers

fft bandpass filter in python

What I try is to filter my data with fft. I have a noisy signal recorded with 500Hz as a 1d- array. My high-frequency should cut off with 20Hz and my low-frequency with 10Hz. What I have tried is: fft=scipy.fft(signal) bp=fft[:] for i in…
men in black
  • 193
  • 1
  • 1
  • 9
14
votes
6 answers

Integrating gyro and accelerometer readings

Possible Duplicate: Combine Gyroscope and Accelerometer Data I have read a number of papers on Kalman filters, but there seem to be few good publically accessible worked examples of getting from mathematical paper to actual working code. I have a…
moonshadow
  • 86,889
  • 7
  • 82
  • 122
14
votes
2 answers

Detecting where vocals start in a song?

what would be the best way to detect where the vocals in a song start? I just need the start time for vocals. Extreme precision is not necessary. Speed is more important. Any clues to papers or algorithms (if such exist) are greatly appreciated..…
Stpn
  • 6,202
  • 7
  • 47
  • 94
14
votes
1 answer

Using IOS Accelerate Framework for 2D Signal Processing on Non-Power-of-Two images?

//EDIT... I'm editing my question slightly to address the issue of working specifically with non-power-of-two images. I've got a basic structure that works with square grayscale images with sizes like 256x256 or 1024x1024, but can't see how to…
Angus Forbes
  • 982
  • 1
  • 9
  • 21
13
votes
3 answers

Generate colors of noise in Python

I would like to use Python to generate different colors of noise, just like Wikipedia mentions : https://en.wikipedia.org/wiki/Colors_of_noise. For example, White, Pink, Brownian, Blue and Violet noise. And would like to have similar spectrums just…
JeffreyLai
  • 153
  • 1
  • 7
13
votes
3 answers

Fast Fourier Transform

I need to multiply two polynomials each having small integral coefficients. I need a fast FFT routine in C/C++ which can convolve them. I have seen several libraries but they seem to be too large spread over multiple files. What is important is I…
Nikhil Garg
  • 3,944
  • 9
  • 30
  • 37
13
votes
2 answers

iphone low pass filter

I'm trying to implement a low-pass filter for an iphone app where I record a sound and then it gets played back slightly muffled; like the voice is coming from another room. I've looked into the different options for audio recording and…
swingdoctor
  • 1,551
  • 2
  • 11
  • 18
13
votes
2 answers

How to real-time filter with scipy and lfilter?

Disclaimer: I am probably not as good at DSP as I should be and therefore have more issues than I should have getting this code to work. I need to filter incoming signals as they happen. I tried to make this code to work, but I have not been able to…
trondhe
  • 317
  • 1
  • 4
  • 13
13
votes
1 answer

Creating spectrogram from .wav using FFT in java

After researching and a lot of trials-and-errors, I have come to a point that I can construct a spectrogram which I think it has element of rights and wrongs. 1. First, I read .wav file into a byte array and extract only the data part. 2. I convert…
Aung
  • 253
  • 1
  • 5
  • 15