Changeset 04fc360 for python/demos


Ignore:
Timestamp:
Sep 21, 2016, 1:33:55 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
c2f7db8
Parents:
a0e0f56
Message:

python/demos/demo_pitchshift.py: default to 64 hop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_pitchshift.py

    ra0e0f56 r04fc360  
    1414    else: samplerate = 0
    1515    if len(sys.argv) > 5: hop_size = int(sys.argv[5])
    16     else: hop_size = 256
     16    else: hop_size = 64
    1717    if len(sys.argv) > 6: mode = sys.argv[6]
    18     else: mode = available_modes[0]
     18    else: mode = "default"
    1919
    2020    source_read = aubio.source(sys.argv[1], samplerate, hop_size)
Note: See TracChangeset for help on using the changeset viewer.