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.
AS_AudioVisualizer
Author: Alexander Stolte
Version: 1.00
Have Fun
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)
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
- 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
- Fields:
- 1.00
- Release
Have Fun
Attachments
Last edited: