Topic guide

What does a computer need to represent a melody?

Start with Class 1 Video: How Do Computers "Hear" Music?

A recording, a list of pitches and a score preserve different properties of a performance. Follow the live coding example and ask what information must already have been extracted before the program can compare notes.

Try it

Encode a four-note phrase as pitches and durations. Perform it twice with different timbres and then transpose it. Identify which changes survive your encoding and which require a different representation.

Check your reasoning

A score can preserve the same pitches and durations for two performances with very different waveforms. Transposition changes the recorded pitches while preserving intervals. State which kind of musical similarity you want to measure before choosing a representation.

Continue with Class 2 Video: Representation of Notes, Pitches, and Durations

The notes-and-durations lesson makes the representational choice explicit and gives you a basis for testing your encoding.

Teaching and evidence

Add to a playlist