Room Impulse Response extraction package.
Project description
SCENE-RIR
The purpose of the package is to extract the room impulse response (RIR) from the recorded response signal of a proper excitation signal. The new swept-sine measurement method [1] is applied. Both linear sweep, corresponding to a white spectrum noise signal, and sweep with its frequency increasing exponentially with time, corresponding to pink spectrum noise signal, are implemented. The exponential swept-sine production is based on Angelo Farina's methodology [2].
It is part of the Audio Simulation Module, developed for the "Searchable multi-dimensional data lakes, supporting Cognive film production & distribution, for the promotion of the EuropeaN Cultural HeritagE" Horizon project, SCENE (2023-2025).
Copyright (C) 2025 Christos Sevastiadis
Installation
Use pip to install scene-rir
pip install scene-rir
(Requires Python>=3.8)
Installation verification
To check if the package was installed successfully, try:
python -c "import scene_rir.rir; help(scene_rir.rir)
If the scene-rir is installed, this command will print all of its help documentation string.
Examples of usage
Examples of usage can be found in the examples and tests directories of the
repository tree. There are Python scripts in .py files, and Jupyter notebooks in
.ipynb files. To execute the test .ipynb notebooks, the directory input with its
content should be downloaded, either. To execute the examples and the tests, some extra
packages should be installed, for example, the matplotlib package.
Usage from the Comman Line
Open a Terminal or Command Prompt
- Windows: Press
Win + R, typecmd, and hitEnter. - Mac/Linux: Open the terminal from your applications menu or use
Ctrl + Alt + T.
Use the following command to get help for the Command Line usage
python -m scene_rir.rir --help
License: GNU GPL v3.0
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
References
- [1]: International Organization for Standardization (2006). Acoustics — Application of new measurement methods in building and room acoustics (ISO Standard No. 18233). Retrieved from https://www.iso.org/standard/40408.html.
- [2]: Farina, A. (2000, February). Simultaneous measurement of impulse response and distortion with a swept-sine technique. In Audio Engineering Society Convention 108. Audio Engineering Society.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scene_rir-2025.4.tar.gz.
File metadata
- Download URL: scene_rir-2025.4.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
662900ff680d07906035632c77f6c877b4fb8ace1bcccfe2559ce8bd3ab8c515
|
|
| MD5 |
9523cac432ed12ce4ec89405b577f337
|
|
| BLAKE2b-256 |
1c6c30e9125952ec666124c2e43885af98c15fa5712a77a3d7f1abde8721d051
|
File details
Details for the file scene_rir-2025.4-py3-none-any.whl.
File metadata
- Download URL: scene_rir-2025.4-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df1d81526af8744f9b543dfd88372cf5c3805724c82271696bde626da5a5669
|
|
| MD5 |
838264f6f8e85942aee9b27e55e322af
|
|
| BLAKE2b-256 |
fd58cea529d278bea7c695b710a496fbc5f60de9ee509f83c747786dd4eb04b6
|