Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech directivity #317

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Added
- New global parameter ``num_threads`` that controls the number of threads used in
multi-threaded code (rir builder only at the moment). The number of threads can also
be controlled via the environement variable ``PRA_NUM_THREADS``
- Added a new directivity object ``SpeechDirectivity`` which adds a frequency dependent directivity
pattern based on running speech.

Changed
~~~~~~~
Expand Down
642 changes: 522 additions & 120 deletions notebooks/rir_directivities_demo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyroomacoustics/acoustics.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def bands_hz2s(bands_hz, Fs, N, transform="dft"):
else:
j += 1

return np.array(bands_s, dtype=np.int)
return np.array(bands_s, dtype=np.int64)


def melscale(f):
Expand Down
Loading