Sunday, March 09, 2008

Creative Computing - Week 1 - introduction to SuperCollider: 06/03/08

I have gone with the approach of applying a little 'nested functionality' in my programming efforts for this week. For the exercise requesting text sentences to be formed via concatenation I have written a small 'nonsense English' program similar to a Computer Science exercise undertaken last year.

Issues encountered this week for the most part involved coming to terms with SC's C-like brevity and multiple options in the application of its syntax. With only the syntactically rigid 'Java Language' to compare the experience to it seems an unclear and mysterious language from time to time.

My major victory for the week was a revelation regarding the use of functions within functions, namely the functions passed to conditional statement operators and loops. The revelation was this: If you need the action taken based on a condition to be a function itself, make sure that function is inside its own {} inside the statement position {}.


Click here to link to SC-rtf file of this weeks code.


Reference:

Haines, Christian. "Creative Computing - Week 1 - introduction to SuperCollider". Lecture presented at Tutorial room 408, Level 4, Schultz Building, University of Adelaide, 6th March, 2008.

4 Comments:

At 2:42 PM, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 9:46 PM, Blogger Ben said...

"If you need the action taken based on a condition to be a function itself, make sure that function is inside its own {} inside the statement position {}."

Well no shit.
Even I knew that.
Retard.

 
At 9:49 PM, Blogger Ben said...

Also, I found a picture of jojosho.

http://www.cdc.gov/aging/images/asian_woman.jpg

Ripe for the pluckin' methinks.

 
At 12:57 PM, Blogger David J Dowling said...

Quoting ben: "Well no shit. Even I knew that. Retard."

Well doesn't this bring back memories of trawling through Java forums last year. Upon discovering a useful piece of information posted by a helpful individual there would inevitably be a pointless snide remark, attached by a smug nerd who has obviously never had a girlfriend, indicating that the said information has been common knowledge among like-minded losers for centuries..

 

Post a Comment

<< Home