mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-27 15:26:59 +01:00
6b9c8e79cc2da0ca6bf63b13a2519b75ce2dd891
Problem: On Windows, after 50ms, there is a short period of roughly zero introduced into the output. On Linux, there is also a spike which sounds like a crackle. In AudioIO::FillBuffers(), Mixer::SetTimesAndSpeed() is called, which sets mT0 and mT1 to a small interval. In Mixer::MixVariableRates(), all the samples in the interval are used, which means the Resample::Process() is called with last equal to true. So when Mixer::MixVariableRates() is called again, the resampler is being reused after a call to Process() in which last is true. It is not stated in the soxr documentation if the resampler will produce valid results in this case, and it's only the scrubbing code which does this. I think this is the problem, and so the partial fix below avoids this happening. Partial fix for play-at-speed and keyboard scrubbing: For these, there is no need to reset the values of mT0 and mT1. (There is no need to allow for the sample position being used to potentially jump around.) So for these cases, Mixer::SetSpeed() is called, rather than Mixer::SetTimesAndSpeed().
…
…
…
…
…
Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. Developed by a group of volunteers as open source.
- Recording from any real, or virtual audio device that is available to the host system.
- Export / Import a wide range of audio formats, extendible with FFmpeg.
- High quality using 32-bit float audio processing.
- Plug-ins Support for multiple audio plug-in formats, including VST, LV2, AU.
- Macros for chaining commands and batch processing.
- Scripting in Python, Perl, or any language that supports named pipes.
- Nyquist Very powerful built-in scripting language that may also be used to create plug-ins.
- Editing multi-track editing with sample accuracy and arbitrary sample rates.
- Accessibility for VI users.
- Analysis and visualization tools to analyze audio, or other signal data.
Getting Started
For end users, the latest Windows and macOS release version of Audacity is available from the Audacity website. Help with using Audacity is available from the Audacity Forum. Information for developers is available from the Audacity Wiki.
Description
Languages
C++
56.3%
C
34.4%
Common Lisp
4.3%
CMake
1.6%
Python
1%
Other
2.2%
