Loading...
DIGITAL AUDIO WORKSTATION
CODE EDITOR
1
EarSketch
Advanced
Variables
Logic
Operators
Control Flow
# All the lines starting with a '#' are comments, these are not Python commands
# Comments are used to make notes in your code, we use comments here to provide instructions
# This line of code imports a Python library that allows Python to interact with EarSketch
# You don't need to change this line of code
from earsketch import *
# STEP 1 - Run the code and play the song!
#
# EXPLANATION
# The Python code in this script will add sound clips from the SOUNDS library to tracks in the DIGITAL AUDIO WORKSTATION
# Once the tracks appear in the DIGITAL AUDIO WORKSTATION you can play the song created by the code
# The song needs your help to sound great.
# You are going to edit the Python code to change the song!
#
# ACTIVITY
# 1 - Select the RUN button in the CODE EDITOR to execute your code
# When the code executes it adds tracks to the DIGITAL AUDIO WORKSTATION
# 2 - Select the PLAY button in the DIGITAL AUDIO WORKSTATION to hear the song
# STEP 2 - Listen to the individual music tracks
#
# EXPLANATION
# To play different sounds and instruments at the same time we put them on different tracks
# Each row you see in the DIGITAL AUDIO WORKSTATION is one track
# In the DIGITAL AUDIO WORKSTATION to the left of each track are Mute (M) and Solo (S) buttons
# M allows you to mute a track
# S allows you to play a single track as a solo
#
# ACTIVITY
# 1 - Play the song
# 2 - Use the S and M to listen to the individual instruments and vocals on the different tracks
# STEP 3 - Change the tempo of the song
#
# EXPLANATION
# The tempo of a song controls how fast the song sounds
IMPORT TO EDIT
CURRICULUM
Loading curriculum...