Skip to content

Instantly share code, notes, and snippets.

View barrettkowalsky's full-sized avatar
💻
Learning HTML, CSS, & JS!

Barrett Kowalsky barrettkowalsky

💻
Learning HTML, CSS, & JS!
View GitHub Profile
@mabdrabo
mabdrabo / sound_recorder.py
Created January 28, 2014 23:05
Simple script to record sound from the microphone, dependencies: easy_install pyaudio
import pyaudio
import wave
FORMAT = pyaudio.paInt16
CHANNELS = 2
RATE = 44100
CHUNK = 1024
RECORD_SECONDS = 5
WAVE_OUTPUT_FILENAME = "file.wav"