Data Returned By Audio Read ?

Hello all, I have a question in regards to audioread function in matlab (might be easy to some of you). Audioread('wave.wav') will return a normalized data of -1 to 1. So what exactly is this data type ? example if you measure vibration through use of vibration sensor, the data you can be be m/s (speed of vibration) etc or if you measure temperature using temperature sensor, you will get degree cel etc so if you use audioread on a wav file what is the data type (units) ?? It is sound pressure ?

4 Comments

audioread reads the .wav / sound file and returns sampled data, y, and a sample rate for that data, Fs. How you can have a sound/ audio file from vibration sensor and temperature sensor?
yes I understand that it returns sampled data, what I'm not sure is what is the unit for that sampled data. Vibration and temperature sensor are just examples i used to illustrate what I'm talking/asking about
If vibration and temperature are not audio files then using audioread is ruled out.
i guess you dont understand my question ....

Sign in to comment.

 Accepted Answer

Jan
Jan on 9 Feb 2017
Edited: Jan on 9 Feb 2017
The wav file contains the audio signal after the AD sampling. Then it means xVolt, where x is an an scaling factor, which depends on different values and does not matter for the processing. The value represents the amplitude of the sound, when recorded by the microphone, therefore it is actually a pressure.

4 Comments

the pressure you are referring to is air pressure ?
Jan
Jan on 11 Feb 2017
Edited: Jan on 12 Feb 2017
@crixus: If the microphon records the sound under water, it is the water pressure. Somebody calculated the sound of the big bang, see https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files, than it is the pressure realted to the density fluctations in the matter distributed of the universe.
alright. thanks for your input, appreciate it.
Where the output is xVolt, is the 'voltage' a peak to peak voltage? What is the specific amplitude? i.e. peak to peak, peak, rms, etc. ?? Thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products

Tags

Asked:

on 8 Feb 2017

Commented:

on 1 Mar 2018

Community Treasure Hunt

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

Start Hunting!