refactor sampling module

This commit is contained in:
Roman Zeyde
2014-08-09 15:10:35 +03:00
parent 67da70c9df
commit 8ad3fb4371
3 changed files with 40 additions and 29 deletions

4
scripts/resample.py Executable file
View File

@@ -0,0 +1,4 @@
from amodem.sampling import resample
import sys
resample(src=sys.stdin, dst=sys.stdout, df=float(sys.argv[1]))