Hi Everyone, I am making a compose multiplatform ...
# multiplatform
p
Hi Everyone, I am making a compose multiplatform app which allows users to give voice input and then we detect the lowest and highest freq value at which user can sing i am using a class for this computation which is initialized in the composable screen, then the controller emits the value using a state flow and then the values is shown in ui but there is a lag coming, since the users freq can change rapidly (every 10 ms there is a new value) it's showing on the ui with a lag how to solve this any idea ? instead of using _curentValue.emit(newValue) i am using _currentValue.value = newValue
the controller uses a platform specific library to take the sound input
@Gopala Krishna Koduri here