Rather than self.wav = scipy.io.wavfile.read(self.wavPath) why not self.wav = wave.open(self.wavPath, 'rb').readframes() ? It's available in Python 2.6+ https://docs.python.org/2.6/library/wave.html Is it to avoid type conversion complexities in 2.x?