CC2 - Week 1 - Pseudocode
This week of CC introduced us to Pseudocode, otherwise known as 'English'. Our task description did not specify whether a note will be played by a person on an instrument or by the program itself, so I will not specify either.
If the program itself was generating the initial note, I would surmise some sort of NoteGenerator would be needed. Although if you have a NoteGenerator, why are you getting it to play in D Major only to transpose it into B Minor? One would think choosing B Minor to begin with would suffice. If a human was needed to enter the note values manually, then some additional 'code' would be needed, probably along the lines of 'IF note is played THEN' just after the REPEAT command.
1. Christian Haines. "Creative Computing: Semester 1, Week 1. Programming & Pseudocode." Lecture presented at the Electronic Music Unit, University of Adelaide, South Australia, 1st March 2007.
No comments:
Post a Comment