Skip to content

Instantly share code, notes, and snippets.

View dalsh's full-sized avatar

Adrien Plagnol dalsh

View GitHub Profile
@dalsh
dalsh / spectrograms.py
Created November 15, 2017 12:32
Spectrograms with Scipy and Matplotlib
import matplotlib.colors as colors
import matplotlib.pyplot as plt
import numpy as np
from scipy import signal
from scipy.io import wavfile
BASEDIR = './'
OUTDIR = BASEDIR + 'spectrograms/'
def save_spectrogram(voice_name):