segmentPositions = this.segmentPositions;

                // Bars
                this.analyser.getByteFrequencyData(data);

                // Median downsample
                this.array.length = 0;

                for (let i = 0; i < bufferLength; i += chunkSize) {
                    this.array.push(median(data.slice(i, i + chunkSize)));
                }

                const highs = this.getAverageFrequency(this.array, 0, Math.floor(arrayLength * 0.4));
                const mids = this.getAverageF