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
0 answers

What to do with MFCC?

I'm currently trying to implement a simple word recognization from a standard microphone with Python. I already sampled data and extract MFCC matrix from the audio signal. But the question is : What should I do with these features to get phonems or…
Stro
  • 21
  • 1
2
votes
2 answers

How to generate a .wav file with a sinusoidal wave and user-defined duration and frequency?

The following code should create a File containing a sine wave. At typical frequencies (220Hz, 440Hz, 880Hz) it goes great, but at many other frequencies it doesn't, for example take 225Hz, 883Hz and so on. What should I do to get a nice sinusoidal…
RodrigoFranco
  • 63
  • 1
  • 9
2
votes
2 answers

Are there any open source libraries for performing FFTs on the iPhone?

I would like to compare to WAV audio files using an FFT. What open source libraries and / or sample code exist for performing such an operation?
Warrior
  • 39,156
  • 44
  • 139
  • 214
2
votes
0 answers

Is this the right method to mix PCM audio?

I have an assignment to make an audio conference chat room using sockets. Is this the right approach to mix audio? s is byte array which will be sent to client cl. cl.ar is a byte array that contains PCM samples received from cl. ar is a float…
AgentX4000
  • 77
  • 1
  • 6
2
votes
1 answer

scipy.signal.spectrogram output not as expected

I am using scipy.signal.spectrogram() for analysing a dataset containing values for a current. My input to the function is as follows: f, t, Sxx = signal.spectrogram(y, fs) (for plotting in subplot 3 (from the top) I use plt.pcolormesh(t, f,…
roggjah
  • 21
  • 1
  • 5
2
votes
1 answer

Filter Conversion From Low Pass

I have a basic low-pass sensor filter like this: if (logic) { return (prev + ALPHA * (input - prev)); } How can I convert the same to a high-pass filter? Background: I am trying to do this om Android platform. Filter the given input against…
Jishan
  • 1,654
  • 4
  • 28
  • 62
2
votes
1 answer

Windowing signals in MATLAB

I'm working with some accelerometer data and it has been suggested that I do some windowing for isolating different events in the signal. Unlike most things, windowing is poorly documented in MATLAB and I was hoping for some simple examples (or…
Michael
  • 129
  • 1
  • 8
2
votes
2 answers

How to implement my own HPS algorithm?

I'm starting a project on Python where I need to develop a pitch-detection system, basically what I have to do is to record a sound coming from a guitar string, then Identify which is the tone of that sound. I have read and searched through websites…
Teddy S.
  • 33
  • 8
2
votes
1 answer

Frequency and level of wavelet decomposition

I am doing research in ECG compression using wavelets. I usually takes samples from MIT arrhythmia data base, maximum 2000 samples. During one of my seminar one person asked me that "what is the frequency of the samples that I am considering". MIT…
Abhishek
  • 81
  • 8
2
votes
1 answer

Cycle through data to find peaks/troughs and then section out the data points between them

I have a script in Matlab which finds the peaks and valleys of my data set (looks kinda like a squished sine wave), eventually I want to average all of the data between each peak and trough. Here is the script I am working on, but I keep getting…
2
votes
2 answers

Curve fitting in MATLAB, for a Sinusoidal function with more than 8 terms?

I'm trying to fit some data to a sum of sines function in MATLAB, however, the number of terms of sine function in MATLAB is limited,i.e. to 1 ≤ n ≤ 8. However, I want more terms in my fit functions, i.e. over 50 term. Is there anyway to make MATLAB…
Mehdi
  • 293
  • 4
  • 13
2
votes
1 answer

Live rhythm detection

1. Is it possible to do live rhythm detection? It'll be great to make an app which will help people to detect the rhythm on unfamiliar song on the fly. Even if the app will be bounded to a few genres. I.e. Salsa Beat Machine, but they work offline…
VB_
  • 45,112
  • 42
  • 145
  • 293
2
votes
2 answers

DSP-type effects in realtime on the C64: How is it possible?

I just saw this, and it is one of the most amazing things I've ever seen: http://www.youtube.com/watch?v=MDrqBYkco-Y I am not even able to fathom this. What is going on here?
justinb
  • 31
  • 1
2
votes
2 answers

How do I convert signal in Universal Window Phone?

I use RTAudio to get a signal from Microphone and use this signal as the input for another encoder. It seems UWP always return fixed audio sample rate which different from sample rate my encoder wants. WASAPICapture return 44100 Hz signal, 2…
2
votes
1 answer

CMSIS FIR bandpass filter

I am trying to implement a 60kHz bandpass filter on the STM32F407 microcontroller and I'm having some issues. I have generated the filter with the help of MATLABs fdatool and then simulated it in MATLAB as well. The following MATLAB script simlates…
Pethead
  • 178
  • 2
  • 6
  • 15
1 2 3
99
100