Earsketch2‎ > ‎

Day 4 - Jan. 8, 2013 - Set the Foundation

posted Jan 13, 2013, 3:08 AM by Michael Reilly
  • First, we're going to review the basics of writing code.  This is your time to maybe take notes on subtle things you should do.  A good programmer is organized, focuses on basics and simplicity, you can do this!  Many of you already are!!
    • Here's a sample of basic code:

      #setup section
      from earsketch import *
      init()
      setTempo(120)

      #variables, constants, methods
      introDrums = ELEKTRO_HOUSE_DRUMS1_2M
      midDrums =  ELEKTRO_HOUSE_DRUMS4_2M

      fitMedia(introDrums, 1, 1, 5)
      fitMedia(midDrums, 2, 3, 10)

      #finalizing section
      finish()

  • Practice Quiz - we are going to take a practice quiz so you can understand what a quiz on programming will look like.  It's not about memorization, it's about usage, like a toolbox.  Can you use the tools you're given?  Open this practice, try and write the answer on paper and show me! Don't print it, just open and read.
  • Project02 - The rubric/requirements are online here, be ready to be graded on it, today is your last day to finish it!
  • You're welcome to look at the next steps, EFFECTS!!: http://earsketch.gatech.edu/category/learning/intro-to-effects
Comments