Skip to content

[PYTEST WARNING] Equal loudness filter #7300

@CaedenPH

Description

@CaedenPH

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions