[chuck-users] changing a value with a function
Atte André Jensen
atte.jensen at gmail.com
Sat Nov 3 15:37:29 EDT 2007
Martin Ahnelöv wrote:
> Sure it works! I do it all the time!
Ok, I meant to say that the commented-out line "spork ~
changer2(f.freq)" doesn't work. At least it throws an error here...
> If FilterBasic doesn't work, try the more inflexible BPF, instead (But
> if it doesn't work, it's a bug).
FilterBasic works great as shown in changer(), but I'd like to write a
function like changer2() that can takes as parameter a pointer to an
Ugens parameter (like "f.freq") and modifies that.
Or are we speaking of different things?
peace, love & harmony
http://atte.dk | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk
More information about the chuck-users