projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0e0f56
)
python/demos/demo_pitchshift.py: default to 64 hop
author
Paul Brossier
<piem@piem.org>
Tue, 20 Sep 2016 23:33:55 +0000
(
01:33
+0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 20 Sep 2016 23:33:55 +0000
(
01:33
+0200)
python/demos/demo_pitchshift.py
patch
|
blob
|
history
diff --git
a/python/demos/demo_pitchshift.py
b/python/demos/demo_pitchshift.py
index
bc50160
..
ad78794
100755
(executable)
--- a/
python/demos/demo_pitchshift.py
+++ b/
python/demos/demo_pitchshift.py
@@
-13,9
+13,9
@@
if __name__ == '__main__':
if len(sys.argv) > 4: samplerate = int(sys.argv[4])
else: samplerate = 0
if len(sys.argv) > 5: hop_size = int(sys.argv[5])
- else: hop_size =
256
+ else: hop_size =
64
if len(sys.argv) > 6: mode = sys.argv[6]
- else: mode =
available_modes[0]
+ else: mode =
"default"
source_read = aubio.source(sys.argv[1], samplerate, hop_size)
if samplerate == 0: samplerate = source_read.samplerate