Quantcast
Channel: Hydrogenaudio Posts
Viewing all articles
Browse latest Browse all 11785

PNS and M/S coding

$
0
0
From the specifications of AAC

In M/S coding section

Please note that ms_used[][] is also used in the context of intensity stereo coding and perceptual noise substitution. If intensity
stereo coding or noise substitution is on for a particular scalefactor band, no M/S stereo decoding is carried out.


In PNS section

If the same scalefactor band and group is coded by perceptual noise substitution in both channels of a channel pair, the correlation of the noise signal can be controlled by means of the ms_used field: While the default noise generation process works independently for each channel (separate generation of random vectors), the same random vector is used for both channels if ms_used[] is set for a particular scalefactor band and group. In this case, no M/S stereo coding is carried out (because M/S stereo coding and noise substitution coding are mutually exclusive). If the same scalefactor band and group is coded by perceptual noise substitution in only one channel of a channel pair the setting of ms_used[] is not evaluated.


I'm confused after reading both these. If only one channel has PNS data and if MS coding is on for that particular scalefactor band. Do we need to proceed with M/S coding or skip M/S coding for that scalefactor band?

Viewing all articles
Browse latest Browse all 11785

Trending Articles