void setUp(@NonNull InnerAudioVisualization audioVisualization, int layersCount) {
        this.audioVisualization = audioVisualization;
        this.layersCount = layersCount;
        this.dBmArray = new float[layersCount];
        this.ampsArray = new float[layersCount];
        this.emptyArray = new float[layersCount];
    }
Abstract class for converting your data to dBm values.
When you're have new portion of data, call {@link #onDataReceived(Object)} method.
library/src/main/java/com/cleveroad/audiovisualization/DbmHandler.java