kind-school-76204
07/31/2025, 2:03 AMaudioLevel from the Participant, but it seems to return only discrete values like 0, 0.125, 0.25, etc. This makes the animation feel choppy.
Is there a way to get higher-resolution or more continuous audio level data?tall-airline-16756
07/31/2025, 2:03 AMtall-airline-16756
07/31/2025, 2:04 AMimport 'package:livekit_client/livekit_client.dart';
AudioVisualizerWidget(
options: AudioVisualizerWidgetOptions(
barCount: 7,
centeredBands: true,
width: 12,
minHeight: 12,
maxHeight: 100,
durationInMilliseconds: 500,
spacing: 5,
cornerRadius: 9999,
),
)
2. Create a Custom Visualizer
For more control, you can create your own visualizer. Here's an example:
Sources: lib/src/ui/widgets/track/audio_visualizer_widget.dart | example/lib/widgets/sound_waveform.dart