473,513 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Digital Signal Processing

78 New Member
Hi all.

I've been busy with DSP in the past few days and i'd like to ask you guys some questions about it.

First of all, let me explain what i did. I built a java program which records sound and stores the samples in an array. All simple. What i want to do now, is analyze this signal and see which frequencies are present in it.

As i understand, i need to use FFT to transform this signal from time domain to a frequency domain. What i do is i get the samples, pass them to this program, which in turn, gives out imaginary and real values of my signal.

My question is, what are these values supposed to represent? Are they the power of the signal at certain frequencies? More over, i'm confused about the polarities. I have positive and negative values in my samples, i pass them to this program and it returns positive and negative, real and imaginary values. Am i supposed to take their absolute values at some point?

Thanks a lot.
Dec 1 '07 #1
3 2527
MarshMallow
52 New Member
Hi all.
What i want to do now, is analyze this signal and see which frequencies are present in it.

As i understand, i need to use FFT to transform this signal from time domain to a frequency domain. What i do is i get the samples, pass them to this program, which in turn, gives out imaginary and real values of my signal.

My question is, what are these values supposed to represent? Are they the power of the signal at certain frequencies? More over, i'm confused about the polarities. I have positive and negative values in my samples, i pass them to this program and it returns positive and negative, real and imaginary values. Am i supposed to take their absolute values at some point?

Thanks a lot.
Let me give you a brief introduction to the frequency domain signal analysis.
Fuorier transform basically gives you a frequency domain representation of a time domain function .
Why do we do that?
Basically the function we want to transform is an input electric signal;most of the times, this signal is a sinusoidal function.
From the Signal Theory class we know that the response of a linear system to a sinusoidal input(e.g. something like A*cos(omega*t + phi) is itself a sinusoidal function with the same omega but different A and phi;through Fourier analysis we can get information about how A and phi change according to omega;A is the magnitude of the signal;phi is the phase of the signal.
Going back to Mathematical Analysis class,we know that a complex number of the form a + b*j can be exactly represented in the polar form : A*e^(j*phi)
do you see them?they are A and phi!
A= sqrt(a^2+b^2) and phi = atan(b/a) if a >=0; atan(b/a)+3.14 if a <0
there is a close relation between real & imaginary parts and magnitude & phase.
I hope you understood what that real and imaginary numbers mean!
Dec 1 '07 #2
MarshMallow
52 New Member
I posted the same message twice,sorry
Dec 1 '07 #3
Sebouh
78 New Member
Yeh, i now know what they mean. So in my case, i only need to know the magnitudes of the frequencies, right? I don't need the phase to determine which frequencies are present in a signal. So i get A, and as i understand it, the frequency range covered by FFT will be half of the sampling rate, and each A will represent the magnitude of a 'bandwidth' = sampling rate / (N/2), correct?
Dec 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1557
by: sandipbiranwar | last post by:
hi i'm sandip. i'm doing a project in signal processing . i'm imlementing a c program for acoustic echo canceller for texas dps. i waana know that how could open and write signal file like wav/...
2
3657
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
18
3882
by: Sven | last post by:
Hi, I found a strange behaviour when using the time() function from time.h. Sometimes when it is called, it does not show the correct time in seconds, but an initial value. This time seem to be...
1
2886
by: stonny | last post by:
Hi, I am converting my matlab program into C. I need to change some image processing toolbox functions into C, such as edge detection, mathematical morphology. Since I am not very comfortable with...
2
2655
by: Massimiliano Campagnoli | last post by:
I would like to signal a warning from a trigger but what I get it's always and error instead of a warning. Is it possible to signal a warning from a trigger ? ..... SIGNAL SQLSTATE '01ZZZ'...
3
6866
by: vijay.db | last post by:
Hi Group, Running DB2 V8.2 Fxpack 9 in AIX 5.2, I get the following error frequently and my instance is stopped...collected some info like: the signal received is 11 which is SEGMENTATION...
1
2444
by: ziamughal | last post by:
sir tell me briefly that what is the analog and digital signal.the digital signal can be defined as the signal that will in the 0 and 1 format. but do the zeros and ones travel in the wires.and...
0
1596
by: Johannes Nix | last post by:
Hi, this might be of interest for people who are look for practical information on doing real-time signal processing, possibly using multiple CPUs, and wonder whether it's possible to use...
3
1865
by: Dmitriy V'jukov | last post by:
Latest C++0x draft N2723, 2008-08-25: "1.9/7 When the processing of the abstract machine is interrupted by receipt of a signal, the values of objects which are neither — of type volatile...
0
7537
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7099
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5086
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3233
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.