Solved

Wave problem

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE2 application frozen on Windows 10 10 278
Multiple image collision 13 69
Firemonkey DbLookupComboBox equivalent ? 2 38
Graphics32 under Delphi 10.1 Berlin 2 40
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

21 Experts available now in Live!

Get 1:1 Help Now