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

A loop to continuously collect the Wifi strength of nearby access points

Assume I have an iPhone connected to a wifi network with 3+ access points. I'd like to collect all possible fields around wifi access strength/signal/etc from EACH access point and use that to triangulate, even while in background. while true { …
lollercoaster
  • 15,969
  • 35
  • 115
  • 173
2
votes
1 answer

Calculate frequency bins of an audiosignal

I am doing a fft (stft) on a audio-file, which contains voice and music. I took out a range of 1-200 from signal, which i saved in a variable called, for example, frequency_band1. How can i calculate the frequency bins from variable, which stores my…
2
votes
0 answers

How to use Viterbi decoder from GNU Radio library

I need to make Viterbi decoding of some convolutional-encoded signal. My application shall work with large files, therefore I cannot insert all the signal into a heap, so I need to process a data by a sequence of separate buffers. I have found a…
Vladimir Bershov
  • 2,701
  • 2
  • 21
  • 51
2
votes
2 answers

Python equivalent of Matlab's resample()

Is there a python function that achieves resampling in the way MATLAB's resample() does? I've looked into scikits.samplerate's resample function but I'm not quite getting similar results.
Anand PA
  • 105
  • 2
  • 8
2
votes
1 answer

Methods to remove outliers signals from a number of trials

I have some signals (preprocessed trials of sEMG signal, to be precise), each one stored in one vector. My goal is to detect and remove any possible signal outlier from these set of signals. Moreover, I don't know a priori any model that represent…
dbovo89
  • 71
  • 3
2
votes
1 answer

Feeding real-time audio data to tensorflow on a mobile device

I am building a prototype of a sound detection app that will ultimately run on a phone (iPhone/Android). It needs to be near real-time to give fast enough response to the user when a particular sound is recognized. I am hoping to use tensorflow to…
Kliment Mamykin
  • 468
  • 2
  • 9
2
votes
2 answers

Warping fragments of signals in Matlab

Using a custom sensor that I built, I collected pressure sensor information of a the human gait cycle (how the pressure varies when a person walks) from a person's right foot. One of the things I want to do is break up each signal into individual…
GobiasKoffi
  • 4,014
  • 14
  • 59
  • 66
2
votes
1 answer

WebAudioAPI: Dividing two AudioNodes' outputs

Context: I am trying to implement an ADSR envelope in WebAudioAPI where Attack, Decay, Sustain and Release are all AudioParams, and the 'note on' and 'note off' is represented by an input value of 1 and 0 respectively. I'm using four…
euwbah
  • 363
  • 1
  • 13
2
votes
1 answer

Lowpass Butterworth Filtering on MATLAB

I have been writing a very simple code to remove noise from a signal. The signal is just a sinusoidal wave, the noise is a random matrix, and the noisy signal is the addition of both. The code is: close all;clear;clc; %% Declarations ts =…
Tes3awy
  • 2,166
  • 5
  • 29
  • 51
2
votes
1 answer

Python filtering signals in a 4D structure

I have a 4D structure containing EEG data with shape (3432,1,30,512) This represents 3432 trials of data, where each trial contains 512 time samples for 30 electrodes For each trial, I want to filter each electrode with certain filter parameters,…
Simon
  • 9,762
  • 15
  • 62
  • 119
2
votes
1 answer

How to make a multiple notch filter in MATLAB?

I'm designing a filter to remove the noise from a piece of audio. I found the noise frequencies are located at 745 and 1965 Hz in the spectrum but I don't know how to make a multiple notch filter to remove these two specific frequencies This is my…
Yicheng Yang
  • 23
  • 1
  • 5
2
votes
1 answer

Real World Blind Source Separation

I am aware that Scipy has a few ICA algorithms, like FastICA, but it can only be used if the mixed signal observations are perfectly in sync. My application is recording audio (speech) using microphones into mono audio files. So FastICA would not…
Arash Howaida
  • 2,575
  • 2
  • 19
  • 50
2
votes
0 answers

Inconsistent answers between the 'density' and 'spectrum' scaling option of scipy.signal.welch

I cannot get consistent answers when using the scipy.signal.welch function between the power spectrum density (PSD) 'density' and power spectrum 'spectrum' scaling options in Python 3. I know that the units for density are V^2/Hz and and for…
2
votes
1 answer

plotting a parabola within part of a repeating signal using numpy

I have a repeating signal that varies a little bit with each cycle of a process that repeats roughly every second, though the duration and the contents of each cycle vary from each other a little bit within some parameters. There are a thousand x,y…
2
votes
1 answer

How do I swap the phase responses of two images?

I applied the FFT to each image. I extracted the angle or phase of both image 1 and 2. After, I would like to swap the phase responses between both images but keep the magnitude intact. The code I have so far…
vincet
  • 917
  • 3
  • 13
  • 26
1 2 3
99
100