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 commentaires

KSSV
KSSV le 8 Fév 2017
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?
crixus
crixus le 8 Fév 2017
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
KSSV
KSSV le 8 Fév 2017
If vibration and temperature are not audio files then using audioread is ruled out.
crixus
crixus le 9 Fév 2017
i guess you dont understand my question ....

Connectez-vous pour commenter.

 Réponse acceptée

Jan
Jan le 9 Fév 2017
Modifié(e) : Jan le 9 Fév 2017

2 votes

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 commentaires

crixus
crixus le 9 Fév 2017
the pressure you are referring to is air pressure ?
Jan
Jan le 11 Fév 2017
Modifié(e) : Jan le 12 Fév 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.
crixus
crixus le 12 Fév 2017
alright. thanks for your input, appreciate it.
Kayla Magee
Kayla Magee le 1 Mar 2018
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!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by