projects
/
430.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04ef41
)
test
author
Dan White
<dan@whiteaudio.com>
Mon, 29 Jul 2013 21:27:20 +0000
(16:27 -0500)
committer
Dan White
<dan@whiteaudio.com>
Mon, 29 Jul 2013 21:27:20 +0000
(16:27 -0500)
python-lib/sine-int.py
patch
|
blob
|
history
diff --git
a/python-lib/sine-int.py
b/python-lib/sine-int.py
index 0af730ebf382c7be23274fc9d98fa92940324b79..e225bbdf11e67e8bcce954119520db9e699afe03 100644
(file)
--- a/
python-lib/sine-int.py
+++ b/
python-lib/sine-int.py
@@
-213,6
+213,9
@@
for ph in phase:
#save data only if in range
dur = tend - tstart
print '.',
+ ratio = dur / (Nperiods / f0)
+ if ratio < 1.2:
+ print ratio,
print
vout.append(out)