Usage			


For each input audio file, the SLS encoder will generate two bit stream files, namely, a x.aac file and a x.aaz file where x is the name of the input audio file.  The x.aac contains the MPEG-4 AAC LC core bit stream, and the enhance layer bit stream is contained in the x.aaz file. According to different parameter specifications, the generated enhance bit stream x.aaz can be decoded by the AAZ decoder (AAZ_dec.exe) together with the core x.aac file to reconstruct the original audio. 

Parameter specification for each tool:

SLS Encoder

enc -switchs <audio file> [<AAC bit stream file>]

-r <x>: bit-rate (bps) in AAC core layer. (default:6000)
-llr <x>: bit-rates (bps) in lossless enhance layer. (defalut:  rates at lossless coding) 
-ncore: disable AAC core (default enable)
-osf <x>: oversampling factor for lossless enhancement (dflt: 1, options: 1,2,4)


Examples:

(1) enc -r 128000 avemaria.wav

Coding of avemaria.wav.  The bit rate for AAC core is 128000 bps.  The generated AAC and lossless enhance bit stream will be saved as avemaria.aac and avemaria.aaz, respectively.

(2) enc -r 128000 - llr 256000 avemaria.wav

Coding of avemaria.wav.  The bit rate for AAC core layer is 128000 bps and for lossy enhance layer is 256000 bps.  The generated bit stream will be saved as avemaria.aac and avemaria.aaz respectively.

====================================================================

SLS Decoder

dec -switchs <AAC file> [<audio file>]

switchs:

-w: output wave file (default: PCM raw file)
-3: 24 bits PCM output (default: 16 bit PCM)
-s <x>: sampling rate 48000, 96000, 192000 (default: 48000Hz)
-l <AAZ file>: name of lossy/lossless enhance layer bit stream.(default: AAC file.aaz)
-f <x>: oversampling factor for lossless enhancement (dflt: 1, options: 1,2,4)
-n: disable AAC core (default enable)

Note:  need to define USELIB_ISOMP4 in building the decoder in order to decode mp4 file. 

Example:

dec -w -3 -s 96000 avemaria.aac avemaria_o.wav

Decoding of avemaria.aac and avemaria.aaz and output to avemaria_o.wav in 24 bits PCM format.

      