Re: [chuck-users] De-Lurk Pt II. I forgot my spork!
I feel like a bit of a fool after that posting. I forgot to put back the "spork ~" in the section of code I was working on. Please revise code as follows: Should have posted link to code stored as a ck on my server, I could have fixed it in a jiffy, and saved y'all have to cut and paste it to get it working. sorry for the chatter. -Edward //------------------------------------ The Sequence Plays! ---------------------- while (true) { for (0 => int stab; stab < numsteps; stab++) { if (beats[stab] == 1) { <<<"Stab",stab,"">>>; spork ~ tampluck (stab); // <= this is the updated line! } click * 1::ms => now; } } //------------------------------------ The Sequence (never) Ends! ----------------------
Also, in your original code, you have one too many semicolons in this line(111): <<<"ERROR IN SEQUENCER DATA", "";>>>; I had to remove the one inside the chevrons to get it to run. (mis-type?) ;D Sounds good! Keep up the work! ;) -Drew Loscha wrote:
I feel like a bit of a fool after that posting. I forgot to put back the "spork ~" in the section of code I was working on.
Please revise code as follows:
Should have posted link to code stored as a ck on my server, I could have fixed it in a jiffy, and saved y'all have to cut and paste it to get it working.
sorry for the chatter.
-Edward
//------------------------------------ The Sequence Plays! ---------------------- while (true) { for (0 => int stab; stab < numsteps; stab++) { if (beats[stab] == 1) { <<<"Stab",stab,"">>>; spork ~ tampluck (stab); // <= this is the updated line!
} click * 1::ms => now; } } //------------------------------------ The Sequence (never) Ends! ----------------------
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Drew Jaworski
-
Loscha