Skip to content

Commit

Permalink
Adds an extra file from DIRPAT to the repo. Adds more details about t…
Browse files Browse the repository at this point in the history
…he SOFA files included including origin and license in the documentation.
  • Loading branch information
fakufaku committed Oct 28, 2024
1 parent 2c48ac2 commit 9ba068f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
9 changes: 7 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Acoustic data for the simulation
include pyroomacoustics/data/materials.json
include pyroomacoustics/data/AKG_c480_c414_CUBE.sofa
include pyroomacoustics/data/EM32_Directivity.sofa
include pyroomacoustics/data/sofa_files.json
include pyroomacoustics/data/sofa/AKG_c480_c414_CUBE.sofa
include pyroomacoustics/data/sofa/EM32_Directivity.sofa
include pyroomacoustics/data/sofa/LSPs_HATS_GuitarCabinets_Akustikmessplatz.sofa
include pyroomacoustics/data/sofa/mit_kemar_large_pinna.sofa
include pyroomacoustics/data/sofa/mit_kemar_normal_pinna.sofa

Expand All @@ -23,9 +25,12 @@ graft pyroomacoustics/tests
graft pyroomacoustics/adaptive/tests
graft pyroomacoustics/bss/tests
graft pyroomacoustics/datasets/tests
graft pyroomacoustics/denoise/tests
graft pyroomacoustics/directivities/tests
graft pyroomacoustics/doa/tests
graft pyroomacoustics/experimental/tests
graft pyroomacoustics/libroom_src/tests
graft pyroomacoustics/phase/tests
graft pyroomacoustics/transform/tests

global-exclude *.py[co]
Expand Down
Binary file not shown.
32 changes: 31 additions & 1 deletion pyroomacoustics/datasets/sofa.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
r"""
Pyroomacoustics contains a small database of SOFA files that have been tested
and can be used for simultions.
The database can be loaded using the function :py:class:`~pyroomacoustics.datasets.sofa.SOFADatabase`.
The database can be loaded using the function
:py:class:`~pyroomacoustics.datasets.sofa.SOFADatabase`.
.. code-block:: python
Expand All @@ -33,6 +34,35 @@
db = SOFADatabase()
db.list()
The database contains the following files.
- Three files from the `DIRPAT database
<https://phaidra.kug.ac.at/detail/o:68229#?page=1&pagesize=10&collection=o:67857>`_
collected by Manuel Brandner, Matthias Frank, and Daniel Rudrich University
of Music and Performing Arts, Graz.
- ``LSPs_HATS_GuitarCabinets_Akustikmessplatz.sofa`` that contains 12 source
directivities.
- ``AKG_c480_c414_CUBE.sofa`` containing the directive responses of a
microphone with 4 different patterns.
- ``EM32_Directivity.sofa`` that contains the directional response of the
`Eigenmike em32 <https://eigenmike.com/eigenmike-em32>`_ microphone array.
- The files are public domain
(`CC0 <https://creativecommons.org/public-domain/cc0/>`_),
but if you use them in your research, please cite the following
`paper <https://aes2.org/publications/elibrary-page/?id=19538>`_.
M. Brandner, M. Frank, and D. Rudrich, "DirPat—Database and
Viewer of 2D/3D Directivity Patterns of Sound Sources and Receivers,"
in Audio Engineering Society Convention 144, Paper 425, 2018.
- Two head-related transfer functions of the MIT KEMAR dummy head
with normal and large pinna. The data was collected by Bill Gardner
and Keith Martin from MIT and is free to use provided the authors are
cited. See the
`full license <https://sound.media.mit.edu/resources/KEMAR/README>`_
for more details.
"""


Expand Down

0 comments on commit 9ba068f

Please sign in to comment.