signal-processing Questions

3

Solved

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 n...
Begotten asked 14/4, 2021 at 5:27

3

Solved

Let's say have have two signals: import numpy dt = 0.001 t_steps = np.arange(0, 1, dt) a_sig = np.sin(2*np.pi*t_steps*4+5) b_sig = np.sin(2*np.pi*t_steps*4) I want to shift the first signal to ...
Inbeing asked 5/9, 2016 at 19:38

12

Lets assume we have a dataset which might be given approximately by import numpy as np x = np.linspace(0,2*np.pi,100) y = np.sin(x) + np.random.random(100) * 0.2 Therefore we have a variation of...
Passageway asked 16/12, 2013 at 19:6

1

What are the good algorithms to automatically detect trend or draw trend line (up trend, down trend, no trend) for time series data? Appreciate if you can point me to any good research paper or goo...
Trescott asked 3/10, 2017 at 18:58

2

Solved

I analyzed the sunspots.dat data (below) using fft which is a classic example in this area. I obtained results from fft in real and imaginery parts. Then I tried to use these coefficients (first 20...
Soar asked 15/12, 2010 at 15:25

2

Solved

I have a histogram of an image in RGB which represents the three curves of the three components R, G and B. I want to find the inflection points of each curve. I used the second derivative to find ...
Mugwump asked 23/6, 2020 at 14:53

11

Solved

Update I summarized the question and its answers here My objective is to detect the presence of a given pattern in a noisy signal. I want to detect the presence of a species of insect recording th...

3

Solved

I am using this algorithm to detect the pitch of this audio file. As you can hear, it is an E2 note played on a guitar with a bit of noise in the background. I generated this spectrogram using ST...
Misprize asked 9/5, 2017 at 19:5

4

Solved

When this runs, there is a clicking sound between pitches. I don't mind the clicking sound too much - it's pleasantly rhythmic. That said... I'd like to be able to get rid of this clicking sound...
Tawnatawney asked 12/2, 2017 at 19:34

1

In matlab there is a function called bandpass that I often use. The doc of the function can be found here: https://ch.mathworks.com/help/signal/ref/bandpass.html I am looking for a way to apply a ...
Gilstrap asked 26/3, 2020 at 11:28

2

I try to implement the spatial spectrum from the above equation (attached) Where kX, kY are the grid points in k space, C(w,r) - cross spectral densities between the i'th and j'th sensor(here it i...

6

Solved

I'm writing some code that plays back WAV files at different speeds, so that the wave is either slower and lower-pitched, or faster and higher-pitched. I'm currently using simple linear interpolati...

1

I am trying to decompose the periodicities present in a signal into its individual components, to calculate their time-periods. Say the following is my sample signal: You can reproduce the signal ...
Henryson asked 14/4, 2022 at 19:17

4

Solved

I am loading a wav with the scipy method wavefile.read() which gives me the samplerate and the audiodata I know that this audio data if stereo is stored as a multi-dimensional array such as audi...
Otherwise asked 22/5, 2015 at 15:52

1

Solved

I am building an audio-based deep learning model. As part of the preporcessing I want to augment the audio in my datasets. One augmentation that I want to do is to apply RIR (room impulse response)...
Erb asked 11/4, 2022 at 13:39

1

I've been having some issues when trying to synchronously playback and record audio to/from a device, in this case, my laptop speakers and microphone. The problem I've tried to implement this using...
Kalvin asked 10/3, 2022 at 8:51

2

The following code generates a spectrogram using either scipy.signal.spectrogram or matplotlib.pyplot.specgram. The color contrast of the specgram function is, however, rather low. Is there a way ...
Bamboozle asked 3/2, 2018 at 15:31

16

Solved

I have a range of dates and a measurement on each of those dates. I'd like to calculate an exponential moving average for each of the dates. Does anybody know how to do this? I'm new to python. It...
Permeable asked 28/1, 2009 at 18:1

4

Solved

I have a signal from respiration recording with lot of spikes due yawns for example. I have tried to remove it using rolling mean function from pandas but it didnt help. Green space on this graph i...
Champollion asked 31/5, 2016 at 22:12

4

Solved

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 th...
Cowbind asked 6/12, 2011 at 16:55

8

Solved

I want to calculate room noise level with the computer's microphone. I record noise as an audio file, but how can I calculate the noise dB level? I don't know how to start!
Katinakatine asked 15/3, 2010 at 8:5

2

Solved

I have a couple audio files that I open in Pydub with AudioSegment. I want to decrease the audio quality from frame rate 22050 to 16000 Hz. (One channel files) If I simply change the frame rate...
Beekman asked 17/5, 2017 at 21:42

5

Solved

Explanation I want to be able to sort a collection of sounds in a list based on the timbre(tone) of the sound. Here is a toy example where I manually sorted the spectrograms for 12 sound files that...
Brakpan asked 28/10, 2020 at 20:5

4

Solved

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)...

2

Solved

i can get magnitude of signal coming from .wav file , but how to get the phase of that signal too ,,, Here is the where i browse for .wav file and extract the signal def browse_wav(self): file...
Pellegrini asked 25/3, 2017 at 16:48

© 2022 - 2024 — McMap. All rights reserved.