Skip to content

Instantly share code, notes, and snippets.

View AB9IL's full-sized avatar
🎯
Focusing

Philip Colllier AB9IL

🎯
Focusing
View GitHub Profile
@AB9IL
AB9IL / livespec.py
Last active December 10, 2020 11:24 — forked from boylea/livespec.py
pyqtgraph live running spectrogram from microphone
import numpy as np
import pyqtgraph as pg
from matplotlib import cm
import pyaudio
from PyQt5 import QtCore, QtGui
FS = 48000 #Hz
CHUNKSZ = 1024 #samples
class MicrophoneRecorder():