Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

spectrogram: Infinite loop in calculate_ticks if step == 0 #79

Open
coypoop opened this issue May 3, 2021 · 3 comments
Open

spectrogram: Infinite loop in calculate_ticks if step == 0 #79

coypoop opened this issue May 3, 2021 · 3 comments

Comments

@coypoop
Copy link

coypoop commented May 3, 2021

A file generating this infinite loop is available here: http://coypu.sdf.org/dial1.audio
(Also unclear why the spectrogram is the way it is for this file).

@janstary
Copy link

To confirm, sndfile-spectrogram dial1.audio 640 480 file.png
never finishes, eats up the CPU, and does not produce a file.
This is on OpenBSD 7.5/amd64.

@janstary
Copy link

@coypoop : How did you even get the spectrogram, if it never finishes?

@coypoop
Copy link
Author

coypoop commented May 22, 2024

I don't remember, I might have edited the code to avoid the infinite loop.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants