FossifyOrg / Voice-Recorder

An easy way of recording any discussion or sounds without ads or internet access
https://www.fossify.org
GNU General Public License v3.0
174 stars 14 forks source link

Allow the user to skip silence. #31

Open RokeJulianLockhart opened 4 months ago

RokeJulianLockhart commented 4 months ago

Checklist

Feature description

Skip audio which would be considered silent. I realize that the implementation shall involve some kind of threshold, so to prevent it being arbitrary, allow the user to configure the decibel level.

Why do you want this feature?

Because I record lots of meetings. There's lots of undesired waiting as papers are brought through and organized.

Additional information

Reported here due to https://github.com/you-apps/RecordYou/issues/189#event-11922912313. Reported because https://github.com/FossifyOrg/Voice-Recorder/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+skip+silence returned 0 results.

inson1 commented 4 months ago

@RokeJulianLockhart time should be also configuratable? I mean how long silences should be skipped?

Aga-C commented 4 months ago

Do you mean automated pausing/resuming while recording when silence is detected, or fast-forward during silence on playback?

RokeJulianLockhart commented 4 months ago

https://github.com/FossifyOrg/Voice-Recorder/issues/31#issuecomment-1964445551

@Aga-C, I envisaged increasing the playback speed of, or skipping, silence.

RokeJulianLockhart commented 4 months ago

https://github.com/FossifyOrg/Voice-Recorder/issues/31#issuecomment-1964431172

@inson1, the best I've thought of in that regard is that the threshold should be relative to the average volume of the file.

naveensingh commented 4 months ago

Media3's ExoPlayer has built-in support for skipping silence. It'll require rewriting the playback-related code to use ExoPlayer. For the sake of simplicity, the threshold shouldn't be user-configurable.