- ("-ow", Arg.Unit (fun () -> outwav := true), ": output wave files");
- ("-oc", Arg.Unit (fun () -> outcsv := true), ": output csv files");
- ("-d", Arg.String (fun s -> has_dsp := true;
- path_dsp := s), ": set dsp source file");
- ("-iw", Arg.String (fun s -> incr num_inwav;
- inwavs := !inwavs @ [s]), ": set input wave file");
- ("-ic", Arg.String (fun s -> incr num_incsv;
- incsvs := !incsvs @ [s]), ": set input csv file");
+ ("-d", Arg.String (fun s -> path_dsp := s), ": set dsp source file");
+ ("-i", Arg.String (fun s -> incr size_input; inputs := !inputs @ [s]), ": set input wave file");
+ ("-t", Arg.Int (fun i -> time_max := i), ": set max output length");
+ ("--odir", Arg.String (fun s -> dir_output := s), ": set output directory");
+ ("--oformat", Arg.String (fun s -> format_output := s), ": set output format");
+ ("--obasename", Arg.String (fun s -> basename_output := s), ": set output basename");