Solved

Wave problem

Posted on 2004-10-19
1
241 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now