This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load the required libraries: | |
# * scipy | |
# * numpy | |
# * matplotlib | |
from scipy.io import wavfile | |
from matplotlib import pyplot as plt | |
import numpy as np | |
# Load the data and calculate the time of each sample | |
samplerate, data = wavfile.read('Clapping.wav') |