Variable duration.

Deactivate RMS computation when duration <= 0.