Wednesday 12 March 2008

CC - Week 01 - pseudo programming


This weeks task : to transform input from a drum kit into a note on a 'musical device'.

I suppose I probably don't need to worry too much about certain assumptions, but am not entirely confident so will make a couple.

There is a drum kit, when one of the components is struck, this becomes the input.
The output is directed to a musical device with input mechanism undefined (could be midi, could be physical direct manipulation).
The program will stop running at the end.

So, the code (as expected the formatting was lost so I am effectively using 2 complementary images).






I was struck by the number of ways this exercise was possible, but mostly i was struck by 'CASE' hence my using this method.




REFERENCES.

Haines, Christian. CC2 - Planner - Week 1 - Programming & Pseudocoding.pdf

Dalbey, Dr John 2006, Pseudocode Standard, 11/1/2007, http://www.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html


Dalbey, Dr John 2006, Vague Pseudocode examples, 11/1/2007, http://www.csc.calpoly.edu/~jdalbey/SWE/pdl_vague.html

Edwards, Peter 2000, A Pseudocode "Standard", 11/1/2007,
http://www.csd.abdn.ac.uk/~pedwards/teaching/CS3007/requirements/pseudocode.html

1 comment:

John said...

Wow that drum kit is supreme style-plus!! All it needs now is some hexagon-shaped electronic toms from the 80s (in beige color) to top it off. Would be nice to have one at EMU.