Do Now 5.01
- Skim the 'Getting Started with Programming'
- Copy the following code from the reading above into the EarSketch Editor:
# python code
#
# script_name: Intro_Script
#
# author: The EarSketch Team
#
# description: This code adds one audio clip to the DAW
#
#
#
#Setup Section
from earsketch import *
init()
setTempo(120)
#Music Section
fitMedia(TECHNO_SYNTHPLUCK_001, 1, 1, 9)
#Finish Section
finish()
What inputs does fitMedia
take? Press the run button and describe what happened.