-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
EnvelopeFollower last() method #53
Comments
So as to make this easy to test, the following will crash ChucK (for me). Seems like a seg fault
|
Thank you for the follow up, @boonier! I can reproduce on my end $ chuck crash.ck
Assertion failed: (func->native_func_kind == ae_fp_mfun), function execute,
file chuck_instr.cpp, line 5299.
Abort trap: 6 Since $ chuck fixed.ck
0.004344 :(float)
0.022559 :(float)
0.000005 :(float)
0.000015 :(float)
0.000000 :(float)
... |
Odd the $ chuck --loop
...
[chuck]: (VM) sporking incoming shred: 1 (envFollowerExample.ck)...
0.000001 :(float)
0.000000 :(float)
0.000000 :(float)
0.000002 :(float)
0.000000 :(float)
... $ chuck + import.ck
$ chuck + examples/envFollowerExample.ck |
hmm I have no idea... I have a question, what does the Step do in this class - is it like a sample and hold? |
Yep, exactly like a sample and hold. |
There seems to be some problem with naming the method:
fun float last()
(line 48)When I try to plug the value from that method into a ugen, I get an instance VM crash.
When renaming to
lastT()
for example, the EnvelopeFollower class functions as normal. Perhaps there is a conflict with the inherited Chugraph class'last()
method?The text was updated successfully, but these errors were encountered: