1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 23:29:41 +02:00

13931 Commits

Author SHA1 Message Date
Emily Mabrey
5105641a83
Merge pull request from tenacityteam/emabrey/vcpkg-update
Vcpkg update / Python 3 package update

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/650
2022-01-23 23:35:20 -05:00
Arik
0760f3945a
Update BUILDING.md
!. ATL/MFC components (v14.22) are not included by default in the C++ development kit, but are needed to compile the project.

2. In Windows (not checked for Linux distributions), cmake will build a Debug version of the software. Since cmake will check for information marked as "Release" to install the application by default (and not Debug), I think that it is fair to explicitly tell the persons who only want to install the project to build a "Release" version of the software.

Signed-off-by: BBArikL <BBArik@protonmail.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/688
2022-01-21 11:50:01 +00:00
Mart Raudsepp
0665614b85
Meter: Fix GetLuminance wxWidgets version dependency
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/678
2021-11-23 20:15:00 +00:00
TheEvilSkeleton
697c0e764c
Update SoundTouch in Flatpak manifest (#671)
SoundTouch migrated to Codeberg from GitLab recently.
This updates the SoundTouch dependency in the Flatpak manifest.

Signed-off-by: TheEvilSkeleton <theevilskeleton@riseup.net>
Reference-to: https://github.com/tenacityteam/tenacity/pull/671
2021-10-18 15:51:08 -05:00
Sol Fisher Romanoff
ad74d99840
Replace GNU/Linux with Linux; Correct macOS case
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
2021-10-18 18:44:19 +03:00
Panagiotis Vasilopoulos
c2556575e3
Update README.md
* Clarify where the user can download Tenacity
* Improve wording
* Explain the goals of the project better, while acknowledging our roots
* Use terms like "macOS" instead of "Mac OS"

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Co-authored-by: William Davis <daviswill048@icloud.com>
Co-authored-by: TheEvilSkeleton <theevilskeleton@riseup.net>
2021-10-18 09:14:56 +00:00
TheEvilSkeleton
db3f6ae7d5
Update submodules
This MR updates submodules but also fixes an issue:
Commit tenacityteam/vcpkg@dd587d4 does not seem to belong in a branch.
It can fail during compilation because it tries to fetch something that doesn't exist.

Signed-off-by: TheEvilSkeleton <theevilskeleton@riseup.net>
Reference-to: https://github.com/tenacityteam/tenacity/pull/666
2021-10-14 06:09:00 +00:00
Panagiotis Vasilopoulos
f06ac9bd96
Merge pull request #186 from mmmaisel/realtime-compressor2
Merge Max Maisel's branch that adds their Dynamic Compressor
effect to Tenacity. The commit has been already polished extensively,
as it was originally intended to be merged in Audacity.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/186
2021-10-12 08:14:20 +00:00
akleja
e1b9071d5e
Add missing include in AColor.cpp
Adds include for copy_n in AColor.cpp to fix issues with
compiling on some Linux-based systems.

Signed-off-by: akleja <storspov@gmail.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/663
2021-10-12 07:37:35 +00:00
Emily Mabrey
bee8ce7313
Remove skipping CI plugin
The original workflow that we ended up using for skipping
CI runs whenever a person proposed a change that only
affected documentation straight up broke. So, we might as
well just remove it from our codebase.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/637
2021-10-11 06:40:22 +00:00
Panagiotis Vasilopoulos
4df39adc47
Merge pull request #515 from akleja/patches-upstream
Backport track affordance and label patches from upstream Audacity.

When the fork was originally started, we ended up carrying over a couple
of features that were half- or unfinished to our fork. This merge is meant
to make up for that.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/515
2021-10-06 15:11:28 +00:00
Max Maisel
d7fea9475d Remove removed header files from new cpp files.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
9a22a69211 Disable Dynamic Compressor realtime support for now.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
06f6aa123d Add factory presets to dynamic compressor effect.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
c534e07424 Replace Compressor2 dynamic makeup gain with fixed output gain.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
5c14ec43d3 Tweak parameter ranges and lookaround keyboard tick scaling.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
dec7e72abc Add "offset" to SliderTextCtrl widget
This parameter adds an offset to the value before calculating the
logarithm to tweak the scaling of the slider.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
fd4276e3f2 Clamp attack/release times at 1/sample_rate.
Otherwise, numerical instability could occur.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
3d4e504bc3 Draw full compressor response plot
instead of just the envelope detector step response.
Also increase minimum plot width for non realtime enabled case.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
90d7c1d226 Add labels to Compressor2 plots and tweak parameter labels.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
7a23e6a52f Remove Dry/Wet mix from dynamic compressor effect.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
4b4fbafb0e Remove "PT1" from dynamic compressor effect dialog.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
be1883bdd3 Fix invalid Compressor plots if out of range values are entered in textboxes.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
510f89567a Optimize Compressor dialog layout.
The old layout did not fit well on small screens.
I tried using StartScroller() but this caused problems on large screens.
Also fix clipped text in textboxes on some themes.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
e725c4825c Rename Compressor v2 to "Dynamic Compressor".
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
1b76326d01 Use TranslatableString::Format for Compressor v2 plot accessibility.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:30 +02:00
Max Maisel
9606aa7312 Deduplicate Compressor2 effect code.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
dfffeb76dc Add Compressor2 realtime debugging utilities.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
aa619de49c Add realtime support to Compressor2 effect.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
2a6c2aaf80 Add Compressor 2 octave tests.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
1d728bec89 Improve octave test framework and refactor loudness test.
Add helper functions "import_from_aud" and "export_to_aud" to
de-deplicate common code in tests.
The export functions reads back the exported signal to remove the impact
of quantization errors during wav export from test results.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
ae4189a533 Implement initial condition optimization.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
277f64c4ca Imprement progress dialog.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
1d7b143c91 Debugging helper code for Compressor2 effect.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
6941c66de8 Implement compressor2 offline processing.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
94e21d8f1c Implement ExpFit and Pt1 envelope detectors including preview.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
61e88b39ab Implement sliding RMS and sliding max sample preprocessors.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
7326edbefe Implement compressor gain calculation and preview.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
ac277c61d7 Add gain and step response plot to Compressor2 effect GUI.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
bcdc47bc34 Add generic plot widget.
This widget will be used in the new Compressor2 effect but it is
designed for use in other effects as well.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
2555b68a04 Add Compressor2 GUI without graph.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
2f58dc7d94 Add combined slider and text box widget.
This widgets will be used in the new Compresor2 effect but it is
designed for use in other effects as well.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
6395c8470b Add all user parameters to Compressor2 effect.
Don't do anything with them yet.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Max Maisel
e5a6585a12 Start work on new Compressor2 effect.
Add skeleton files and add them to build systems.

Signed-off-by: Max Maisel <max.maisel@posteo.de>
2021-10-02 09:30:29 +02:00
Vitaly Sverchinsky
2330c51ce5 Changing affordance area height to match the height of the button to the left
(cherry picked from audacity commit 45a90e38a3dd5f799244057b3c512943dca8e3e8)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00
Vitaly Sverchinsky
cc49ceec3d Hiding the affordance on the right channel of the WaveTrack
(cherry picked from audacity commit f1638da631e9965f1e1c0922dca2e565c51fefd6)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00
Vitaly Sverchinsky
62fe78b0ef Affordance cell reference removed from TrackView
Subclasses should provide instances instead

(cherry picked from audacity commit bc8c6d4ccc6ffffa1fb1b30f3a9a5fe578f74ec1)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00
Vitaly Sverchinsky
f969701756 Add LinkType to Track
LinkType replaces old boolean 'linked', mostly for WaveTrack display purposes
Track::GroupChannels splitted into Track::UnlinkChannels and Track::MakeMultiChannelTrack (which is also aware of new LinkType)
LinkConsistensyCheck made virtual to allow Track subclasses to perform type-specific consistensy checks.
Introduces some corner-cases with copy-pasting/old project importing/file importing..., which are handled

(cherry picked from audacity commit 607961da70968c179b60a811ce084b55a94438ec)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00
Vitaly Sverchinsky
39d49be5b4 Minor refactoring for Track class
(cherry picked from audacity commit 96a4342e569e9a6d4158b3ec0729917de73a7cc5)

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00
akleja
ddbd9ed0cd Adjust vertical padding
Because we have one less border around the tracks, the Padding needs to be adjusted.

Signed-off-by: akleja <storspov@gmail.com>
2021-09-30 12:42:51 +02:00