1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-06 17:13:49 +01:00
Commit Graph

9859 Commits

Author SHA1 Message Date
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
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
Emily Mabrey
ff10653f15 Merge pull request from tenacityteam/emabrey/build-info-clang
Fix clang compiler build info

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/626
2021-09-27 01:59:41 -04:00
lmarz
198d49b773 Rename freedesktop and metainfo files to reverse DNS schema
Based on the suggestion made by Mart Raudsepp.

"Regular installs should have reverse DNS notation desktop and
metainfo files as well. This becomes important if we ever make use
of things like dbus service activation further down the line. And
renaming it then will break peoples app shortcuts and other things."

Signed-off-by: Leon Marz <main@lmarz.org>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Helped-by: Mart Raudsepp <leio@gentoo.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/642
2021-09-27 05:49:51 +00:00
Panagiotis Vasilopoulos
a1e7fd1aab ControlToolBar: Reorder icons
Although we expect that this change will probably put off long-time Audacity
users, we believe that it's easier to reach the buttons that are used the
most if they are placed on the right.

Controversial change is controversial, but better now than later.

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/402
2021-09-23 08:00:17 +00:00
lmarz
0b4074d35e Show wxWidgets version in About dialog
Signed-off-by: Leon Marz <main@lmarz.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/634
2021-09-19 07:29:00 +00:00
Sol Fisher Romanoff
0ccf25c27d Merge remote-tracking branch 'lanodan/bugfix/cmake-wayland-vst'
The VST plugin done via GTK for non-apple & non-windows pulls
<gdk/gdkx.h>, which is specific to X11 and thus isn't available in a
pure-wayland system.

Reference-to: https://github.com/tenacityteam/tenacity/pull/620
2021-09-17 16:14:45 +03:00
Panagiotis Vasilopoulos
41e73e11bc BuildInfo.h: Improved Clang capitalization
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/626
2021-09-16 07:48:27 +02:00
Haelwenn (lanodan) Monnier
b8995f0989 CMake: Disable VST (GTK) when gdk-x11-3.0 isn't found [wayland]
The VST plugin done via GTK for non-apple & non-windows pulls <gdk/gdkx.h>,
which is specific to X11 and thus isn't available in a pure-wayland system.

This disables it automatically.

Closes: https://github.com/tenacityteam/tenacity/issues/614
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-09-15 22:29:15 +02:00
Emily Mabrey
6831615d3f Fix clang compiler build info
Make GCC/clang differentiation more accurate
Add "Apple clang" detection

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-14 23:05:33 -04:00
Be
9a48dffa97 CMake: copy dylibs into macOS bundle
Somehow this was broken by
https://github.com/tenacityteam/tenacity/pull/228

I don't know how it ever worked before without this.

Signed-off-by: Be <be@mixxx.org>
2021-09-13 01:26:06 -05:00
Be
9f85801ff6 CMake: fix copying of dylibs on macOS
Fixes https://github.com/tenacityteam/tenacity/issues/542

Signed-off-by: Be <be@mixxx.org>
2021-09-12 21:58:00 -05:00
Mart Raudsepp
663dfa4671 FileNames: Support XDG paths handling under wxGTK 3.0
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-08 00:29:10 +03:00
Mart Raudsepp
930a3a7386 FileNames: Fix typo in __WXMSW__ preprocessor check
Fixes: 401979369b
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-08 00:29:10 +03:00
Sol Fisher Romanoff
4a3f84efe5 Merge branch 'AutoRecoveryDialog-wxDVC'
* AutoRecoveryDialog: Rename PopulateOrExchange to Populate
* AutoRecoveryDialog: Port to wxDataViewListCtrl
2021-09-07 21:02:41 +03:00
Emily Mabrey
7450432f9a Attempt to fix macOS build issues
Add `umount` command behavior
Modify to retry 12 times over the course of 240 seconds total
Change `scripts\build\macOS\DMGSetup.scpt` to close DMG when finished.
Improve system detection for setting project name.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -04:00
Emily Mabrey
c3db577e93 Refactor build and CI configurations
Reword vcpkg caching comment
Make comment about wxwidgets Linux/macOS workaround more clear
Give each step of `cmake_build.yml` workflow a unique ID
Change cache lookups to use step's id instead of step's name
Add glob protection to runner OS detection in CI
Set new default CI build type of MinSizeRel
Ensure consistent formatting across `CMakeLists.txt` files
Change mimetypes generated on Linux to use tenacity-project mimetype
Add more explanatory comments to both `CMakeLists.txt`
Replace improper build architecture debug messages

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:06:04 -04:00
Emily Mabrey
b650b5aafc Enable Interprocedural Optimization
CMake will now enable linking IPO if the compiler supports it

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
2021-09-06 02:05:21 -04:00
Emily Mabrey
b9ad2747fb Merge pull request from lmarz/dbpage_fix
ProjectFileIO: Check for SQLITE_ENABLE_DBPAGE_VTAB option

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/568
2021-09-05 01:56:50 -04:00
Mart Raudsepp
4baa9dea93 AutoRecoveryDialog: Port to wxDataViewListCtrl
wxDataViewCtrl and co are preferred over legacy wxListCtrl/wxTreeCtrl.
wxDataViewCtrl gives a native wxGTK and wxMac widget, unlike wxListCtrl.
It also supports a checkboxes column in wxWidgets-3.0, for which
wxListCtrl only added support in 3.1.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-05 00:53:00 +03:00
Mart Raudsepp
16e02cb373 AutoRecoveryDialog: Rename PopulateOrExchange to Populate
Here it is never called after initial creation, so using the "standard"
method name of PopulateOrExchange, as done in prefs ShuttleAll and co,
is just confusing. Rename it for clarity.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-09-05 00:53:00 +03:00
Juozas
fe71cee15f Remove crash reporting from help menu
This commit removes unused crash reporting menu items from the help menu
as the code related to it were already removed from the code tenacity.

Signed-off-by: Juozas <juozaspo@gmail.com>
2021-09-04 14:04:59 +03:00