This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import wave | |
import numpy as np | |
import scipy as sp | |
WINSIZE=8192 | |
sound='sound.wav' | |
def read_signal(filename, winsize): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import scipy as sp | |
import numpy as np | |
import math | |
import optparse | |
import tempfile | |
import wave | |
from itertools import izip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Store = require('store-prototype'); | |
var UserStore = new Store(); | |
var users = {}; | |
var loaded = false; | |
UserStore.extend({ | |
loadUsers: function() { | |
loadUsersSomehow(function(err, results) { | |
users = results; |