signal-processing

How can I use fast FFT-based convolution to implement a LPF if the fast convolution requires a LPF?

*爱你&永不变心* 提交于 2019-12-03 03:45:14
I'm an experienced software engineer with some minor college DSP knowledge. I'm working on a smartphone application to process signal data, such as from the microphone (sampled at 44100 Hz) and the accelerometer (sampled at 32-50 Hz). My applications would be, for example, pitch detectors and so forth. I want to implement a low-pass filter (LPF) on the phone to remove aliased frequencies, particularly for the accelerometer, which has a low sampling rate. However, I am finding a contradiction when trying to apply the fast FFT-based convolution method. Any help would be appreciated. Here is my

Android Signal analysis + some filters

我们两清 提交于 2019-12-03 03:33:17
as the world cup is the main sport event and the Vuvuzelas are the most annoying sound in the world, I had an idea to remove them definitively by reading this new ( http://www.popsci.com/diy/article/2010-06/simple-software-can-filter-out-vuvuzela-whine ) that told us that the sound has some frequencies at 233Hz + 466,932,1864Hz. I have already made a lot of Android application by myself but never touching the signal analysis and filtering part, so here are a few questions, I do not ask for precise answer but maybe links and tutorial to find something to work on. I guess that a new Android

Estimate transfer function from input output data

天涯浪子 提交于 2019-12-03 03:33:13
I have a two-column matrix of data obtained from NI-DAQ. The first column is the output data of a motor-generator set (with driver) and the second column is the input data (square wave). I want to find the transfer function using tfest without Simulink. Is it possible? I have System Identification Toolbox . How can I attach a .mat file to this post? My data on gist https://gist.github.com/anonymous/6484844 thewaywewalk You already got the right idea, I don't know where you got stucked. Here is the code which solves your problem, I tested it, its works fine. Be aware that a simpler input

How Shazam or Sound Hound works? [closed]

懵懂的女人 提交于 2019-12-03 03:23:46
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I'm developing an iOS application with SDK for iOS 5.0 and XCode 4.2 . I want to develop an application that recognize sounds. I see there is an application called Sound Hound that recognize music and tells artist and title. How can I do something similar? I want to compare a

Build sample data for apache commons Fast Fourier Transform algorithm

China☆狼群 提交于 2019-12-03 03:06:47
I wanted to use Apache math commons implementation for FFT ( FastFourierTransformer class) to process some dummy data whose 8 data samples are contributing to one complete sinusoidal wave. The maximum being amplitude 230. The code snippet that I tried is below : private double[] transform() { double [] input = new double[8]; input[0] = 0.0; input[1] = 162.6345596729059; input[2] = 230.0; input[3] = 162.63455967290594; input[4] = 2.8166876380389125E-14; input[5] = -162.6345596729059; input[6] = -230.0; input[7] = -162.63455967290597; double[] tempConversion = new double[input.length];

Transferring data using ultrasound

a 夏天 提交于 2019-12-03 02:44:46
Yamaha InfoSound and ShopKick application use technologies that allow to transfer data using ultrasound . That is playing an inaudible signal (>18kHz) that can be picked up by modern mobile phones (iOS, Android). What is the approach used in such technologies? What kind of modulation they use? I see several problems with this approach. First, 18kHz is not inaudible. Many people cannot hear it, especially as they age, but I know I certainly can (I do regular hearing tests, work-related). Also, most phones have different low-pass filters on their A/D converters , and many devices, especially

HOW to get MFCC from an FFT on a signal?

安稳与你 提交于 2019-12-03 02:04:47
问题 SHORT AND SIMPLE: Hi all very simply... I just want to know the steps that are involved to get an MFCC from an FFT. DETAILED: Hi all. I am working on a drum application where I want to classify sounds. Its just a matching application, it returns the name of the note that you play on the drum. Its a simple indian loud big drum. There are only a few notes on there that one can play. I've implemented the fft algorithm and successfully obtain a spectrum. I now want to take it one step further and

Doing FFT in realtime

隐身守侯 提交于 2019-12-03 01:47:02
问题 I want to do the FFT of an audio signal in real time, meaning while the person is speaking in the microphone. I will fetch the data (I do this with portaudio, if it would be easier with wavein I would be happy to use that - if you can tell me how). Next I am using the FFTW library - I know how to perform 1D, 2D (real&complex) FFT, but I am not so sure how to do this, since I would have to do a 3D FFT to get frequency, amplitude (this would determine the color gradient) and time. Or is it just

Integrating gyro and accelerometer readings [duplicate]

血红的双手。 提交于 2019-12-03 01:23:21
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Combine Gyroscope and Accelerometer Data I have read a number of papers on Kalman filters , but there seem to be few good publically accessible worked examples of getting from mathematical paper to actual working code. I have a system containing a three-axis accelerometer and a single gyro measuring rotation around one of the accelerometer axes. The system is designed to be held by a human, and much of the time

Data to audio and back. Modulation / demodulation with source code

安稳与你 提交于 2019-12-03 01:12:34
问题 I have a stream of binary data and want to convert it to raw waveform sound data, which I can send to the speakers. This is what the old-school modems did in order to transfer binary data over the phone line (producing the typical modemish sound). It is called modulation. Then I need a reverse process - from the raw waveform samples, I want to obtain the exact binary data. This is called demodulation. Any bitrate will work for a start. The sound is played using computer speakers and sampled