instruction stringlengths 31 27k |
|---|
Let's say I have used MATLAB's butter function to generate a 3rd order, low-pass, Buttersworth, digital filter. I have a sample rate of $2000\textrm{ samples/second}$, and I want the cutoff frequency to correspond to an analog frequency of $700\textrm{ Hz}$. Because MATLAB defines its normalized frequencies as percenta... |
I recently found this implementation for widening a stereo signal by Michael Gruhn.
http://www.musicdsp.org/showArchiveComment.php?ArchiveID=256
I've implemented this myself as follows:
void Voice::WidenTheStereoImage( double *a_dInputBufferLeft, double *a_dInputBufferRight, double *a_dOutputBufferLeft, double *a_dOutp... |
I am the moment looking for a dataset similar to the caltech 101, but in this case for different phrases, words and so on... In general just words.
Does someone know if such dataset exist, or I have to create it myself...
|
I am developing a loudness meter conforming to the EBU R128 recommendation.
Currently, it works with stereo files but not with mono files.
In the ITU Recommendation, where the metering algorithms are defined, weightings for the individual audio channels are given (table 3, page 6). From that, I assumed that the weight... |
Suppose I have transfer functions for two continuous causal linear-time invariant (LTI) systems:
$F_1(s)$ and $F_2(s)$.
Let $D\left\{\cdot\right\}$ denote the function that maps a transfer function from the continuous-time domain to the discrete-time domain (as another transfer function via the $z$-transform) using ZO... |
This is a rather general set of questions.
I'm interested in knowing up to what orders, direct form FIR filters are considered useful for practical applications (both in hardware and software)?
What if fixed-point arithmetic is used?
Are FIR filters with several hundred or thousand fixed-point taps suitable for som... |
This answer says that when calculating the DFT on a real valued signal, the (roughly) second half of the bins are the complex conjugates of the first half of the bins. Firstly I was curious if that is true?
If it is true, it seems like for frequency analysis purposes, you could forgo calculating the second half of the ... |
So I have built code for an Unscented Kalman filter that can take any specified state and measurement dynamics. I have tested it on various linear problems and it works well, as expected. The main concerns I have is applying this filter to nonlinear parameter estimation problems.
When I have applied it to problems wher... |
In this course (Coursera: Audio Signal Processing for Music Applications) the professor uses an example of obtaining the DFT of a complex sinusoid:
\begin{align}
x_2[n]&=e^{\jmath\left(2\pi f_0 n+\varphi\right)}\quad \textrm{for}\quad n=0, \ldots, N-1\\
X_2[k]&=\sum_{n=0}^{N-1}x_2[n]e^{-\jmath2\pi kn/N}\\
&=\sum_{n=0}^... |
I am trying to develop an automated OCR system for images obtained from the internet. The images mostly consist of computer generated text imposed on a background, so the OCR should produce near perfect results. However, the texts vary in color, and the background its imposed on can be of different colors too or even p... |
I am creating a dataset, where in many speakers are recording their speech signals using different microphones and in different environment. I would like to evaluate the quality of audio and discard the audio of poor quality. Kindly give leads towards goods measurements (like SNR, PESQ(with reference)), so that a cle... |
I'm trying to fit some data belong to a sum of sines function (Fourier sparse) in MATLAB, however, the number of terms of sine function in MATLAB is limited,i.e. to $1 \leq n \leq 8$. However, I want more terms in my fit functions, i.e. over $50$ terms. By the way I do not intent to recover the signal using Compressive... |
Inverse DFT is given as:
\begin{equation}
y_n=\sum_{k=0}^{N-1}Y_k e^{j\frac{2\pi nk}{N}}\tag{1}
\end{equation}
and knowing that Fourier transform of a real value signal has Hermitian symmetry property, i.e., $Y^*_k=Y_{N-k}$ with $\frac{N}{2}$ positive and $\frac{N}{2}$ negative frequencies, Eq. (1) can be rewritten in ... |
So I know In-phase and Quadrature (IQ) data can be used to analyze changes in both phase and amplitude of the signal. I also know that if I know the I component of the signal (which I could get by measuring it with one oscillator), I could digitally get the Q component using Hilbert Transform. However, I know there are... |
Clicking on the links I find on the web it seems many authors don't express them
neatly enough for me or they're even confusing the two. Can someone please clear this up?
Is frequency modulation
\begin{align}
&\rm \sin((frequency+modulator)time-phase)\\
&\qquad\quad\textrm{or is it}\\
& \rm \sin(frequency*time+mod... |
Every LTI system with a $\mathcal Z$-domain transfer function that is a rational function - aka a quotient of two polynomials in $z$ - can be implemented using a bounded amount of memory.
Is the converse true? That is, are there any LTI systems that can be implemented using finite memory that do not have a transfer fun... |
Please, explain in layman's terms,
Why do we need a Homomorphic Filter?
In what kind of situations should we use Homomorphic filtering?
What kind of images need Homomorphic filtering?
|
I have implemented RLS algorithm using adaptive filter on TMS320C6713 DSK.I want to calculate the signal to noise ratio.
In this forum I found a method that I should input a speech signal with a silence portions in between.
From the output of the adaptive filter I took sample of the silence considering it as a residu... |
I'm trying to learn something more about Wiener Filters and I can't find anywhere what happens when I feed a Wiener Filter with a non WSS process. Could anyone give me an explanation or any book (specifically, which chapter/s) that explains that?
Thanks!
WSS: Wide Sense Stationary
|
I found a codec with audio DSP, ADAU1772. It supports 32 biquads, that is $32\cdot5=160$ parameters.
I need to calculate filter coefficients on-line. The result is in transfer function form, i.e.,
$$[a_1, a_2, \cdots, a_{m-1}, b_0, b_1, \cdots, b_{n-1}]$$
If I want to use an audio DSP, I must transform the result into... |
I'm using pyaudio to record sound and return the peak frequency of the recorded sound.
In one example, I use a sound card with 2 channels (stereo), and the peak frequency detected is the correct frequency. I'm testing it with a tone generator app.
Here's the code that I've used:
import pyaudio
import numpy as np
from s... |
With regards to multirate processing, what are the benefits of having a 'slower' sampled signal?
Let's say I have a continuous signal
$$x(t) = \cos(2\pi\cdot3t) + \cos(2\pi\cdot 7t)$$
and it is sampled at $10\textrm{ kHz}$. Obviously the sample rate is overkill for the underlying signal. I've started reading into mult... |
I have a question regarding the frequency response of digital filters. Specifically the phase aspect of the frequency response.
Why do we not seem to care about the nonlinear phase response in certain applications?
Is it possible to correct the phase distortion if we are filtering offline (i.e. not in realtime)?
Giv... |
I am trying to get the phase of a signal with Hilbert transform. However, I found that the unwrapped phase was not correct because the Hilbert transforming using the hilbert function in MATLAB is not correct. The simulation code shown as below:
t=0:0.001:3;
realphase=30*cos(5*t); %signal phase
x=cos(realphase); %signal... |
I obtained the autocorrelation function of a sum of two signals:
as
but I want to know what is the normalized autocorrelation of above equation?
|
What happens if the noise has no zero mean? I mean, if the exercise is something like:
$$y(k) = A x + \eta(k)$$
When I have zero mean, I start from:
$$y = A x$$
$$\Rightarrow \hat{y} = A \hat{x}$$
Using algebra, I to get to this equation:
$$A^H y = A^H A \hat{x}$$
But what happens if it has no zero mean? I have to use ... |
I have a discrete $2N$length signal $y[n]$ which I want to downsample by a factor of $F=2$. In order to avoid aliasing (since I assume that my original sampling rate is exactly equal to $2f_{max}$,i.e., there is no oversampling) I use anti-aliasing filter before downsampling. Filtering corresponds to convolution in tim... |
There are lots of spectrum estimation techniques, each with some pros and cons.
Algorithms like:
Music
Welch's method
Yule-Walker AR method
Periodogram
modified covariance method
multitaper method (MTM)
Spectrogram using short-time
Fourier transform
Burg method covariance method
and many many other.
However I do ... |
For a non periodic signal, in the first one second the frequency of a particular amplitude (value) may be of 4 Hz, and then in the next one second it may or may not be 4 Hz. Then which value of frequency should you consider?
|
I'm a beginner. I try emulate analog signal conversion to digital (including sampling by time and quantizing by level) using Python. Here is my code:
import numpy as np
import matplotlib.pyplot as plt
time_of_view = 1.; # s.
analog_time = np.linspace (0, time_of_view, 10e5); # s.
sampling_rate = ... |
I would like to know can anyone suggest me techniques to estimate the SNR for a given noisy signal. I do not know the amplitude of my signal but I do know that noise is Gaussian.
I have tried to do estimation in frequency domain where I simply take the FFT of the signal and find the dominant peak and find the power as... |
I have two questions:
If the FM radio at the receiver mixes with a another frequency to bring down the carrier frequency, wouldn't that affect the message signal?
In today's digital world, why the FM radio still uses frequency modulation (FM) and not FSK?
|
As I understand,
A local mean filter is the one in which we take a pixel and calculate the mean of color-values of the pixels around them (but in a certain range of area) and the center pixel is replaced by that mean value.
The filter always has a specific size. For instance, 3x3, 5x5, and so on.
The filter sweeps the... |
I had some problems with scalloping and spectral leakage. I think I solved that.
I wrote an algorithm in C++ using FFTW3. It works. But now I want to show when you get scalloping.
It took me some time to really understand what is going on. To understand that a rectangular window has a sinc function as the DFT. And that... |
Strictly speaking, the $x$ direction derivative should be the difference between the left and right pixel of each pixel. So, then I should be using a $1\times 3$ filter:
\begin{bmatrix}-1&0&1\end{bmatrix}
If that is so, why is the Sobel operator a $3\times 3$?
\begin{bmatrix}-1&0&1\\-2&0&2\\-1&0&1\end{bmatrix}
Is it so... |
I have a video clip that has a frame rate of 25 fps (MJPEG compression) and an audio clip with a sample rate of 48kHz. Both of them play for the same duration - 27 seconds.
Is there any standard way to sync the two signals of different sampling rates if I wish to write them to file?
If this is not doable cleanly in MA... |
I am plotting spectrum of BPSK signal just series of -1 and 1, and I can see random peaks (looks to me to be random) at various locations but I am really confused if I do not multiply my signal by carrier shouldn't the peak of bpsk modulated signal be at DC? If not then how to identify the exact location that peaks sho... |
I am having trouble understanding the exact derivation of the butterworth filter and how it results in the output of the poles. I have researched multiple lecture series and textbooks and this is my understanding so far:
An idealised low-pass filter, i.e. a brick wall, can be realised with the equation below as as $n$... |
I am a newbie to DSP, and have what seems to me a fundamental question.
I have a discrete-time sequence $g[n]$ of length $N$. I am supposed to pass this signal through a root-raised cosine filter $h_1(t)$ with a cut-off frequency of $F= 1/T$, to obtain a continuous time signal $x(t)$:
$$
x(t) = \sum\limits_{n=0}^{N}g[... |
I'm building a raytracing engine to get an approximation of the impulse response of a room, but the problem is that I don't really understand what to do after the ray tracing.
After I get all the reflections that collide with the receiver, I get all the rays with their acoustic energy and collisions time. But how do ... |
I need to apply an FIR filter on chunks of very long signals. I can use MATLAB's filter function as follows to preserve the state of the filter when a new chunk of data is available:
[y, state] = filter(b, 1, x, state);
where b includes the coefficients of my FIR filter. However, b is fairly long and even each chunk o... |
I have started making a project involving FFT to some accoustic signal(so far I completed some theory), with a DSP processor, and according to some calculations, make the output going to a bluetooth (or any other wireless device) chip, which will transmit to a bluetooth receiver.
So far I have seen wireless chips, and ... |
I have been reading on conjugate quadrature filters (CQF). The linked article explains that, if we have a lowpassfilter $h_0$, we can create a set of filters for a perfect reconstruction filterbank. The analysis highpass filter $h_1$ and synthesis low pass/highpass filters $f_0$ and $f_1$ can be generated as follows:
... |
I am having trouble specifying the transfer function of the following system as seen below:
From the initial view I work out the difference equation to be:
$$
y(n) = x(n) - p^Nx(n-N) +py(n-1)
$$
However should the constant before y(n-1) be negative p according to the following standardised equation for a difference eq... |
I am new to signal processing and I am trying to learn myself. To understand what i am interested in, let me show this on example (note that this is just a random example to illustrate). Here is some signal detected from a device:
You can notice there are 3 peaks there, and let's say there is a task to detect times of... |
I am kind of new to laser physics and signal processing, I hope I am in the right place to ask this question. I am also sorry for my not-great English.
I have been asked to study the transverse intensity profile of a laser beam produced by a $\rm He$-$\rm Ne$ source using a commercial webcam. I am placing the webcam s... |
I am having trouble figuring out exactly what is happening the process of downsampling/upsampling and the output in the example given below:
So the 100Hz sine wave is sampled at 2000Hz resulting in a fft output mirror about 1000Hz, the nyquist frequency.
It is then downsampled, effectively sampling this signal at 500... |
Setup
Suppose we have a complex $L\times 1$ signal $\mathbf{x}$ with two tones at (unknown) frequencies and phases defined as:
$$
x_n = A_1 e^{j \omega_1n + \varphi_1} + A_2 e^{j \omega_2n + \varphi_2}
$$
for $0 \leq n \leq L-1$. We observe $\mathbf{x}$ corrupted by additive white Gaussian noise:
$$
\mathbf{y} = \mathb... |
Suppose, I have this kernel.
-1, -1, -1,
-1, 9, -1,
-1, -1, -1
Can this kernel be used in a FFT based convolution? How?
What could be the reason of my failure?
Related:
Image Convolution in Frequency Domain.
FFT Convolution - 3x3 Kernel
|
I dug my old Behringer UCA202 out of my shed and plugged it into a computer. I did some tests and it appears to be working fine... apart from some noise signals on the line input channels. I'm not sure where this type of noise could be coming from; weather it's the computer, the powered USB lead, or the device itself. ... |
I want to detect filopodia (red arrow indicates filopodia in a vessel image).
My strategy is that if $I$ is the original and $J$ is the another image after opening operation. Then, $I-J$ is the filopodia. (See Figure 6 in this paper).
To do this, I want to enhance the very thin lines. How to do it? I also have inform... |
In communication systems, the transmitted signal is often passed through a root-raised cosine filter to avoid, in textbook language, intersymbol interference (ISI). An identical filter at the receiver end processes the signal so that the combined response of the two filters is a raised cosine filter.
The raised cosine ... |
Surely this question has been answered before in parts but I cannot find one solid answer. Ultimately I am trying to calculate the audio delay between two signals I am recording on USB microphones. With no problem I am recording the audio, reading it back into python, computing the cross correlation/convolving, and the... |
Hi I am trying to derive the autocorrelation matrix and I am unsure about how exactly it works. I can see that the $4\times 1$ matrices result in the Hermitiain and Toeplitz matrix? Surely the only non-zero values in each of these is at $n = 0$ which is the variance?
Any help would be greatly appreciated!
|
I have obtained a set of three poles for a third order Chebyshev filter as shown below:
$$p_k=\rm -0.2471+0.9660j,\quad -0.2471-0.9660j, \quad -0.4942.$$
However I am unsure of how to actually implement these into the Chebyshev prototype filter equation?
Any help would be greatly appreciated!
|
I am designing a Chebyshev filter and I am required to calculate the poles of it. It requires $1\textrm{ dB}$ pass-band ripple, a ripple factor of $0.5088$ and an order of $3$.
The equations for calculating the real and imaginary poles are shown below:
\begin{align}
s_k &= \sigma_k + j\omega_k\\
\sigma_k &= \sin\left(\... |
I know that watershed and grabcut algorithms are both common tools for image segmentation. They both seem to rely on predefined markers to form something like a source-sink system and then uses the gradient of the image to find the boundaries.
The largest difference I observe is that grabcut uses a graph structure wher... |
I want to generate a signal which frequency are obtained.
For example,I want the frequency domain similiar to this one:
So I use the following code:
fs =44100;
t = 0:1/fs:4;
f = 800 + 500*sin(2*pi*t);
x = sin(2*pi*f);
plot(t,x)
But using Adobe Audition to visualize its spectrogram.
It looks different from my hope... |
I know that wavelet decomposition equals convolution followed by down sampling by two.I tried to test this on mat lab on haar wavelet. I write the below code and compared with the default wavedec command in mat lab. The code I wrote is shown below.
clear all
clc
h=[0.7071 0.7071];% Haar scaling filter
g=[-0.7071 ... |
I'm trying to reimplement FDMDV in GNU Radio, largely for educational purposes. It consists of 15 PSK subcarriers, 75 Hz apart, 50 symbols/sec each. The center one is BPSK and alternates phase each symbol, and the rest are QPSK and carry the data.
I'm somewhat stuck on how to perform timing recovery if this signal. Sin... |
I have a complex IQ signal: $s = X + Yi$. I know my original $f_0$ was $5\textrm{ MHz}$.
I can calculate the magnitude/amplitude of $s$: $A = \sqrt{X^2 + Y^2}$
and phase, $\phi = \arctan\left(\frac YX\right) $
But how can I reconstruct the signal using this frequency, amplitude and phase data?
I need the output as a ... |
It is well known that it is a good idea to apply windowing to a signal, before obtaining its DFT and viewing its frequency response.
But is it a good idea to apply windowing to the impulse response of a filter, before viewing its frequency response?
Does the answer to this question depend on whether the filter is FIR... |
I'm reading through Digital Signal Processing, Proakis and Manolakis, third edition. I've reached section 3.2: Properties of $\mathcal Z$-transform.
One property is the convolution:
$$x(n) = x_1(n)\star x_2(n) \longleftrightarrow X(z) = X_1(z)X_2(z)$$
Other property is correlation:
$$r_{x_1,\ x_2}(l) = \sum_{n=-\infty... |
I am doing the following question (it is not homework, I am preparing for an exam).
The time discrete signals $x_1(n)$ and $x_2(n)$ is created by sampling the continuous signal $x_a(t) = \cos (2 \pi 300t) + \cos (2 \pi 600 t)$ with sampling frequency $F_s = 1000\textrm{ Hz}$, $x_1$ with anti aliasing filter and $x_2$ ... |
I wanted to know if there is a way to assess the quality of a bandpass filter created by the Remez exchange algorithm. I am using the Remez algorithm to determine the best bandpass filter at a number of different sample frequencies and numbers of coefficients and was wondering if there some easy way to assess the quali... |
I am trying to derive a simple expression for root-mean-square bandwidth $B_{\rm rms}$ for a signal that has flat spectral density over its entire bandwidth $B$. The expression for the $B_{\rm rms}$ is
$$
B_{\rm rms} = \sqrt{\frac{\displaystyle\int_{-B/2}^{B/2} \lvert H(\omega)\rvert^2 \omega^2\, \mathrm{d}\omega}{\dis... |
I've worked through a number of PSK demodulation tutorials, but they all start with a single PSK signal that fills the entire sample rate.
But what if the signal is in the real world? What kind of filter would I use to isolate the particular signal of interest? I guess something that preserves the root-raised-cosine pu... |
I have a signal whose FFT has a one prominent harmonic ($f_1$) and few other harmonics with a lower amplitude. In order to calculate the amplitude of the original signal I can use a well known theorem: a value of $f_1$ divided by half number of data points in the original signal.
But what if I have harmonics $f_2, f_3... |
I'm relatively new to implementing IIR filters in raw programming formats (i.e. C or C++) and I've run into the concept of IIR filter realizations.
So my question: is there a 'best format (works 99% of the time)' for implementing these filters? i.e. an implementation that will typically be 'best' regardless of the app... |
The Wiener–Khinchin-Einstein theorem states that the auto-correlation $(r_{xx}(\tau))$ and spectral density $(S(f))$ are Fourier duals, i.e.
$$r_{xx}(\tau) = \int^{+\infty}_{-\infty} S(f) \exp\left( 2\pi i \tau f \right)\:df$$
This relationship has several assumptions:
-The process must be stationary, i.e the spatial c... |
This might be a naïve question, are these correct statements?
Both amplitude and frequency modulated radio signals nowadays use quadrature modulation and demodulation as a mean to transfer and receive radio signals.
Whenever quadrature modulation is used the sampling rate should be equal to bandwidth.
|
I have been designing a bandpass filter with a passband between $95\textrm{ kHz}$ and $105\textrm{ kHz}$ (using MATLAB's fdatool and scipy.signal.remez in Python) and have noticed that as I increase the sampling frequency the number of coefficients needed to implement my filter increase. I was wondering why this is?
... |
For a large amount of musical audio tracks I am doing the following with every single track:
I am slicing the track into very small pieces whereas each piece represents a note onset event. So the piece begins at a note onset event and ends before the next event starts. The result is having hundreds of very small, typic... |
in the cartoon below
It shows that if we take the inverse Fourier transform of a Hermitian function, real part even and imaginary part is odd we should get a purely real function in the time domain.
I tried to replicate this by taking a frequency response I have, zero padding it making it even for the real and odd in... |
I would like to know what would be the relationship between $E_b/N_0$ and $\rm SNR$ when there is a coding rate of $R_c=K/N$. Normally when there is no channel coding according to this link.
$$\textrm{SNR(dB)} = \frac{E_b}{N_0}(\textrm{dB}) + 10\log10\left(\frac{R_b}{B}\right)$$
However what would happen if I have a li... |
I'm trying to code the basics of an analysis-synthesis system on MATLAB, but I'm getting incorrect results. From the Wikipedia page:
$$
X_k=\lvert X_k\rvert e^{i\angle X_k}
$$
Here's a simple MATLAB code:
y = speech(10:10+127);
yfft = fft(y,128);
spec = abs(yfft);
phase = unwrap(angle(yfft));
Y = spec .* exp(sqrt(-1... |
I have searched high and low for a practical guide to implement a simple 50Hz low pass filter on a signal. I understand the theory but its the practical but that's missing. If I was using MATLAB it would be trivial because there are so many examples but I am coding this by code.
This is where I am at:
1: I have a serie... |
Can someone please explain the illustration (figure 1.19) at the bottom of this image? It looks like there are four sampling points but I don't understand what the different curves represent. Actually except from the dashed curve I can't even distinguish the different curves from each other. Can someone please clarify ... |
In this example, under "Discussion", we can see that the Nyquist sample rate will result in samples with the value zero only. But why is this? I thought the sampling theorem said that if you sample with the Nyquist sample rate or higher, then the original signal can be exactly recovered? But in this case it can't? So d... |
I am implementing a software to auralize a virtual scene but am kind of a newbie to DSP. The focus should be the calculation of the IR which is frequency dependant. But this means that the renderer of the sound should be able to convolute reverb in a frequency dependant way (in realtime possibly). A IR has a set of Ref... |
Probably a stupid question, but I'm slowly making my way through Julius Smiths' filter book. The maths is slightly defeating me at points.
This function $H(e^{j\omega t})$, why is it a function of a formula?
All my functions at school a decade ago were of a single variable, and you took the thing in the brackets a... |
I am studying wavelet theory by myself and hope to use wavelet to denoise images. I write one matlab program to watch denoised image.
Gray = ones(512, 512, 'uint8');
Gray = Gray.*128;
Gray = imnoise(Gray, 'gaussian', 0, 0.01);
[cA1, cH1, cV1, cD1] = dwt2(Gray, 'db1');
[cA2, cH2, cV2, cD2] = dwt2(cA1/2, 'db1');
[cA3, c... |
Hi all,
How do we interpret a power spectral density plot. I have used modified covariance and burg methods and plotted using MATLAB. What does the peaks at some frequencies suggest? and what is the difference between positive and negative power in the graph? how do we know that which frequencies variations are strong... |
I have a stream of 250 samples per second arriving at a pipeline stage which looks something like this simplified example.
class PipeLineStage(...):
historical_buffer = []
def _process(self, sample):
historical_buffer.append(sample)
altered_sample = ...
return altered_sample
_process ge... |
I am trying to resample a signal using the fourier method in python using np.fft.rfft() and np.fft.irfft(). (I'm not using scipy.signal.resample() because in my final application I need to do more to my signal in the frequency domain than what can be accomplished by the window argument of scipy.signal.resample().) I ha... |
I have a baseband, bandlimited signal of 100 Hz. I sampled it at 2000 Hz. Now for reconstruction if I pass them (the samples) through an analog filter of say 200 Hz, would the reconstructed signal be same as the original analog signal. In books they pass it through a LPF with cutoff frequency of 1000 Hz. I am quest... |
The FIR low-pass filter was designed in MATLAB which characteristics are listed below. Coefficient of this filter was written in variable h. Basis on this filter design a band-pass filter with central frequency 1/5(normalized to fs) keeping the same gain and bandwidth. Give the listing in MATLAB(no using buitl-in funct... |
Write listing in MATLAB which design a low-pass IIR filter basis on Butterworth (Rp=2dB, Rr=40dB, fp=1000 Hz, fr=1300 Hz, fs=5000 Hz) as a prototype and using bilinear transform without built-in functions. Control the point(fr,Rr). Plot the response characteristic (linear scale, and dBs scale).
|
I am working on speech synthesis with LPC and I originally implemented a pre-emphasis filter:
+(void)processBuffer:(Buffer *)buffer {
float alpha = -0.9375f;
for (int i = 1; i < buffer.size; i++) {
buffer.samples[i] += buffer.samples[i - 1] * alpha;
}
}
And found that my output audio was distorting... |
I need to recognize just one bird. I am trying to compare the syllables extracted from the sound samples. As a result of the spectrogram function, the power spectral density is taken from the sound. They are 2 dimensional values. I like to compare this test signal with a known signal which is another 2 dimensional valu... |
Given a known signal $ x \left( t \right) $ and its delayed version $ y \left(t, \tau \right) = x \left( t - \tau \right) $.
Both are sampled by Sampling Frequency $ {F}_{s} $ to generate the signals $ x \left[ n \right] $ and $ y \left[ n \right] $.
Assume they are sampled on a time support much larger than their non ... |
I realize that this seems redundant, but I'm getting consistently better results when performing machine learning techniques that use spectral features extracted using the moving average process below, rather than using STFT results alone. I'm a machine learning guy by trade, and I don't have a background in signal pr... |
I am studying for a Digital Communications course in my university, and I am presented with the following example exercise.
You have a sound signal with spectral components in the 300-3000 Hz range. The signal is going to be digitised using Pulse Code Modulation.
a. For SNRdb == 30dB, what is the number of uniform qua... |
I have a signal which clearly shows harmonics of 25 Hz (or 50 Hz?), this is actually my question.
I do not think the 50Hz resonance comes from the power supply leakage, since my power supplies works at some tens of kHz. I also do not have an explanation for the 25 Hz peak, I rather think it could be a manifestation of ... |
I have a 2D image defined on a region $\Omega$. Let $I: \Omega \to R$ be a gray image. Assume that the region can be separated into $N$ sub-regions $\Omega_i$ such that $$\forall i,j=1,\ldots ,N:\Omega_i \cap\Omega_j=\emptyset$$ and $$\bigcup_{n=1}^{N}\Omega_n =\Omega$$
To simplify, we assume $N=3$ and it shows in belo... |
I am trying to find out which way the whale is moving. So I have an image of the whale swimming in the water and I want to find out where is it located and which direction does it swim (with respect to X/Y coordinates of the image).
For example here the angle is approximately 30 degrees in respect to X coordinate.
So... |
** originally I asked this question on stack exchange and was pointed to dsp.stackexchange **
I need to determine when the correct musical notes (from a piano) such as in a chord are being played. While detecting single notes is a no brainer, and full music transcription seems to still be considered a research problem,... |
Basically I'm talking about N-point moving average/difference filters and not one where $\delta[n]=k$. For example given say a two-point moving average filter:
$$h[n] = \dfrac{\delta[n]+\delta[n-1]}{2} $$
and a defined input signal like
$$x[n] = \sin[2 \pi n]$$
$x(n)$ is discrete and the window size = the period size... |
So I'm used to DFT being on an equation like this:
x(n) = cos(n), ∀n , with window n = 0,1,2
I can clearly plot discrete values and take a DFT to find Xk
But I found this equation on a past exam that's like this
x(n) = δ(n+2) +δ(n+1)−δ(n−1) with window of length 5.
This appears to be an impulse response to me, and I d... |
I am trying to filter off two unwanted terms in this frequency spectrum (the spectrum on top).
First, I used a convolution between a rectangular window to make the unwanted terms equal to zero.
the first problem is when I tried to centralize the remaining part and multiplying it by a cos ( 2 * pi * f *t) I didn't get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.