Convert sound power in db to Watts
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!