protected final void calmDownAndStopRendering() {
        if (timer == null) {
            timer = new Timer("Stop Rendering Timer");
            timer.scheduleAtFixedRate(new TimerTask() {
                @Override
                public void run() {
                    if (audioVisualization != null) {
                        audioVisualization.onDataReceived(emptyArray, emptyArray);
                    }
                }
            }, UPDATE_INTERVAL, UPDATE_INTERVAL);
        }
        audioVisualization.calmDownListener(new InnerAudioVisualization.CalmDownListener() {
            @Override
            public void onCalmedDown() {
                stopRendering();
            }
        });
    }
Post empty values to renderer and stop rendering thread after waves calm down.
library/src/main/java/com/cleveroad/audiovisualization/DbmHandler.java