Skip to content

Instantly share code, notes, and snippets.

@asumin
asumin / FftView.java
Last active October 23, 2020 00:12
Android custom view to visualize the data of FFT (works with android.media.audiofx.Visualizer)
package com.an_asumin.visualizer;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Shader;
import android.util.AttributeSet;
import android.view.View;