Measuring Sound Pressure Level from Audio Input

I am attempting to essentially make a sound level meter that will output time stamped sound level measurements (equivalent, max, min, peak, and frequency data) using an audio input (not a .wav file).
It seems the splMeter object has potential but all examples use a .wav file as the input and only plot the results. My output needs to be a file with the above variables measured every minute.
Any assistance would be greatly appreciated!

2 件のコメント

Walter Roberson
Walter Roberson 2021 年 5 月 25 日
Any kind of sound pressure system, whether from mic or from file, relies upon the system being calibrated. Do you have a way of calibrating your system? Do you have a source that is able to create different specific sound pressures so that you could measure the levels recorded by that particular model of microphone ? (the next model over by the same brand might need a different calibration.)
Kenton Hummel
Kenton Hummel 2021 年 5 月 25 日
Hi Walter! Yes I have a calibrator that outputs 94 dB at 1 kHz which I will use to adjust the calibration factor parameter of the splMeter object. Once set up I also plan to test the accuracy against a type 1 sound level meter using differing levels and signals. Currently I am just having issues writing the code to make the measurements.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 5 月 25 日

0 投票

We recommend that you get the Audio System Toolbox and use audioDeviceReader system objects. https://www.mathworks.com/help/audio/ref/audiodevicereader-system-object.html
Using audiorecorder https://www.mathworks.com/help/matlab/ref/audiorecorder.html is not recommended for this purpose, as it cannot stream audio, and it has higher latency.

カテゴリ

ヘルプ センター および File ExchangeMeasurements and Spatial Audio についてさらに検索

質問済み:

2021 年 5 月 25 日

回答済み:

2021 年 5 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by