Skip to content

Instantly share code, notes, and snippets.

View zemogle's full-sized avatar

Edward Gomez zemogle

View GitHub Profile
@fopina
fopina / mic_client.py
Created July 28, 2016 12:24
microphone streaming with pyAudio
#!/usr/bin/env python
import pyaudio
import socket
import sys
FORMAT = pyaudio.paInt16
CHANNELS = 1
RATE = 44100
CHUNK = 4096