element-x-ada/libraries/voicerecorder/test
Marco Romano 00d24ce4b1
Include waveform when sending voice messages (#1650)
- New `AudioLevelCalculator` that outputs dB0v rescaled to the [0;1] range.
- `VoiceRecorder` now stores the audio levels sampled while recording, then resamples them to 100 samples to use as waveform preview.
- Waveform data is carried all the way as a `List<Float>` and converted to `List<Int>` in the [0;1024] range as per matrix spec only before sending it.
2023-10-26 17:37:24 +02:00
..
src/main/kotlin/io/element/android/libraries/voicerecorder/test Include waveform when sending voice messages (#1650) 2023-10-26 17:37:24 +02:00
build.gradle.kts Allow deleting a recorded voice message (#1635) 2023-10-24 21:02:19 +00:00