Converting audio files to different encodings, sample size, channels, sample ratePurpose. Converts audio files, changing the sample rate of the audio data. Usage. java AudioConverter -h java AudioConverter -l java AudioConverter [ -c channels ] [ -s sample_size ] [ -e encoding ] [ -f sample_rate ] [ -t file_type ] [[ -B ] | [ -L ]] [ -D ] sourcefile targetfile Parameters.
Bugs, limitations. Sample rate conversion can only be handled natively by Tritonus. If you want to do sample rate conversion with the Sun jdk1.3/1.4/1.5, you have to install Tritonus' sample rate converter. Converting number of channels and sample size is only partly supported by the Sun JDK. To get more options, install Tritonus's PCM2PCM converter. Both are part of the 'Tritonus miscellaneous' plug-in. See Tritonus Plug-ins. Source code. AudioConverter.java, AudioCommon.java, gnu.getopt.Getopt | |