Skip to main content

A room impulse response generator using pybind11

Project description

Documentation Status Python package

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

Room impulse repsonse in time-domain

Installation

The python libraries necessary ro run this can be installed using pip as follows

$ pip install .
$ pip install -r requirements.txt

Testing

The unit tests are located in the tests directory, they can be run from the root directory

$ python -m unittest discover -s tests

References

  1. 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

  2. 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

  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freqrir-0.0.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

freqrir-0.0.1-cp39-none-manylinux1_x86_64.whl (68.4 kB view details)

Uploaded CPython 3.9

freqrir-0.0.1-cp39-none-any.whl (68.2 kB view details)

Uploaded CPython 3.9

File details

Details for the file freqrir-0.0.1.tar.gz.

File metadata

  • Download URL: freqrir-0.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for freqrir-0.0.1.tar.gz
Algorithm Hash digest
SHA256 97ec3ab1734f59536eef81e3c0a91fe87706b2fdd1d5c0848279c37333d55447
MD5 a90b7a3bdcbf2bdb9f0db08e6e04f11e
BLAKE2b-256 242be6782aac9b8b55a17475641be540331872d2dd73ce83b2427501712464d0

See more details on using hashes here.

File details

Details for the file freqrir-0.0.1-cp39-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: freqrir-0.0.1-cp39-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 68.4 kB
  • Tags: CPython 3.9
  • Uploaded using 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

File hashes

Hashes for freqrir-0.0.1-cp39-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 392b74bcb723879a5e7043e0c58db979a1300b28c7264007c872012215267da5
MD5 3b50f955052782522f40ae9a70bb6aa1
BLAKE2b-256 1ba836125f2b5b8ab4d9b799fef1269dcb2f29f598bce7e0548e28218fcd97ed

See more details on using hashes here.

File details

Details for the file freqrir-0.0.1-cp39-none-any.whl.

File metadata

  • Download URL: freqrir-0.0.1-cp39-none-any.whl
  • Upload date:
  • Size: 68.2 kB
  • Tags: CPython 3.9
  • Uploaded using 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

File hashes

Hashes for freqrir-0.0.1-cp39-none-any.whl
Algorithm Hash digest
SHA256 0b59dcd700b4809b72a1c0fe6970e574696fa0a1963ed5aaf1e15f38d122c886
MD5 6df83b337dc1b01df1c08623e9226a29
BLAKE2b-256 dd53da26f09a772c685d71cdb2e1fbba632c46e3051243bc101f6586c5443595

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page