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

shifting sample pitch too high crashes sfizz #1311

Open
mrbumpy409 opened this issue Feb 10, 2025 · 0 comments
Open

shifting sample pitch too high crashes sfizz #1311

mrbumpy409 opened this issue Feb 10, 2025 · 0 comments

Comments

@mrbumpy409
Copy link

Overview

Using an envelope to shift the pitch of a sample too high crashes sfizz (and brings down the whole DAW as well, in my case). I discovered the bug while trying to create a sine wave sweep across the entire frequency range. The sweep works great when played at note C1 (with middle C = C4), but notes higher up the keyboard cause sfizz to crash.

Steps to Reproduce

  1. Download and extract pitch shift crash.zip.
  2. Load frequency_sweep.sfz into sfizz.
  3. Play note F2 or higher.

Actual Result

sfizz crashes, and possibly also brings down the DAW (in my case, REAPER also crashes). If I launch REAPER from the command line, I get the following text output when sfizz crashes:

Assert failed: !hasNanInf(buffer.getConstSpan(0))
Assert failed at /usr/src/packages/BUILD/library/src/sfizz/Voice.cpp:1352
Trace/breakpoint trap (core dumped)

Expected Result

sfizz shouldn't crash.

Additional Information

  • OS: KDE neon 6.2 (based on Ubuntu 24.04)
  • sfizz version: 1.2.3
  • DAW: REAPER v7.33
    • Audio driver: JACK / Pipewire
    • Audio sample rate: 48000 Hz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant