Changeset 0ce9acc3 for examples/utils.c


Ignore:
Timestamp:
Jun 7, 2005, 6:56:39 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
b31f262
Parents:
97b8c3d
Message:

updated beattracking.c ad aubiotrack.c to support variable hopsize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r97b8c3d r0ce9acc3  
    9898
    9999int parse_args (int argc, char **argv) {
    100         const char *options = "hvjo:i:O:t:s:a";
     100        const char *options = "hvjo:i:O:t:s:H:a";
    101101        int next_option;
    102102        struct option long_options[] =
     
    111111                {"silence"  , 0, NULL, 's'},
    112112                {"averaging", 0, NULL, 'a'},
     113                {"hopsize",   0, NULL, 'H'},
    113114                {NULL       , 0, NULL, 0}
    114115        };
     
    169170                                averaging = 1;
    170171                                break;
     172                        case 'H':
     173                                overlap_size = atoi(optarg);
     174                                break;
    171175                        case '?':       /* unknown options */
    172176                                usage(stderr, 1);
Note: See TracChangeset for help on using the changeset viewer.