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

AudioSigna.stft() not updating stft_data and stft_params? #241

Open
dlaplagne opened this issue Oct 10, 2023 · 0 comments
Open

AudioSigna.stft() not updating stft_data and stft_params? #241

dlaplagne opened this issue Oct 10, 2023 · 0 comments
Labels

Comments

@dlaplagne
Copy link

Howdy

When running the .stft() method from an AudioSignal with alternative window_length and hop_length, those values are used for the returned value but stft_data and stft_params are not updated (with overwrite=True):

Screenshot 2023-10-10 104255

As a workaround, forcing the params to a new STFTParams works:

Screenshot 2023-10-10 103443

Software versions*
Windows-10-10.0.19044-SP0
Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)]
NumPy 1.24.4
SciPy 1.11.2
nussl 1.1.9

cheers

@dlaplagne dlaplagne added the bug label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant