Solved

Wave problem

Posted on 2004-10-19
1
242 Views
Last Modified: 2010-05-19
Wave problem

How to convert points (Value range between (for example) -1..1) of left and right channel to Frequency (Hz) and Amplitude (db) ?
and
How to convert Frequency (Hz) and Amplitude (db) to points (Value range between (for example) -1..1) of left and right channel ?

as

point (Value range between (for example) -1..1) -> Freq (Hz) and Amp (db)
Freq (Hz) and Amp (db) -> point (Value range between (for example) -1..1)

Thank You.
0
Comment
Question by:treqw
1 Comment
 
LVL 6

Accepted Solution

by:
Sergio_Hdez earned 500 total points
ID: 12355938
What does "point" means to you? If you imagine a click of sound as a point in the spectrum graphic, then a single point have no sound and no frecuencia: you need a serie of points, that goes up and down in some way, then you could try to get how often it comes up and down (Hz) and how up they goes (db), but in a "continuos" set of points.

Also, if you have a line of points, they can have the form of two sin waves added, so what you need is to decompose this into the sum of simple sinusuidal waves, each one with different "Hz" and "db" values... here you need a FFT (Fast Fourier Transformation) that takes the line as a input and gives you as the output exactly that serie of (Hz,db) pairs.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
delphi prevent click fast 2 242
find a node in VST 2 73
Magic Software info 18 139
When i run adoquery my application freezes 26 180
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question