Lab 08 · FPGAcademy handout edition 21.1

Audio and threads

Observe a sample buffer while varying workload.

Start with Part I Why does the scale start an octave too low?

Parts in handout order

  1. Part I
    Why does the scale start an octave too low?

    FPGAcademy: Play a chromatic scale through the audio output

    Your computerLocal Linux terminal

    Original handout PDF

  2. Part II
    Find the missing notes in a chord

    FPGAcademy: Mix simultaneous tones to play chords

    Your computerLocal Linux terminal

    Original handout PDF

  3. Part III
    Why does the piano keep playing after you release a key?

    FPGAcademy: Build a threaded digital piano

    Your computerLocal Linux terminal

    Original handout PDF

  4. Part IV
    The piano sounds right. Why does the screen show the wrong octave?

    FPGAcademy: Draw the waveform of the notes being played

    Your computerLocal Linux terminal

    Original handout PDF

  5. Part V
    The notes are right. Where did the rests go?

    FPGAcademy: Record and play back a performance

    Your computerLocal Linux terminal

    Original handout PDF

  6. Part VI
    The piano reaches only one speaker

    FPGAcademy: Drive the audio port through a character device

    Your computerLocal Linux terminal

    Original handout PDF

Original starter files

lab8_design_files.zip