From 781aa577be678e845d8c8ededa3b1aea5a6a4f6c Mon Sep 17 00:00:00 2001 From: John Glover Date: Thu, 30 Aug 2012 10:09:03 +0100 Subject: [examples] Rename synthesis examples. --- examples/residual.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 examples/residual.py (limited to 'examples/residual.py') diff --git a/examples/residual.py b/examples/residual.py deleted file mode 100644 index cd41dd4..0000000 --- a/examples/residual.py +++ /dev/null @@ -1,17 +0,0 @@ -import sys -import numpy as np -import scipy.io.wavfile as wav -import simpl - -usage = 'Usage: python {0} '.format(__file__) -if len(sys.argv) != 3: - print usage - sys.exit(1) - -audio = simpl.read_wav(sys.argv[1])[0] -output_file = sys.argv[2] - -r = simpl.SMSResidual() -audio_out = r.synth(audio) -audio_out = np.asarray(audio_out * 32768, np.int16) -wav.write(output_file, 44100, audio_out) -- cgit v1.2.3