Learning path

Represent sound for computation

For musicians and programmers exploring digital audio. Move between a continuous tone, samples and symbolic notes before choosing how to order records.

  1. How can two different tones give the same digital samples?

    Mark equally spaced instants and draw two sinusoids passing through the same sample values. Change the spacing while keeping the original waves fixed. Predict whether the ambiguity survives.

    Demonstration 1: Sampling, Aliasing, and Frequency Response, Part 1 · Demonstration 2: Sampling, Aliasing, and Frequency Response, Part 2
  2. What does a computer need to represent a melody?

    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.

    Class 1 Video: How Do Computers "Hear" Music? · Class 2 Video: Representation of Notes, Pitches, and Durations
  3. Why does merge sort scale differently from insertion sort?

    Sort eight cards by merging pairs, then groups of four, then groups of eight. Record comparisons at each level. Predict how adding eight more cards changes the depth and the work per level.

    Lecture 3: Insertion Sort, Merge Sort · Lecture 4: Heaps and Heap Sort

Export the reading list

Add to a playlist