iver56 / audiomentations

A Python library for audio data augmentation. Inspired by albumentations. Useful for machine learning.
https://iver56.github.io/audiomentations/
MIT License
1.83k stars 187 forks source link

Raise exception instead of warning when multichannel audio has wrong shape #276

Closed iver56 closed 1 year ago

iver56 commented 1 year ago

https://github.com/iver56/audiomentations/issues/274

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (8f9bfd5) 96.57% compared to head (78b650f) 96.57%.

:exclamation: Current head 78b650f differs from pull request most recent head c76df2d. Consider uploading reports for the commit c76df2d to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #276 +/- ## ======================================= Coverage 96.57% 96.57% ======================================= Files 44 44 Lines 1779 1781 +2 ======================================= + Hits 1718 1720 +2 Misses 61 61 ``` | [Impacted Files](https://app.codecov.io/gh/iver56/audiomentations/pull/276?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Iver+Jordal) | Coverage Δ | | |---|---|---| | [audiomentations/core/transforms\_interface.py](https://app.codecov.io/gh/iver56/audiomentations/pull/276?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Iver+Jordal#diff-YXVkaW9tZW50YXRpb25zL2NvcmUvdHJhbnNmb3Jtc19pbnRlcmZhY2UucHk=) | `93.65% <100.00%> (+0.20%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.