Skip to content

Instantly share code, notes, and snippets.

@ThomasHuang168
ThomasHuang168 / audioplayer.py
Created October 21, 2019 05:38 — forked from deeplycloudy/audioplayer.py
Simple Python audio player with matplotlib and pyaudio
""" Play an audio file with pyaudio while concurrently showing audio playhead
on a matplotlib plot of the audio time series and spectrogram.
Adjust duration and filename in the script below to reflect your audio file.
v. 0.1
21 Mar 2012
Eric Bruning
"""