freqRIR
Generate a room impuse response in the frequency domain.
Documentation
Read the documentation Docs
Time domain
Plot a typical impulse repsonse for a room 80 x 12 x 100 sample lengths long. Wall reflection coefficients were all 0.9, ceiling and floor coefficients were 0.7. Source and receiver were at (30, 100, 40) amd (50, 10, 60) sample periods [1].
Room impulse repsonse in time-domain
Installation
This package has been published on pypi , and can be installed easily through pip. To install it, run the following command:
$ pip install freqrir
Testing
The unit tests are located in the tests directory, they can be run from the root directory
$ python -m unittest discover -s tests
Publish Package
$ rm -rf build
$ python3 -m build # Build package into dist folder.
$ mv dist/freqrir-0.0.3-cp39-cp39-linux_x86_64.whl dist/freqrir-0.0.3-cp39-none-manylinux1_x86_64.whl
$ python3 -m twine upload dist/* --skip-existing # Upload to PyPi
References
Allen, J. B., & Berkley, D. A. (1979). Image method for efficiently simulating small‐room acoustics. The Journal of the Acoustical Society of America, 65(4), 943-950. Available
Lehmann, Eric A., and Anders M. Johansson. “Prediction of energy decay in room impulse responses simulated with an image-source model.” The Journal of the Acoustical Society of America 124.1 (2008): 269-277. Available
Peterson, P. M. (1986). Simulating the response of multiple microphones to a single acoustic source in a reverberant room. The Journal of the Acoustical Society of America, 80(5), 1527-1529. Available
Metadata
Release files for freqrir 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| freqrir-0.0.4.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| freqrir-0.0.4-cp39-none-manylinux1_x86_64.whl | CPython 3.9 | none | Linux glibc 2.5+ x86-64 | Details |
Total release size: 94.1 kB
Release files / freqrir-0.0.4.tar.gz
| Download URL | freqrir-0.0.4.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fe511416ec4a241cfbf4ca0b10e3edd2e2939b8fda24dfc0cd75d7eb6cdd413
|
|
BLAKE2b-256 checksum How to use checksums |
a3a066981c6d7fab2bf309ffaf192dadc579edee1148f54ae807b5b06f1d69fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Release files / freqrir-0.0.4-cp39-none-manylinux1_x86_64.whl
| Download URL | freqrir-0.0.4-cp39-none-manylinux1_x86_64.whl |
|---|---|
| Size | 77.7 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e8b652d9d9f32965f508c119e1005211a98870237634da666167976ed274ed74
|
|
BLAKE2b-256 checksum How to use checksums |
5da751af3777ef1d74408480737e13b5a0aa50675941293ee754431e99364f18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|