DIGITAL AUDIO WORKSTATION

CODE EDITOR

# This line of code imports a Python library that allows Python to interact with EarSketch
from earsketch import *

# TODO 1
# Press RUN and then the PLAY button to hear your song

# TODO 2 Experiment with the M and S buttons bexide the track numbers
# M allows you to Mute a track
# S allows you to play a single track as a solo
# Use these to listen to individual instruments and vocals and see how they sound alone or when played together

# TODO 3
# The tempo is the number of beats per minute
# Change the number in parentheses to any number between 45 and 220
# Then RUN and PLAY the song again to see how it changed
# Notice how the tempo changes the mood of your song
# Find a tempo you like and continue
setTempo(120)

# TODO 4
# Below we create four variables, each contains a different sound
# The song opens with a vocalization, listen to each and then
# update the fitMedia command below to use the variable name for the sound you want to use in your song
chant1 = JWOLF_COTG_VOX_MISC_SHOUT
chant2 = SAMIAN_PEUP_THEME_CHANT_1
chant3 = JWOLF_COTG_VOX_MISC_CHANT
chant4 = TFLAMES_OMEN_VOX_CHOR_1

# fitMedia is a function that places a sound on a track so you can hear it in your song
# Modify the function call by changing the soundToPlay to the vocal of your choice
# fitMedia(soundToPlay, tracknumber, startMeasure, endMeasure)
fitMedia(chant1, 1, 2, 4) # the chant we use as an intro at the very start of the song
fitMedia(chant1, 1, 17,19) # the chant we use as an outro at the very end of the song

# TODO 5
# Most songs have a steady drum beat playing throughout, listen to the four choices and then
IMPORT TO EDIT

Welcome Students and Teachers!

Welcome to EarSketch!

Teachers: View our new curriculum guide, and visit our EarSketch Teacher Site for additional resources.

Students: Continue below to learn more about EarSketch

Here you will learn computer science and music technology side by side. You will use either Python or JavaScript to create your own music.

Musicians and programmers write computer code to create new sounds, effects, and songs.

Learning to write computer code is a skill that will be useful to you in a variety of career paths.

Maybe you’ll become a legendary music producer or the industry’s most sought-after recording engineer! We wish you good luck on your EarSketch journey.

Click on the right arrow at the top of this text to get started.

Teachers, get access to free teacher materials and community here!