What you will learn
- Create a complete song in EarSketch with multiple parts
- Utilize EarSketch’s features and functions
Do Now
-
Begin reading the following lessons in the EarSketch documentation in Unit 3.
- Write down 2-3 songs that have a structure that you could emulate in EarSketch.
- For one of those songs write down the different musical parts of the song, in order. This most likely will include verses, the chorus, and the bridge.
Example
Using Pharrell Williams’ “Happy”:
- Section A
- Section B
- Section A
- Section B
- Bridge
- Section B
- Section B
- Bridge
- Section B
- Section B
Note: No intro or outro in this song.
Copyright Note
The above is taken from the earsketch teaching resources.
Project
Overview
Using Python and EarSketch you will create a complete song consisting of 2 verses, a chorus, and a bridge. We have worked in class to practice creating sections of songs. We’ll use that knowledge to create a song using the samples we are given.
Behavior
- The song will have pattern (verse, chorus, verse2, chorus, bridge, chorus)
- Create 4 different variables that will hold your choice of audio constants.
- The verses should contain some of the same forms, but be independent.
- The project should have at least 4 tracks, and each track should use a different/unique sound file (different constant).
- Each verse should consist of at least 8 measures.
- The chorus should consist of at least 8 measures.
- The bridge should consist of 2-8 measures.
- The song should have a flow and underlying themes that recur via the use of variables.
Implementation Details
- Use of
forloop for creating tracks - Use of control flow operators
- Proper use of
fitMedia,makeBeat,setEffect - Use of user-defined functions for tracking forms and verses and choruses
- Use of return statements for tracking the measure
Copyright Note
The above is adapted from the earsketch teaching resources.
Rubric
Student Name: ___________ Date: ________
| Functional Correctness(Behavior) | Points | Points Earned |
|---|---|---|
| Song Runs and Plays | 5 | |
| Recognizable Chorus vs Verse | 10 | |
| Correct Length | 5 | |
| Contains some reoccurring themes | 5 | |
| Sub total | 25 | |
| Technical Correctness | ||
| Correct use of loop | 5 | |
| Correctly uses control flow | 5 | |
Correctly use of fitMedia, makeBeat, setEffect |
10 | |
| Use of user defined functions for choruses, forms, verses | 10 | |
| Keeps track of measure using return statements | 15 | |
| Sub total | 45 | |
| Total | 70 |
Final Grade
| Points Possible | Points Earned | Percentage |
|---|---|---|
| 70 |
Check your understanding
Pick an answer for each question. You can try again until you get it right.
1. Why plan a song’s sections, in order, before writing code?
- EarSketch will not run without a plan
- It shows which functions you need and how they fit together
- It makes the song longer
- It replaces the need for comments
Listing the parts in order lets you turn each into a function and call them in the right sequence.
2. If each section function returns the measure where it ended, what is that useful for?
- Changing the tempo
- Stopping the song
- Making the section louder
- Knowing where the next section should start
The returned measure tells the next section where to begin so sections do not overlap or leave gaps.
3. What do you gain by reusing a chorus function each time the chorus returns?
- The chorus stays consistent and you write the code only once
- The chorus gets a different sound each time
- The song becomes shorter automatically
- Variables are no longer needed
Calling one function repeatedly keeps the repeated section identical and easy to update in one place.