- Timestamp:
- Oct 3, 2016, 6:41:10 PM (8 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, sampler, yinfft+
- Children:
- 61a1e5d
- Parents:
- fe0fa26
- Location:
- examples
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubionotes.c
rfe0fa26 r82ae9d7 22 22 #define PROG_HAS_PITCH 1 23 23 #define PROG_HAS_ONSET 1 24 #define PROG_HAS_SILENCE 1 24 25 #define PROG_HAS_JACK 1 25 26 // TODO add PROG_HAS_OUTPUT -
examples/aubioonset.c
rfe0fa26 r82ae9d7 22 22 #define PROG_HAS_ONSET 1 23 23 #define PROG_HAS_OUTPUT 1 24 #define PROG_HAS_SILENCE 1 24 25 #define PROG_HAS_JACK 1 25 26 #include "parse_args.h" -
examples/aubiopitch.c
rfe0fa26 r82ae9d7 22 22 #define PROG_HAS_PITCH 1 23 23 #define PROG_HAS_OUTPUT 1 24 #define PROG_HAS_SILENCE 1 24 25 #define PROG_HAS_JACK 1 25 26 #include "parse_args.h" -
examples/aubioquiet.c
rfe0fa26 r82ae9d7 20 20 21 21 #include "utils.h" 22 #define PROG_HAS_SILENCE 1 22 23 #include "parse_args.h" 23 24 -
examples/aubiotrack.c
rfe0fa26 r82ae9d7 22 22 #define PROG_HAS_TEMPO 1 23 23 #define PROG_HAS_ONSET 1 24 #define PROG_HAS_SILENCE 1 24 25 #define PROG_HAS_OUTPUT 1 25 26 #define PROG_HAS_JACK 1 -
examples/parse_args.h
rfe0fa26 r82ae9d7 101 101 " (yin, yinfft only) a value between 0.1 and 0.7; default=0.3\n" 102 102 #endif /* PROG_HAS_PITCH */ 103 #ifdef PROG_HAS_SILENCE 103 104 " -s --silence select silence threshold\n" 104 105 " a value in dB, for instance -70, or -100; default=-90\n" 106 #endif /* PROG_HAS_SILENCE */ 105 107 " -T --time-format select time values output format\n" 106 108 " (samples, ms, seconds) default=seconds\n" … … 110 112 " -f --force-overwrite overwrite output file if needed\n" 111 113 " do not fail if output file already exists\n" 112 #endif 114 #endif /* PROG_HAS_OUTPUT */ 113 115 #ifdef PROG_HAS_JACK 114 116 " -j --jack use Jack\n" 115 #endif 117 #endif /* PROG_HAS_JACK */ 116 118 " -v --verbose be verbose\n" 117 119 " -h --help display this message\n" … … 143 145 #endif /* PROG_HAS_PITCH */ 144 146 "T:" 145 "s:mf"; 147 #ifdef PROG_HAS_SILENCE 148 "s:" 149 #endif /* PROG_HAS_SILENCE */ 150 #ifdef PROG_HAS_OUTPUT 151 "mf" 152 #endif /* PROG_HAS_OUTPUT */ 153 ; 146 154 int next_option; 147 155 struct option long_options[] = { … … 167 175 {"pitch-tolerance", 1, NULL, 'l'}, 168 176 #endif /* PROG_HAS_PITCH */ 177 #ifdef PROG_HAS_SILENCE 169 178 {"silence", 1, NULL, 's'}, 179 #endif /* PROG_HAS_SILENCE */ 170 180 {"time-format", 1, NULL, 'T'}, 181 #ifdef PROG_HAS_OUTPUT 171 182 {"mix-input", 0, NULL, 'm'}, 172 183 {"force-overwrite", 0, NULL, 'f'}, 184 #endif /* PROG_HAS_OUTPUT */ 173 185 {NULL, 0, NULL, 0} 174 186 };
Note: See TracChangeset
for help on using the changeset viewer.