Filter löschen
Filter löschen

Convert sound power in db to Watts

3 Ansichten (letzte 30 Tage)
Karthik Brs
Karthik Brs am 8 Dez. 2015
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

Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by