-
Notifications
You must be signed in to change notification settings - Fork 11
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
The STKSitar opcode can create a buildup of clipped samples as illustrated by the attached csd file #4
Comments
Certainly odd. Replacing all frequencies to 440Hz and it is OK. So it s inside the Sitar class in C++ |
The more I look the stranger it is. If I comment out evertthng after the first score blank line it is OK. If I comment out the low note at time 3.7 then it gives an error much earlier! That rather suggests memory but valgrind reports nothing odd. Still no ideas where to look. Need Michael Gogins I think |
I suspect this is an STK bug, but I will look at it. |
The following one-line patch to the STK sources causes this behavior to stop, and rendering to look and sound normal.
This is enough to prove that the bug lies within the deleted line, or its side effects, and is entirely contained in the STK Sitar class. I do not understand what is happening well enough to really fix it, but I will open an issue in the STK repository that references this issue. |
as i don't have time right now to look into this myself, so I'm forwarding an oldish (6 years!) bug-report from Debian (here's the original bugreport), that appears to still be present in Csound-6.16
(i also reported this as csound/csound#1526 but was directed here)
find the CSD in STKSitar_overflow.zip
The text was updated successfully, but these errors were encountered: