element-x-ada/features/messages
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
..
api [Voice messages] Add voice recording UI (#1546) 2023-10-12 15:17:18 +00:00
impl Include waveform when sending voice messages (#1650) 2023-10-26 17:37:24 +02:00
test Fix issue where text is cleared when cancelling a reply (#1617) 2023-10-23 08:31:32 +00:00