This notebook contains an example related to Chapter 5: Autocorrelation

Copyright 2015 Allen Downey

License: Creative Commons Attribution 4.0 International

In [1]:
# Get

import os

if not os.path.exists(''):
In [2]:
import numpy as np
import matplotlib.pyplot as plt

from thinkdsp import decorate

The case of the missing fundamental

This notebook investigates autocorrelation, pitch perception and a phenomenon called the "missing fundamental".

I'll start with a recording of a saxophone.

In [3]:
if not os.path.exists('100475__iluppai__saxophone-weep.wav'):
In [4]:
from thinkdsp import read_wave

wave = read_wave('100475__iluppai__saxophone-weep.wav')