Skip to content

Instantly share code, notes, and snippets.

View kgat96's full-sized avatar
🎯
Focusing

Kage Shen kgat96

🎯
Focusing
View GitHub Profile
@kgat96
kgat96 / ltsd_vad.py
Created March 17, 2017 09:24
Simple Voice Activity Detection based on Long-term Spectral Divergence
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import wave
import numpy as np
import scipy as sp
import matplotlib
WINSIZE=1024
ORDER=5
sound='howl6t1.wav'