7 Commits

Author SHA1 Message Date
Adrian Kuta (DZCQIWG)
ea5fc9e97d RMS Visualizer 2025-10-07 22:13:34 +02:00
Adrian Kuta (DZCQIWG)
4bc3a0a096 Improvements 2025-10-03 08:51:58 +02:00
Adrian Kuta (DZCQIWG)
6410477f54 Introduce ViewModel and UseCase 2025-10-01 12:30:31 +02:00
Adrian Kuta (DZCQIWG)
f459482ddd Add console logs. 2025-09-18 15:56:49 +02:00
Adrian Kuta (DZCQIWG)
83d8fa1945 Add imports 2025-09-18 13:51:03 +02:00
GitHub Actions Bot
ba634095d9 Refactor: Remove smoothing and throttling from visualizer
The visualizer components (FftBarsView and WaveformView) now directly render the raw data received from the `VisualizerController`.

- Removed the smoothing logic (using `LaunchedEffect` and `mutableStateOf`) from both `FftBarsView` and `WaveformView`.
- The `Canvas` drawing logic in both views now directly processes the input `data` byte array.
- In `VisualizerController`, removed the manual throttling mechanism (using `Handler`, `minIntervalMs`, `lastWaveformDispatch`, `lastFftDispatch`).
- The `Visualizer.OnDataCaptureListener` now directly invokes the `onWaveform` and `onFft` callbacks with the received data.
- The capture rate for the Visualizer is now set to half of the maximum rate.
2025-08-29 11:49:04 +02:00
GitHub Actions Bot
2a46c6143b first commit 2025-08-29 11:47:23 +02:00