QUOTE(dand @ Oct 28 2004, 06:18 AM)
TNS and block switch both aim to supress the pre-echo - they must be related. If short block kills pre-echo in a frame, why would we use TNS in the same block?
As I see it, block switch is not reliable for low sampling rates since 128 samples short block length becomes too long in the time domain.
Take a look at the paper "The efficient temporal noise shaping method" from NCTU team. They suggest TNS decision can be based not only on prediction gain but also on perceptual entropy (used for block switch).
It is NOT true that pre-echo doesn't exists in short block ! It is just that the pre-echo duration has been shortened by the shorter block size.. As a result, in order
to further eliminate Pre-echo withing the short blocks, TNS or gain control can be used..
Yes, at very low sampling rate, TNS becomes more important than block switching..
This PE based switching method will just give back the block switching conditions! Usually, when transients occurred, there is a sudden change in band energy.. either increase or decrease.. which gives a sudden change in measured PE..
but we all know how unrealiable PE switching can be.. It depends a lot on the distance between adjacent attacks.. If they are too close, PE switching will fail..
Anyway, I am looking into some very serious limitation of the TNS tools.. It seemed to me that there is a limit to the number of attacks it can modelled.. For example, for a 12 th order TNS filter, there are only 12 poles in the decoder All Poles filter and thus can compensate at most 12 time domain attacks / impulses..
Then there is this uncancelled aliasing artifacts of the Time Domain Cancellation filter.. in which the 2 overlapping halves of the 2 adjacent decoded frames be multiplied by the SAME gain function which TNS didn't provide.. As a result, the aliasing is not completely cancel out.. in fact it might even be amplified !!
Such problem doesn't exists with the SSR Gain Control.. in which the same gain function is applied to the 2 overlapping halves..
wkwai