What you will learn
- Define and identify: Digital Audio Workstation (DAW), sound tab,
fitMedia(), - Demonstrate beats using the above functions
- Demonstrate Looping through items in a list
Reading
- Associated Reading in EarSketch
Do Now
Introduction to EarSketch
EarSketch, created by Georgia Tech, is an online tool that allows you to learn Python and music technology side by side. By applying concepts already covered in this curriculum such as functions, loops, and conditionals, you will be able to use the EarSketch IDE to create unique and entertaining beats and songs!
-
Read through and participate in the following lessons in EarSketch Editor
- 1.1.2 Tools of the Trade: DAWs and APIs
- 1.1.3 The EarSketch Workspace
- 1.1.5 The DAW in Details
- 1.1.8 Creating a New Script
- 1.1.9 Composing in EarSketch - fitMedia()
-
In your notebook, write down any terms or phrases that stand out to you to remember as you work through the lessons
Location of Lessons

Lab
Create a basic EarSketch project using the following requirements:
- Open the Earsketch DAW and log in.
- Click “Options – Save Script to Cloud” and set a name for your song.
- In comments at the top of your code, include your name, the name of the song (e.g. “Lab 5.01”), and a brief, clear description of the project.
- Set the tempo of the project to 140 BPM.
-
Make 4 different variables that will hold the following constants:
- DUBSTEP_BASS_WOBBLE_007
- DUBSTEP_PAD_003
- DUBSTEP_DRUMLOOP_MAIN_005
- DUBSTEP_LEAD_004
- Make at least 4 tracks using the fitMedia() function. Each track should contain a different audio loop from the other tracks.
- Each of the tracks should start or stop on different measures (e.g. track 1 starts on measure 1, track 2 starts on measure 4, and so on).
- Define and use at least 4 variables using 4 different constants from the EarSketch Audio Loop Browser.
- The project should have a total length of 12 measures.
- Include descriptive comments throughout your script.
- Copy and save the script to your online IDE for turn in.
Copyright Note
The above is taken from the EarSketch teaching resources.
Check your understanding
Pick an answer for each question. You can try again until you get it right.
1. What is a Digital Audio Workstation (DAW)?
- A function that repeats a sound
- Software for arranging, layering, and editing audio on tracks
- A file that stores one audio loop
- A type of Python loop
A DAW is the music-production environment where sounds are placed on tracks and combined into a song.
2. What does fitMedia() do in EarSketch?
- Changes the tempo of the song
- Deletes a track from the project
- Places an audio clip on a track across a range of measures
- Prints the name of a sound
fitMedia() takes a sound, a track number, and start and end measures, and fills that span with the clip.
3. Why is it helpful to store an audio constant in a variable?
- You can give it a readable name and reuse it in several places
- It makes the sound play louder
- It lets the sound play without a track
- It is required before the DAW can open
A variable gives the sound a meaningful name, so you can reuse it or change it in one place.