extract lib/audio-rms to external module