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
252 stars 19 forks source link

Re-sampling between different kHz / Choosing the sample rate at recording #33

Open RustoMCSpit opened 8 months ago

RustoMCSpit commented 8 months ago

Checklist

Feature description

There are different kHz amounts: 44.1 kHz, 48kHz etc. Allowing a user to choose the sample rate and resample audio is thus needed.

Why do you want this feature?

Some programs take different amounts, different file sizes, etc.

Additional information

https://github.com/FossifyOrg/Voice-Recorder/issues/32 related to this

SilverPuppy commented 1 month ago

Resampling is not needed. The ability to choose the sample rate for the new recording is important. People have preferences, and changing it can also allow better results in certain scenarios, such as low bitrate recording.

The fact that it is not possible stops me from resolving an issue with Opus recording manually. The default sample rate is obviously 44,100 which is unsupported by Opus, so it takes the data, but marks it as 48,000 which results in slightly high pitched playback. If I could manually select 24,000 or 48,000 which are supported, there would be no issue.

HT-7 commented 4 weeks ago

Agreed. Both sampling rate and bitrate please. And while you're at it, please add an option for OGG vorbis.

ASR by NLL apps had manual sampling rate and bitrate a decade ago. I would use ASR but because "benevolent" Google has killed all 32-bit apps in Android 14, I can forget about that.