telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.42k stars 5.25k forks source link

[Request] Add option to disable digital fade-in/fade-out filter for voice messages #3809

Open encratite opened 7 years ago

encratite commented 7 years ago
### Steps to reproduce 1. Screech into your desktop computer's microphone for 4-5 seconds, maintaining an even amplitude 2. Start recording a voice message after you start screeching 3. Stop and send the voice message before you stop screeching ### Expected behaviour The volume of the PCM data in the voice message should be really high right at the beginning and also at the end. ### Actual behaviour The desktop client somehow comes with an algorithm that has something like a digital 1500 ms logarithmic amplitude fade-in and a 500-1000 ms fade-out filter which is applied to the voice message sent to the server. This greatly annoys me because it means I can never talk right away, I have to wait for a bit for the filter to expire first. Otherwise people struggle to understand me in my voice messages because the first 1-2 words are usually cut off. I also have to wait for 1-2 seconds after speaking the final word or the digital fade-out filter will cut off my last utterance, too. I suppose this feature was added to make the transitions between silence and noise environments easier on your ears but it actually makes communicating with my friends much harder. The Android client of Telegram does not have this digital filter, though, from what I've seen. Or perhaps I simply didn't notice it. It is extremely noticeable in the desktop client, though. I wish there were an option to disable it. ### Configuration **Operating system:** Windows 10 Professional **Version of Telegram Desktop:** Telegram 1.1.19 **Used theme**: Default theme
Hamper commented 6 years ago

400ms skip is really very long https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/media/media_audio_capture.cpp#L23-L24

encratite commented 6 years ago

Oh, good catch! Yeah, that's precisely what I had been looking for. I suppose I could at least hack it out of a custom build at this point. Thanks!

Hamper commented 6 years ago

Maybe it would be better to move this parameters to settings or workmode settings?

stale[bot] commented 4 years ago

Hey there!

This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

Remu-rin commented 4 years ago

Not resolved.

soliloqueen commented 3 years ago

please god, i'll send a voice message and it's almost totally silent because most of what i said got stuck in the fade

tcohen01 commented 2 years ago

please god, i'll send a voice message and it's almost totally silent because most of what i said got stuck in the fade

happens to me all the time too, it really needs to be tweakable for desktop

M4K14 commented 8 months ago

it's 2024 and this issue is open since 2017 !