Convert sound power in db to Watts

3 次查看(过去 30 天)
Karthik Brs
Karthik Brs 2015-12-8
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:
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 to show how my data looks like. 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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by