tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

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

Open encratite opened this issue 8 years ago • 9 comments

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

encratite avatar Aug 18 '17 13:08 encratite

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

Hamper avatar Mar 19 '18 21:03 Hamper

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!

encratite avatar Mar 19 '18 21:03 encratite

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

Hamper avatar Apr 13 '18 17:04 Hamper

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!

stale[bot] avatar Oct 24 '20 13:10 stale[bot]

Not resolved.

Remu-rin avatar Oct 29 '20 15:10 Remu-rin

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

soliloqueen avatar Mar 04 '21 06:03 soliloqueen

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

tcohen01 avatar Apr 09 '22 10:04 tcohen01

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

M4K14 avatar Mar 14 '24 03:03 M4K14

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

Hello from 2025 🫡

BetsuNo avatar Nov 26 '25 08:11 BetsuNo