Universite-Gustave-Eiffel / I-Simpa

An Open Source software for 3D sound propagation modelling
https://i-simpa.univ-gustave-eiffel.fr/
GNU General Public License v3.0
238 stars 57 forks source link

Get SPL over time results from the .recp file #279

Closed funkywok closed 3 years ago

funkywok commented 3 years ago

I am interested in using i-simpa and SPPS to study some echo-timing-related problem in a room. I notice that the SPL over time is available in the results of punctual receivers, as shown in the fig below. I think these SPL results contains the timing info of the echoes, please correct me if I am wrong.

image

My silly question is how can I get these data from the "Sound level.recp" file in the folder?

Btw, is it possible today to directly obtain the room impulse response from i-simpa?

Thanks!

nicolas-f commented 3 years ago

how can I get these data from the "Sound level.recp" file in the folder?

You want these data with or without using I-Simpa ? If it is with I-Simpa you can export the table "Sound level" by right clicking on the table then "save to"

The sound source is in single impulse mode so maybe computing the impulse response is possible ?

funkywok commented 3 years ago

Hi Nicolas, thank you for your prompt reply!

For current stage, I can save the data by right-clicking in i-Simpa. Later I might want to extract the data from the recp file for data processing without i-simpa GUI. Is it tricky to do so?

nicolas-f commented 3 years ago

Without the GUI you can use the libsimpa library. Its a C/Python library. You can find an example here:

https://github.com/Ifsttar/I-Simpa/blob/master/src/python_bindings/samples/spps_conversion_resultats.py

The python interpreter is on the I-Simpa install folder

funkywok commented 3 years ago

Noted with thanks! I will look into it