Mar 15, 2025 This view is an audio visualizer that converts decibel values into simulated FFT data and renders one of three styles (spectrum, waveform, or filled wave) on a canvas. It features noise filtering, Gaussian normalization. The sample project works in B4A and B4I. You need this libs. xFFT AudioRecord (B4A) AS_AudioVisualizer Author: Alexander Stolte Version: 1.00 AS_AudioVisualizer Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object Initialize (Callback As Object, EventName As String) UpdateWithDB (dBValue As Double) Properties: BarColor As Int NoiseThreshold As Double NoiseThreshold (0.01) filters out minor noise by setting any value below it to zero. Default: 0.01 NumberOfBars As Int Default: 32 RoundBars As Boolean If True then the bars are round Default: True Sensitivity As Double Sensitivity determines how pronounced the amplitude spike is. Default: 1.0 VisualizationType As String Changelog 1.00 Release Github: github.com/StolteX/AS_AudioVisualizer Have Fun Attachments AS AudioVisualizer Example.zip AS AudioVisualizer Example.zip 178.8 KB · Views: 480 AS_AudioVisualizer.b4xlib AS_AudioVisualizer.b4xlib 3.1 KB · Views: 497 Last edited: Mar 15, 2025 Click to expand...
This view is an audio visualizer that converts decibel values into simulated FFT data and renders one of three styles (spectrum, waveform, or filled wave) on a canvas. It features noise filtering, Gaussian normalization. The sample project works in B4A and B4I. You need this libs. xFFT AudioRecord (B4A) AS_AudioVisualizer Author: Alexander Stolte Version: 1.00 AS_AudioVisualizer Fields: mBase As B4XView Tag As Object Functions: DesignerCreateView (Base As Object, Lbl As Label, Props As Map) Base type must be Object Initialize (Callback As Object, EventName As String) UpdateWithDB (dBValue As Double) Properties: BarColor As Int NoiseThreshold As Double NoiseThreshold (0.01) filters out minor noise by setting any value below it to zero. Default: 0.01 NumberOfBars As Int Default: 32 RoundBars As Boolean If True then the bars are round Default: True Sensitivity As Double Sensitivity determines how pronounced the amplitude spike is. Default: 1.0 VisualizationType As String Changelog 1.00 Release Github: github.com/StolteX/AS_AudioVisualizer Have Fun