Usage

For each input audio file, the SLS encoder will generate SLS bitstream with mp4 file format(*.m4a). 

Parameter specification for each tool:

SLS Encoder

enc -switchs <audio file> [<SLS 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)
-bsac : ER BSAC will be selected as a core codec

Notes:  
 - need to define USELIB_ISOMP4 in building the encoder in order to support mp4 file format. 
 - need to define BSAC in building the encoder in order to enable ER BSAC core. 
 
Examples:

(1) enc -r 128000 avemaria.wav

Coding of avemaria.wav.  The bit rate for AAC core is 128000 bps.

(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.

(2) enc -bsac -r 128000 avemaria.wav

Coding of avemaria.wav.  The bit rate for BSAC core layer is 128000 bps.

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

SLS Decoder

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

switchs:

-w: output wave file (default: PCM raw file)

Notes:  
 - need to define USELIB_ISOMP4 in building the decoder in order to decode mp4 file. 
 - need to define BSAC in building the decoder in order to enable ER BSAC core. 

Example:

dec -w avemaria.m4a avemaria_o.wav

Decoding of avemaria.m4a and output to avemaria_o.wav. Sampling rate and bit resolution will be indicated from mp4 file format.
