Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Temporal Recursion in SuperCollider
// recursion
f = {arg a;
a = a+1;
a.postln;
if(a<10, { thisFunction.value(a) })
};
f.(2)
// temporal recursion
f = {arg a;
fork{a = a+1;
a.postln;
0.1.wait;
if(a<10, { thisFunction.value(a) })
}};
f.(1)
@cdbzb

This comment has been minimized.

Copy link

cdbzb commented Oct 3, 2019

Cool thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.