Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert sound power in db to Watts

Status
Not open for further replies.

karthikbrs21

Mechanical
Dec 8, 2015
1
Hello everyone,
I have a text file which contains the values of sound powers in 'db' for different frequencies. This data comes from a acoustic measurement software. Previously, I had written a script in Matlab to simulate this frequency and sound power data as a .wav audio file, using the values of sound powers(db) as amplitudes. The code looks something like:
Code:
 Wavaudio = SoundPower*sin(2*pi* frequency*values)
But then I realised, I can not use the values of sound power directly into my code as the values are in 'db'. I am looking for a workaround to convert the values of sound power from 'db' to 'Watts' or any other unit which allows me to use it directly into my script. I am including my text file with this query just in case!
Waiting for your input. Thank you in advance!
PS : I have a Campbell diagram and I am trying to represent it in the form of a audio file(.wav*). My aim is to get an audio file which produces sound with amplitudes as per the sound power values, for frequencies as given in my text data.

Regards,
Karthik
 
 http://files.engineering.com/getfile.aspx?folder=cda7219e-ba6f-4e7a-9840-a32041f7e364&file=fpg2_schall.txt
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor