10 Jan
2008
10 Jan
'08
2:29 p.m.
Glad to help, Rich.
Indeed, the _p - (now % p)_ pattern comes up so much, it could even
have its own operator...
now %- dur => now; //sync to period
and for ints:
beatnum %- 4 => int notesel; //reverse sawtooth pattern, 4, 3, 2, 1, 4, 3, 2, 1
thought it might be nice if it subtracted from the highest value, ie:
3 - (beatnum % 4) => now; //zero-based reverse sawtooth, 3, 2, 1, 0, 3, 2, 1, 0
Graham
On Jan 10, 2008 6:16 PM, Rich Caloggero
Thanx Graham; this makes sense, and is chuckin cool! Gees, even I can understand it! Woohoo! -- Rich