Skip to content

Instantly share code, notes, and snippets.

@Allwin12
Created May 24, 2020 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Allwin12/c9f56406d96d5651538f02deaa1d2e11 to your computer and use it in GitHub Desktop.
Save Allwin12/c9f56406d96d5651538f02deaa1d2e11 to your computer and use it in GitHub Desktop.
import soundfile as sf
import matplotlib.pyplot as plt
data, sample_rate = sf.read('sample.wav')
plt.plot(data)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment