System.out.println("Usage: JSpeexEnc [options] input.wav output.spx"); System.out.println("Where: input.wav the PCM wav file to use as input"); System.out.println("       output.spx the Speex file to create");
version(); System.out.println(""); System.out.println("Usage: JSpeexEnc [options] input_file output_file"); System.out.println("Where:"); System.out.println("  input_file can be:"); System.out.println("    filename.wav  a PCM wav file"); System.out.println("    filename.*    a raw PCM file (any extension other than .wav)"); System.out.println("  output_file can be:"); System.out.println("    filename.spx  an Ogg Speex file"); System.out.println("    filename.*    a raw Speex file");
  public static void usage()  {    System.out.println("Usage: JSpeexEnc [options] input.wav output.spx");    System.out.println("Where: input.wav the PCM wav file to use as input");    System.out.println("       output.spx the Speex file to create");    System.out.println("Options: -h, --help     This help");    System.out.println("         -v, --version  Version information");    System.out.println("         -n             Narrowband (8kHz) input file");    System.out.println("         -w             Wideband (16kHz) input file");    System.out.println("         -u             Ultra-Wideband (32kHz) input file");    System.out.println("         --quality n    Encoding quality (0-10) default 8");    System.out.println("         --complexity n Encoding complexity (0-10) default 3");    System.out.println("         --nframes n    Number of frames per Ogg packet, default 1");    System.out.println("         --vbr          Enable varible bit-rate (VBR)");    System.out.println("         --vad          Enable voice activity detection (VAD)");    System.out.println("         --dtx          Enable file based discontinuous transmission (DTX)");    System.out.println("         --stereo       Consider input as stereo");		System.out.println("         if the input file is raw PCM (not a Wave file)");		System.out.println("         --raw          Input file is raw PCM");    System.out.println("         --rate n       Sampling rate for raw input");  }