https://github.com/audiofhrozen/pyimagesource
Image-source method for room acoustics
https://github.com/audiofhrozen/pyimagesource
ism-rir room-acoustics
Last synced: 2 months ago
JSON representation
Image-source method for room acoustics
- Host: GitHub
- URL: https://github.com/audiofhrozen/pyimagesource
- Owner: audiofhrozen
- License: apache-2.0
- Created: 2018-10-23T05:08:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T13:25:35.000Z (over 5 years ago)
- Last Synced: 2025-03-25T12:04:02.647Z (3 months ago)
- Topics: ism-rir, room-acoustics
- Language: Python
- Size: 3.49 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyImageSource
[](https://travis-ci.com/Fhrozen/pyimagesource)Image-source method for room acoustics
This code is a transcription for python. The original work for matlab is found at [Lehmann's main page](http://www.eric-lehmann.com/).
## Example
Execute `test_rir.py` found in the test folder
```sh
$ python test/test_rir.py
```## ToDo:
- Enable additional reveberation algorithm.## Requirements
- numpy
- scipy
- pathos (Optional): Parallel processing.## Benchmark:
Time evaluated for a 3-microphones array (in seconds):| Language | T60
(Reveb. 200ms) | T60
(Reveb. 800ms) | T20
(Reveb. 200ms) |
| --- | --- | --- | ---- |
| Matlab | 5 | 900 | 774 |
| Python (no pool) | 7 | 600 | 276 |
| Python (3 cpus) | 6 | 360 | 166 |## References
[1] E. Lehmann and A. Johansson, Prediction of energy decay in room impulse responses simulated with an image-source model, Journal of the Acoustical Society of America, vol. 124(1), pp. 269-277, July 2008.
[2] E. Lehmann, A. Johansson, and S. Nordholm, Reverberation-time prediction method for room impulse responses simulated with the image-source model, Proceedings of the IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA'07), pp. 159-162, New Paltz, NY, USA, October 2007.