1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

1934 Commits

Author SHA1 Message Date
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
SteveDaulton
3ba5f69089 Fix bug 2328: Ensure fade out at end of each DTMF tone 2020-02-19 19:42:21 +00:00
Paul Licameli
33b5d151ac Bug2271, Compressor ratio slider should not overlap the label...
... commit 707a069 was at fault
2020-02-18 14:21:11 -05:00
James Crook
970061483b Bug 2269 - Linux: Graphic Eq crash 2020-02-17 22:17:16 +00:00
James Crook
a6699ed494 Bug 2283 - Crash on editing Nyquist Generator plug-in parameters in Macro
Big Thanks to Steve for finding this and writing clear steps to reproduce when logging this bug in Bugzilla.  Also thanks to Peter for confirming the same bug is present on Windows, i.e. is all platforms, not just Linux.
2020-02-17 16:31:40 +00:00
James Crook
1d9aa20a40 Bug 2261 - Graphic EQ sliders have no frequency labels 2020-02-17 14:10:37 +00:00
James Crook
4d54430c7c Bug 2270 - Graphic Eq: GUI opens too small vertically 2020-02-17 13:27:13 +00:00
James Crook
3d7cf17950 Bug 2254 - Graphic Eq: Inappropriate presets 2020-02-17 13:21:44 +00:00
James Crook
83c294c844 Bug 2237 - Equalization effects have no Import or Export for curves
This is a minimal fix for this bug, and can be improved on in time.  There is almost no error checking in the file read and write, so if you use a bad presets file, you won't be told (yet).

It does provide import and export for all effects that have presets.
2020-02-17 11:59:40 +00:00
SteveDaulton
63c7f6b722 Nyquist: Handle nyx_list return value
Required to avoid error on running Macoro Scripting commands
from Nyquist.
2020-02-15 15:28:01 +00:00
David Bailes
7ff9f1b302 Bug 2293 - Change Tempo effect fails
Problem:
Validation of the length fails, because what should be the min and max are in fact the max and min.

Introduced by commit 1d32824, which got the min and max the wrong way round.
2020-02-10 10:44:03 +00:00
SteveDaulton
b85a393af4 Increase size of Nyquist string widget 2020-02-09 12:03:46 +00:00
Leland Lucius
70a67c51d2 Get rid of warning in LV2Effect.cpp
Use the wxCRT_StrdupA to use the appropriate strdup
function for the platform.
2020-02-06 23:18:48 -06:00
Leland Lucius
37f24ee3b0 Get rid of warnings
Must use the deprecated types to support older plug-ins.
2020-02-05 19:00:49 -06:00
Leland Lucius
df1aeb8f3f Ensure suil can find the interface modules
Suil uses loadable modules to embed different
UI toolkits within other toolkits, so he needs
to be told where to find them.
2020-02-05 15:30:05 -06:00
Leland Lucius
703f59d709 Ensure a native window exists
Don't send a size event to a native window unless the native
window actually exists.
2020-02-05 15:26:08 -06:00
Paul Licameli
3b77af5dfc Remove TranslatableStringArray.h 2020-02-02 18:02:32 -05:00
SteveDaulton
3e94dfdca0 bug 2300: Limit number of clips in *track* clips property
Nyquist has a limit (less than 2000) for the number of arguments
which may be exceeded when creating the *track* clips property.
In the event that there are more than 1000 clips in a track,
Audacity will now only add the first 1000 clips to the *track* property
and add NIL as the 1001th.
2020-02-02 21:24:44 +00:00
Paul Licameli
4d43967add Restore commit c1d129ec9863a877cdd678695fff54a5dab5a191 2020-01-31 23:51:12 -05:00
Paul Licameli
2c25a37994 Revert to a465ce0046e1726b3d2d926091b91714e154a91e 2020-01-31 22:34:25 -05:00
Paul Licameli
d9d3f95570 Several nonmodal top level window tools register their menu items...
... removing link dependencies on them from src/menus, so they are now suitable
for moving out into modules.

They are:
Mixer Board
Karaoke (also called Lyrics)
History
Contrast
Plot Spectrum

Their header files are now no longer included anywhere but in their own
implementation files!
2020-01-31 21:12:36 -05:00
Leland Lucius
6da68f2035 Remove obsolete config*.h files
These are ancient and "configunix.h" was being pulled in
via Types.h.  Nothing major, but they were generated for
a 32-bit system and "may" cause problems when used on
64-bit systems.

(That's unlikely though since they haven't all this time.)
2020-01-31 09:29:15 -06:00
Paul Licameli
9093364b8c Fix other problems since commit f6e5696...
... Problem with static initialization order of ReservedCommandFlags, caused
wrong enablement of menu items (at least on Mac), such as Plot Spectrum or
Contrast enabled when there was no selection
2020-01-28 17:49:07 -05:00
Leland Lucius
d28009c93e Remove unneeded include 2020-01-24 22:25:52 -06:00
Max Maisel
17ef5b1c75 Fix two bugs in loudness effect (#410)
* Calculate loudness for short or silent selections as well.

In case of selections shorter than 400ms (one momentary loudness block),
take what we have got and divide only be the actual length.

Abort loudness normalization silently if the selected audio is all
silent.

* Fix loudness effect bug when selection includes a gap.

If the selected audio in a track contained a gap between two clips,
an incorrect amount of samples was processed.
2020-01-24 18:04:19 +00:00
Paul Licameli
921d7f28ef Correct a naked new 2020-01-24 10:25:51 -05:00
Paul Licameli
b5b9ab6ecd EffectUIHost::BuildButtonBar uses ShuttleGui 2020-01-23 19:06:23 -05:00
Paul Licameli
c28c170cc0 EffectUIHost::Initialize uses ShuttleGui 2020-01-23 19:06:23 -05:00
Paul Licameli
eb3e5d8f6f Factor EffectUIHost::Initialize 2020-01-23 19:06:23 -05:00
Paul Licameli
1c84932dfa EffectUIClientInterface::PopulateUI takes ShuttleGui & 2020-01-23 19:06:23 -05:00
Paul Licameli
eff5b2ef92 Make Effect::PopulateUI final (no special case for Equalization) 2020-01-23 19:06:23 -05:00
Paul Licameli
46e99bb038 Move EffectPresetsDialog out of Effect.cpp 2020-01-23 15:23:46 -05:00
Paul Licameli
808d4accfd Remove some friends from Effect 2020-01-23 15:23:46 -05:00
Paul Licameli
e5625bfb89 Move EffectDialog out of Effect.cpp 2020-01-23 15:23:43 -05:00
SteveDaulton
9a0ee24c5c bug 2290: Add error message
See https://bugzilla.audacityteam.org/show_bug.cgi?id=2290#c9
2020-01-23 12:59:53 +00:00
SteveDaulton
32a60103b4 bug 2290: Bail if no DTMF sequence 2020-01-20 21:29:50 +00:00
Paul Licameli
bbdc27b462 LoadEffects.cpp doesn't depend on individual effect classes... 2020-01-19 19:16:51 -05:00
Paul Licameli
69dab8b552 Each built-in effect class registers itself with BuiltinEffectsModule 2020-01-19 19:16:51 -05:00
Paul Licameli
4579835911 Eliminate one of the ## macro hacks in LoadEffects 2020-01-19 19:16:51 -05:00
Paul Licameli
83be5b3045 All loaded built-in effects have nullary constructors 2020-01-19 19:16:50 -05:00
Paul Licameli
f2ed21f9e5 Fix some comments 2020-01-19 13:23:30 -05:00
Paul Licameli
2570b56176 Rename Maybe and its members more like std::optional of C++17 2020-01-19 11:38:12 -05:00
Paul Licameli
d2ccde77e7 Remove another exhaustive switch on view sub-types, in Nyquist.cpp 2020-01-18 20:28:53 -05:00
Paul Licameli
7cff170cf7 Sub-view objects report their complete type, not just an enum value 2020-01-18 20:28:53 -05:00