Labs
One lab per part. Each is seeded, runs in seconds with nothing to download, checks its own result against the theory it illustrates, and ends with three things to change. They are written on Monochord: the instrument the series builds: one simulated string in Part 1, then instruments, a studio, and machines that listen.
pip install numpy scipy matplotlib
python -m videos.music.labs --list
python -m videos.music.labs 1 --show
python -m pytest -q tests/test_courses.py -k music
Lab 1 · One StringA string from beads: its pitch and its pluck
Lab 2 · Waves in AirAir: its speed from the gas law, and a bottle's note
Lab 3 · The SpectrumTaking sound apart: the fast transform, and Gabor's limit
Lab 4 · The EarA listener in numbers: the middle ear, critical bands, the missing fundamental
Lab 5 · ConsonanceConsonance, computed: where the valleys are, and how to move them
Lab 6 · TuningTuning, computed: where each system hides the comma
Lab 7 · Strings, Hammers and BowsStrings, computed: a loop, a stiff wire and a bow
Lab 8 · Pipes, Reeds and VoicesWinds, computed: a column of air and a valve
Lab 9 · Drums, Bars and BellsPercussion, computed: tuning things that nature tunes badly
Lab 10 · Writing It DownNotation, measured: what each way of writing keeps
Lab 11 · Rhythm and MeterRhythm, counted: metres, syncopation and the ratios a listener expects
Lab 12 · Scales and ModesScales, derived and counted: fifths, evenness and necklaces
Lab 13 · Intervals and ChordsChords, named, rooted and spaced
Lab 14 · MelodyMelody, counted: steps, leaps, chance and surprise
Lab 15 · KeyKeys, found and mapped
Lab 16 · Two VoicesTwo voices, by rule and by count
Lab 17 · Four VoicesFour voices, counted and harmonized
Lab 18 · ProgressionsProgressions, counted
Lab 19 · Chromatic HarmonyChromatic harmony, computed
Lab 20 · Canon and FugueCanons, solved
Lab 21 · FormForm, measured
Lab 22 · AnalysisAnalysis, computed
Lab 23 · Chant to PolyphonyChant to polyphony, computed
Lab 24 · The RenaissanceThe Renaissance, measured
Lab 25 · The BaroqueThe Baroque, computed
Lab 26 · The Classical StyleThe Classical style, computed
Lab 27 · The Romantic CenturyThe Romantic century, computed
Lab 28 · New Scales, New RhythmsNew scales and new rhythms, computed
Lab 29 · Twelve TonesTwelve tones, computed
Lab 30 · Sound ItselfSound itself, computed
Lab 31 · TransformationsTransformations, computed
Lab 32 · The Geometry of ChordsThe geometry of chords, computed
Lab 33 · The Mathematics of Rhythm and ScaleRhythm and scale, computed
Lab 34 · Raga and TalaRaga and tala, computed
Lab 35 · MaqamMaqam, computed
Lab 36 · Bronze and SilkBronze and silk, computed
Lab 37 · TimelinesTimelines, computed
Lab 38 · Blues and SwingBlues and swing, computed
Lab 39 · ChangesChanges, computed
Lab 40 · The SongThe song studio, computed
Lab 41 · OrchestrationOrchestration, computed
Lab 42 · ComposingComposing as search, computed
Lab 43 · PerformingPerforming, computed
Lab 44 · Music for Picture and PlayMusic for picture and play, computed
Lab 45 · The SceneThe auditory scene, computed
Lab 46 · Expectation and EmotionExpectation, computed
Lab 47 · Origins and UniversalsOrigins, computed
Lab 48 · Digital AudioDigital audio, computed
Lab 49 · Filters, Delay and ReverbFilters, delay and reverb, computed
Lab 50 · Dynamics, Distortion and PitchDynamics, distortion and pitch, computed
Lab 51 · Synthesis I: Oscillators and FiltersSynthesis, computed
Lab 52 · Synthesis II: FM, Grains and Physical ModelsFM, grains and physical models, computed
Lab 53 · MIDI, Sequencers and the DAWMIDI and the engine, computed
Lab 54 · Microphones and LoudspeakersMicrophones and loudspeakers, computed
Lab 55 · Rooms and SpaceRooms and space, computed
Lab 56 · Recording and MixingRecording and mixing, computed
Lab 57 · Mastering and LoudnessMastering and loudness, computed
Lab 58 · Compression for the EarCompression for the ear, computed
Lab 59 · Live SoundLive sound, computed
Lab 60 · The Business of MusicThe business of music, computed
Lab 61 · Pitch, Onsets and TranscriptionPitch, onsets and transcription, computed
Lab 62 · Beat, Chords and StructureBeat, chords and structure, computed
Lab 63 · Finding MusicFinding music, computed
Lab 64 · Source SeparationSource separation, computed
Lab 65 · Machines that ComposeMachines that compose, computed
Lab 66 · Generative AudioGenerative audio's representations, computed
Lab 67 · Doing Research in MusicResearch methods, computed
Lab 68 · The VariationsThe round trip