Loudness in NRT

Hi
I have been looking at the NRT help and trying my hand at adapting the ‘Example: Extract onsets into a buffer’ to do Loudness.
So far with 0 success.
This for reference is the ‘real time’ version I am trying to NRT.

(
(
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
e = Bus.control(s, 1);

{ var in, chain, loudness;
    in = PlayBuf.ar(1, b, BufRateScale.kr(b), 1, 0, 0,doneAction: Done.freeSelf);
    chain = FFT(LocalBuf(1024), in);
    loudness = Loudness.kr(chain);
    Out.kr(e,loudness);
}.play
);

k = List.new;
r = fork { loop { k.add(e.getSynchronous); 0.1.wait } };
)

any help much appreciate
cheers
D