Questions tagged [hamming-window]

Window function with coefficients proposed by Richard W. Hamming.

Window function with coefficients proposed by Richard W. Hamming.

17 questions
4
votes
3 answers

How to retrieve frame number and frame size from wav file

I'm currently doing a thesis about chord recognition with EPCP with wav file as an input, but now I'm stuck at determining number of frames and frame size of a single wav file. I need those data as the parameters for hammingwindow function in NAudio…
Norman Pratama
  • 67
  • 2
  • 12
3
votes
2 answers

Python: Audio segmentation with overlapping and hamming windows

I would like to do such a thinks: Segment the audio file (divide it into frames) - to avoid information loss, the frames should overlap. In each frame, apply a window function (Hann, Hamming, Blackman etc) - to minimize discontinuities at the…
3
votes
1 answer

Hamming Filter in Frequency and Spatial Domain

I want to remove the Gibbs artifact in a 1D signal by applying the Hamming filter on that in MATLAB. What I have is the k1 which is the signal in frequency domain. I can get the signal in time domain by applying DFT on k1: s1 =…
SaraG
  • 179
  • 2
  • 11
1
vote
0 answers

FFT with hamming window smoothing and extracting data from automatically generated plot

I need some help doing time series analysis, specifically Fast Fourier transformations with hamming window smoothing. TL;DR is fftper() the appropriate function for FFT with hamming window smoothing in R? How can I extract or generate the…
JPF
  • 89
  • 6
1
vote
2 answers

Hamming Window, python 2.7

Hi I have a FFT which is quite noisy. How to apply to my code Hamming window to make it less noisy. Look at my code: plt.subplot(212) plt.title('Fast Fourier Transform') plt.ylabel('Power [a.u.]') plt.xlabel('Frequency Hz') fft1 = (Bx[51:-14]) fft2…
Hiddenguy
  • 547
  • 13
  • 33
1
vote
2 answers

How to input data to FFT

So I do have a two arrays of data: Bx = [ -59.57011259 -74.20675537 -90.53224156 ..., -1676.9703173 -1676.9703173 -1676.9703173 ] By = [ 1.48413511e+00 4.96417605e+00 8.39303992e+00 ..., -1.67697032e+03 -1.67697032e+03 …
Hiddenguy
  • 547
  • 13
  • 33
1
vote
1 answer

MATLAB - Hamming window, overlap 50%

So I have wrote some code which takes an audio file and splits into frames of 320 samples for the 16000hz. I have took the hamming window of each frame as shown by the code: fs=16000; [x,fs] = audioread('01.wav'); %Pre-emphasis filter (Y[n]=X…
user3667111
  • 611
  • 6
  • 21
1
vote
0 answers

How to filter a fast fading signal using window method?

Fast fading signal generated: mean=0, sigma=0.0189 Using sigma generated white Gaussian noise and Sigma Gaussian =sigma of fast fading. Took auto correlation up to certain threshold and observed beta (std (A.C)) value of both signals is similar up…
kapal dev
  • 11
  • 2
1
vote
2 answers

To create Hamming window of length 64 with overlap 60% in Matlab

I am trying to give for Wigner-Ville Distribution Hamming Window of length 64 with 60% overlap here. I can create Hamming window of length 64 by h=hamming(64); Here is some theoretical pieces of advice about the issue. The window seems to be some…
0
votes
0 answers

DIAdem VB script ChnFiltCalc() method to python code

Can somebody help me translate this code in the below method call in DIAdem to python, this is used for noise reduction in the signal data with a given cutoff frequency and other conditions ChnFiltCalc(XW, Y, ResultChannel, FiltStruc, FiltStyle,…
0
votes
1 answer

Hamming window with overlap python

I'm trying to implement the paper Integrated optimization of underwater acoustic ship-radiated noise recognition based on two-dimensional feature fusion. My biggest problem is transforming .wav files to 2d arrays. In the paper, it's mentioned Each…
0
votes
1 answer

Straight Line when representing Lowpass filter in Python

I try to implement an Lowpass filter using a Hammond Window. The cut-off frequency it's 0.3 and the order of the filter it's 21. My problem is that I have a straight line and it's not crossing through the represented points. Here it's the code: from…
bicanul123
  • 427
  • 7
  • 21
0
votes
1 answer

Hamming filter to reduce ringing artifact in image

I have a low-resolution image (sLR) which is generated by selecting the central part of the reference high-resolution image (sHR) in the frequency (k-space) domain in row-direction. When I zero-pad this low-resolution image in frequency-domain, I…
0
votes
1 answer

Determining time-dependent frequency using a sliding-window FFT

I have an instrument which produces roughly sinusoidal data, but with frequency varying slightly in time. I am using MATLAB to prototype some code to characterize the time dependence, but I'm running into some issues. I am generating an idealized…
KPM
  • 331
  • 1
  • 13
0
votes
1 answer

Matlab Hamming Window to Vhdl 8-bit

I am going to use 128 point Hamming Window to be implemented in Vhdl. In Matlab, I obtained the values of the Hamming Window as: h = hamming(128); But, what Matlab gave me is varying values in the range 0 and 1. How can I convert these values into…
user893970
  • 889
  • 6
  • 17
  • 28
1
2