Skip to content

[PYTEST WARNING] Equal loudness filter #7300

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

Closed
CaedenPH opened this issue Oct 16, 2022 · 0 comments
Closed

[PYTEST WARNING] Equal loudness filter #7300

CaedenPH opened this issue Oct 16, 2022 · 0 comments
Labels
enhancement This PR modified some existing files

Comments

@CaedenPH
Copy link
Contributor

Feature description

@mart Please could you resolve this warning

audio_filters/equal_loudness_filter.py: 34 warnings
  /opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/yulewalker/yulewalker.py:153: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
  Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
    j = np.arange(nb, ne).astype(np.int)

audio_filters/equal_loudness_filter.py::audio_filters.equal_loudness_filter.EqualLoudnessFilter.process
  /opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/yulewalker/yulewalker.py:178: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
  Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
    nt = np.arange(0, nr).astype(np.int)

origin: #7211

@CaedenPH CaedenPH added the enhancement This PR modified some existing files label Oct 16, 2022
@cclauss cclauss closed this as completed Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This PR modified some existing files
Projects
None yet
Development

No branches or pull requests

2 participants