Commit Graph

1777 Commits

Author SHA1 Message Date
Leland Lucius
ead26dd2aa Bug 1807 - NyquistPrompt Scripting command is not functional
2nd attempt... :-(
2020-04-05 14:54:11 -05:00
Paul Licameli
61abb87a77 Reviewed all i18n-hint comments...
... Moved many misplaced ones, which msgfmt would not have extracted into
audacity.pot.

Duplicated some of them, to appear with related but distinct msgids.

Added a few new comments.

Deleted one that was no longer needed in ProjectManager.cpp.
2020-04-05 09:00:00 -04:00
Leland Lucius
0523e292a3 Bug 1807 - NyquistPrompt Scripting command is not functiona 2020-04-04 16:11:11 -05:00
Leland Lucius
c840133dd8 Bug 2384 - Filter Curve EQ error in non-English locale 2020-04-04 02:54:55 -05:00
SteveDaulton
8e57ce451a Add spectral delete effect 2020-04-02 22:41:06 +01:00
Leland Lucius
8ae9a708fe Fix disabled OK button in effects when monitoring 2020-03-31 13:54:02 -05:00
Leland Lucius
4b76af5314 Bug 2376 - Crash when attempting to use AudioUnit in Basic mode 2020-03-30 00:39:07 -05:00
David Bailes
203d801293 Built-in Generate and Analyse dialogs: add missing access keys 2020-03-27 14:40:26 +00:00
David Bailes
eeeb4f3e1f Built-in effect dialogs: add access keys where necessary
Several of the dialog were missing acccess keys.
Note: access keys not added to Distortion effect as yet, due to complexity of control names changing when the Distortion type is changed.
2020-03-27 10:51:34 +00:00
Paul Licameli
9f076b5179 Make changes to Change Tempo dialog during preview work as intended...
... See commits b22f6b59d2 and
19fa6d2833
2020-03-26 11:13:43 -04:00
Paul Licameli
85c34132f4 fix sync-lock adjustment in effects, see commit a93c447 2020-03-26 11:08:22 -04:00
Paul Licameli
491b1d40a3 Remove unused member of Effect 2020-03-26 11:02:53 -04:00
Paul Licameli
8570ab7402 Fix incorrect type shuttling Loudness parameters 2020-03-22 22:08:31 -04:00
Paul Licameli
210fc28863 Bug 2368: Effects with clip boundaries differing across channels...
... Wrong results could happen in effects that don't compute the channels
independently, such as the built-in Reverb.

To fix it, always fetch same position of left & right channels when
computing effects.
2020-03-22 07:56:40 -04:00
Paul Licameli
8eee265c38 Fix error in generator code...
... see commit 5378b0a951

complete the change that was intended there, for both channels
2020-03-22 07:56:40 -04:00
James Crook
d809745a55 Bug 2367 - Residual: Change Speed effect may create spurious clip at end
Also the fix for Change Pitch was not complete as it only worked for mono tracks.
2020-03-22 11:49:39 +00:00
Paul Licameli
37c8a6ef23 Remove unused member variable 2020-03-21 16:19:13 -04:00
Paul Licameli
7ae5c65580 Remove test in Loudness effect for same clip boundaries in channels...
... it was not correctly written, and anyway WaveTrack::Get doesn't really
report sufficient information to test as intended.
2020-03-21 15:48:58 -04:00
James Crook
0fe483f0e2 Bug 2367 - Change Pitch effect may create spurious clip at end 2020-03-21 19:40:56 +00:00
Paul Licameli
b683ed8c07 Remove vestiges of unification of Normalize with Loudness 2020-03-21 11:14:13 -04:00
Paul Licameli
7224671628 Fix a comment 2020-03-19 15:47:55 -04:00
Paul Licameli
76a896845c Use safenew (appropriately!) in two places 2020-03-19 14:34:16 -04:00
Leland Lucius
9cf80a41ee Bug 2334 - Mac: AU effects cannot Export or Import the effect's settings
This removes the ability to import/export multiple presets at
once and add the standard method used by the other plug-ings.

It also adds a workaround for the AU view not updating after
setting a new preset.  I will continue to look for the true
cause of this, but the workaround does correct the display
issue.
2020-03-14 18:58:55 -05:00
Paul Licameli
76c3008759 Remove unused variable 2020-03-14 14:52:47 -04:00
Leland Lucius
12c940cdf6 Suppress deprecation warning 2020-03-11 23:47:55 -05:00
Paul Licameli
c2feee6cea Bug2346: Complete fix...
... without making undesirable dependency cycles.

Eliminate calls to NewWaveTrack in effects, but in Edit>Copy too, which was
not mentioned in the bug report.  (Copying a track, deselecting all, and pasting
preserved CLIP colors, but not the TRACK color setting which applies to newly
generated clips.)

Instead, always use the new function WaveTrack::EmptyCopy from the track to be
later replaced, getting color information.

NewWaveTrack is still used in benchmark test, import, the Track menu
commands that make new tracks, recording to new tracks, and generators without
a selection, where there is no track to copy from.

Also when deserializing tracks from the .aup file, in which case the saved
color is later retrieved from the file.

Also, in mix-and-render, where other logic decides whether to copy colors
afterward.

See commit a9658e6ef7
2020-03-10 22:32:23 -04:00
Paul Licameli
046ee21e72 Move GetEditClipsCanMove to global function in TracksBehaviorsPrefs.cpp 2020-03-09 11:23:08 -04:00
Paul Licameli
37d730edfe Break dependency cycle of Effect and EffectManager 2020-03-08 16:21:28 -04:00
Leland Lucius
ced4c21700 Bug 2334 - Mac: AU effects cannot Export or Import the effect's settings
Nearly all of the entire preset handling was broken.  It was based
on the parameter names only and for various reasons, that was very
inadequate.

So, it now uses the recommended approach.
2020-03-07 02:06:15 -06:00
Leland Lucius
35fa6cf399 Bug 2036 - Mac: Some AU plug-in effects can be enabled but fail to register
None of the effects listed in the bug expose any parameters.
2020-03-07 01:39:11 -06:00
Leland Lucius
d15308b7e7 Bug 1602 - Mac: AUPeakLimiter plug-in visual corruption makes it hard to use the effect
And fix for #3 listed here:

https://forum.audacityteam.org/viewtopic.php?f=47&t=109165&p=387698#p387698
2020-03-06 23:20:23 -06:00
Paul Licameli
a9658e6ef7 Alternative fix for Bug2346 without dependency cycles 2020-03-06 17:32:24 -05:00
James Crook
f1b6843b9a Bug 2321 - Crash on editing ChangePitch parameters in a Macro
EffectChangePitch:: Don't use the inputTracks() when building the GUI
in Batch mode.

Repeat and NyquistEffect had the same problem as they could call
FindProject() which used inputTracks() on a closed project.  Fixed by a change in Effect::GetSelectionFormat().
2020-03-06 19:14:31 +00:00
James Crook
09883646ec Fix Linux builds (Case sensitive include paths) 2020-03-05 23:00:05 +00:00
James Crook
95bbe617b8 Bug 2343 - Presets: Effect Ids not the same in Presets as for Macros 2020-03-05 22:14:17 +00:00
Paul Licameli
b8fd99692d Preview button of Noise Reduction always disabled when editing macro...
... as was intended but not properly implemented
2020-03-03 12:47:34 -05:00
James Crook
042b0f6b9b Bug 2338 - Graphic EQ: Frequency sliders cannot be identified by just looking at the effect UI. 2020-03-02 18:57:09 +00:00
Paul Licameli
91503a91f1 Amplify effect should correctly restore the saved can-clip setting...
... bug began at commit d98e41a

When not batch processing, don't overwrite mCanClip
2020-03-02 12:12:27 -05:00
Paul Licameli
310b5dea30 Fix (again) calls to AddCheckBox...
... Force you to pass bool now.  Break compilation in case you pass literal
"false", rather than implicitly converting it to bool true !

See commit 7766d9a192 which was in 2.3.2

But Max merged later at d9608cddea in 2.4.0, with
his effect apparently written analogously with the old code in Normalize from
before that, and this quetly compiled with the wrong effects.
2020-03-01 22:17:20 -05:00
James Crook
ec00a7352f Bug 2340 - Macros: Graphic Eq and Filter Curve may open with wrong settings from Macro Editor 2020-02-26 12:31:31 +00:00
Paul Licameli
da2e02242f Bug2325: Don't hang exporting effect presets twice...
... or, what I saw in my Mac builds:  there wasn't a hang, but there was
incorrect behavior on alternate attempts to export presets.  Sometimes, instead
of (correctly) giving a file overwrite warning, there was instead a message
box about failure to open a non-existent file path, which had the last path
component duplicated.
2020-02-25 11:39:46 -05:00
James Crook
3653af42fc Bug 2326 - Further wording tweaks. 2020-02-25 11:41:36 +00:00
James Crook
d70365ba2b Bug 2326 - Wording improvement (as requested). 2020-02-25 11:09:43 +00:00
James Crook
64811e49f9 Bug 2326 - Export settings from one effect can be attempted to be imported into another effect - silent fail, with no error message 2020-02-24 20:57:47 +00:00
Paul Licameli
25d0871e55 Move i18n-hint to proper place...
... It must be on the line preceding the string to get into the .pot file
2020-02-23 14:41:58 -05:00
James Crook
24e5c9bde9 Remove old printfs
These were introduced when working on import/export of presets.
2020-02-22 19:06:01 +00:00
James Crook
acf91a70e0 Clean up EQ changes.
- i18n comment
- Remove hanging not-needed comment.
- Remove some already commented out code.
2020-02-22 19:02:28 +00:00
Leland Lucius
80662a1b60 Add missing value initialization 2020-02-21 11:17:59 -06:00
James Crook
3332c9451e Slightly faster parsing of Nyquist programs.
This reads the program into a buffer first.
It also preallocates space for the Nyquist program.
2020-02-21 15:39:37 +00:00
David Bailes
f5b8b4028b Accessibility: AutoDuck and Truncate silence effects.
Problem:
Screen readers don't automatically read the units of the values in text boxes.

Fix:
Add units the the accessibility name of the text boxes.

Thanks to Paul for providing ShuttleGui::NameSuffix(), which makes the code neat and readable.
2020-02-21 14:55:15 +00:00