Skip to content

Commit

Permalink
contrib: fix scipy.signal.windows
Browse files Browse the repository at this point in the history
  • Loading branch information
boeddeker committed Jun 14, 2024
1 parent 287f544 commit d36fb14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion padertorch/contrib/cb/feature_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def cepstrum(
size: int=1024,
shift: int=256,
*,
window: typing.Callable=signal.blackman,
window: typing.Callable=signal.windows.blackman,
window_length: int=None,
fading: bool=True,
pad: bool=True,
Expand Down
6 changes: 3 additions & 3 deletions padertorch/contrib/jensheit/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from collections import Generator

WINDOW_MAP = Dispatcher(
blackman=signal.blackman,
hamming=signal.hamming,
hann=signal.hann
blackman=signal.windows.blackman,
hamming=signal.windows.hamming,
hann=signal.windows.hann
)


Expand Down

0 comments on commit d36fb14

Please sign in to comment.