Changeset ee123a0 for python/lib/aubio
- Timestamp:
- Sep 12, 2017, 5:10:13 PM (7 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- b24c909
- Parents:
- 896c3a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/cmd.py
r896c3a8 ree123a0 23 23 metavar="") 24 24 25 parser_add_subcommand_onset(subparsers) 26 parser_add_subcommand_pitch(subparsers) 27 parser_add_subcommand_beat(subparsers) 28 parser_add_subcommand_tempo(subparsers) 29 parser_add_subcommand_notes(subparsers) 30 parser_add_subcommand_mfcc(subparsers) 31 parser_add_subcommand_melbands(subparsers) 32 parser_add_subcommand_quiet(subparsers) 33 34 return parser 35 36 def parser_add_subcommand_onset(subparsers): 25 37 # onset subcommand 26 38 subparser = subparsers.add_parser('onset', … … 39 51 subparser.set_defaults(process=process_onset) 40 52 53 def parser_add_subcommand_pitch(subparsers): 41 54 # pitch subcommand 42 55 subparser = subparsers.add_parser('pitch', … … 53 66 subparser.set_defaults(process=process_pitch) 54 67 68 def parser_add_subcommand_beat(subparsers): 55 69 # beat subcommand 56 70 subparser = subparsers.add_parser('beat', … … 62 76 subparser.set_defaults(process=process_beat) 63 77 78 def parser_add_subcommand_tempo(subparsers): 64 79 # tempo subcommand 65 80 subparser = subparsers.add_parser('tempo', … … 71 86 subparser.set_defaults(process=process_tempo) 72 87 88 def parser_add_subcommand_notes(subparsers): 73 89 # notes subcommand 74 90 subparser = subparsers.add_parser('notes', … … 80 96 subparser.set_defaults(process=process_notes) 81 97 98 def parser_add_subcommand_mfcc(subparsers): 82 99 # mfcc subcommand 83 100 subparser = subparsers.add_parser('mfcc', … … 89 106 subparser.set_defaults(process=process_mfcc) 90 107 108 def parser_add_subcommand_melbands(subparsers): 91 109 # melbands subcommand 92 110 subparser = subparsers.add_parser('melbands', … … 98 116 subparser.set_defaults(process=process_melbands) 99 117 118 def parser_add_subcommand_quiet(subparsers): 100 119 # quiet subcommand 101 120 subparser = subparsers.add_parser('quiet', … … 107 126 parser_add_verbose_help(subparser) 108 127 subparser.set_defaults(process=process_quiet) 109 110 return parser111 128 112 129 def parser_add_input(parser):
Note: See TracChangeset
for help on using the changeset viewer.