1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 16:20:05 +02:00

3072 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
d603936d58 Noise reduction effect enabled in windows builds. 2014-11-11 22:06:07 +00:00
james.k.crook@gmail.com
703fafacb2 Frequency-selection aware noise reduction, plus small adjustments to toolbar and effect. (patch from Paul Licameli)
1. Change in project.cpp fixes misbehavior of spectral selection toolbar,
when you try to enter numbers in the low or high frequency boxes and one of
the frequencies was undefined.

2. Changes in NoiseReduction.cpp now take the spectral selection into
account in step 2, so that noise is reduced (or isolated) only in the
selected range of frequencies.  No effect on statistics gathered in step 1.

3. Other noise reduction changes:  avoid an assertion in case of certain
incompatible settings, and end all messages in message boxes consistently
with a period.
2014-11-11 18:02:31 +00:00
james.k.crook@gmail.com
e76c17d384 Edgar's fix: Missing include file when compiled for wx3.x 2014-11-11 16:08:17 +00:00
james.k.crook@gmail.com
740bc0d983 Fixed warnings about AUDACITY_DLL_API.
If one class is exported, then all the classes it derives from must be exported too, otherwise we get warnings wherever it is used.
2014-11-11 15:47:48 +00:00
james.k.crook@gmail.com
1933070f0d Tweak to spectral selection behavior when one edge is tied.
Idea by Martin.  Implemtation by Paul Licameli.
2014-11-11 15:24:22 +00:00
james.k.crook@gmail.com
6e384e2f6b Noise Reduction Effect by Paul Licameli.
#ifdef EXPERIMENTAL_NOISE_REDUCTION for now.
2014-11-10 21:30:44 +00:00
james.k.crook@gmail.com
c900da7a56 Spectral SelectionBar tweaks from Paul Limaceli.
- Center and Width now the default
- Above choice persists.
- Accessibility changes (focus was lost on changing choice)
2014-11-10 21:09:28 +00:00
lllucius@gmail.com
a68093ae60 Added a bunch of missing files to POTFILES.in and regen'd the pot files. 2014-11-10 20:31:56 +00:00
stevethefiddle@gmail.com
233f43dd7d Fix: Spectrogram gets the wrong default on first run. 2014-11-10 20:14:51 +00:00
james.k.crook@gmail.com
649315c644 From: martin@steghoefer.eu [patches 0017 and 0018] Fix compilation problem with wxWidgets 3.0:
0017: Encapsulation of reference type returned by wxString::operator[]
0018: Interface change for classes deriving from wxGridTableBase


0017
----
The NumericTextCtrl relies on the fact that the value returned by
wxString::operator[] is a "wxChar&". However, in wxWidgets 3.0 it is a
wxUniCharRef (encapsulation of a reference to characters, to improve unicode
handling).

wxString::reference provides the correct type in both wx2.8 and wx3.0 and can be
used as writable reference in both cases. However, for the case of an update of
the reference itself (instead of the value), there is no common syntax. In this
case the character position within the string has to be used as reference.

0018
----
With wx3.0, different methods have to be implemented (EndEdit with new signature
and ApplyEdit) than with wx2.8 (only EndEdit with old signature). Now both
versions are implemented in parallel in the classes TimeEditor and ChoiceEditor
(one version essentially being a wrapper of the other one).

Note: Superseding the previous solution of the issue (committed in r13403) by one
that avoids code duplication. This should avoid problems with missed changes in
code that isn't used with the wxWidgets version that the developer tests with
(like just happened in r13557).
2014-11-10 19:28:17 +00:00
lllucius@gmail.com
83e8983165 Nyquist makefile is now generated...this one is no longer needed. 2014-11-10 18:28:09 +00:00
lllucius@gmail.com
6f0a6813c3 Removed TimeTextCtrl from POTFILES.in 2014-11-10 16:53:34 +00:00
stevethefiddle@gmail.com
c061d3cf4f Fix corruption of menu arrow on single height rms meter. 2014-11-10 14:52:54 +00:00
lllucius
4b39b189bf Removing wxWidgets project from Audacity solution 2014-11-10 14:16:28 +00:00
windinthew@gmail.com
06562b964b Add missing ta.po. 2014-11-10 09:57:20 +00:00
james.k.crook@gmail.com
035ee5cdff [Bug 782] Nyquist parameters changed (during this session) now remembered until end of session, as before.
Thanks to Steve for tracking this down.
2014-11-09 21:54:06 +00:00
james.k.crook@gmail.com
aeaf2d1bf4 Removed TimeTextCtrl.cpp from build, now that it has been renamed (and there is no file there now). 2014-11-09 21:28:54 +00:00
james.k.crook@gmail.com
13fee220d5 Add SpectralSelectionBar:: prefixes for ISO compliance. (g++ won't compile this otherwise). 2014-11-09 21:27:46 +00:00
james.k.crook@gmail.com
8d2d9ff9aa Spectral Selection Toolbar now supports high-and-low as well as center-and-width.
Patch from Paul Licameli.
2014-11-09 18:17:44 +00:00
james.k.crook@gmail.com
a09d3717fa Added experimental LED style for meters. 2014-11-09 17:54:49 +00:00
james.k.crook@gmail.com
4acd4e3324 Remove previous code for invalidating bitmaps from device toolbar.
This caused a memory leak previously.
2014-11-09 17:15:06 +00:00
james.k.crook@gmail.com
9e931c806c Restored numbers on compact meter bars. 2014-11-09 17:03:11 +00:00
james.k.crook@gmail.com
24a636d6ea Tidy up of code. Moved preferences menu to end of meter. Fixed memory leaks on some bitmaps. 2014-11-09 16:44:07 +00:00
james.k.crook@gmail.com
8bd3891561 Criterion for meter single height or double height when docked made same as size for switching meter from compact to not. 2014-11-09 15:55:24 +00:00
james.k.crook@gmail.com
7ee3c47441 Added Space-Saver meters. These are now the default.
Fixed ResetToolbars so that SpectralSelectionBar is not shown after a reset.
2014-11-09 15:47:09 +00:00
lllucius
0880d1777a Renaming TimeTextCtrl to preserve history.
(If I got it right.  ;-))
2014-11-09 14:35:18 +00:00
james.k.crook@gmail.com
65a75fafb4 Project window height tweak, following feedback. 2014-11-09 10:38:41 +00:00
lllucius@gmail.com
78db267dcb Added new files to Mac project 2014-11-09 03:01:18 +00:00
james.k.crook@gmail.com
0d34f0835d Taller window to go with window being wider.
We're agreed we want a wider window by default.  Some experimenting still to do with what to show by default, how much space to use, and in what order.
2014-11-08 23:32:33 +00:00
james.k.crook@gmail.com
d85ab39bb6 Added new files. 2014-11-08 19:49:15 +00:00
james.k.crook@gmail.com
d9d193a1ea Wider Audacity and wider meters, now that we are agreed 1000px is fine for a minimum width.
This entailed rearranging the toolbar order.  I've set the width to 940px, but am tempted to take it all the way to 1000.
2014-11-08 18:51:00 +00:00
james.k.crook@gmail.com
cb7d090cd6 Added NumericTextCtrl.cpp and SpectralSelectionBar.cpp 2014-11-08 17:34:35 +00:00
james.k.crook@gmail.com
851e332b7b Disabled EXPERIMENTAL_MIDI_OUT (for linux builds) 2014-11-08 17:11:05 +00:00
james.k.crook@gmail.com
af8457dd1c From: martin@steghoefer.eu [PATCH 16/16] Fix runtime problem with wxWidgets 3.0: Segmentation fault due to events arriving before initialization.
"The dialogs LadspaEffectDialog, LV2EffectDialog and VampEffectDialog receive EVT_TEXT events before the dialog classes are properly initialized. To prevent this, a workaround was already in place, but was only active on Windows. This happens now on more platforms (including GTK). So activate it on the wxGTK with wx3.0, too."
2014-11-08 16:53:43 +00:00
james.k.crook@gmail.com
88ed83d967 Included missing changes to move from TimeTextCtrl to NumericTextCtrl in r13557. 2014-11-08 16:48:36 +00:00
james.k.crook@gmail.com
8a9987a0d9 From: martin@steghoefer.eu [PATCHES 02-15 of 15] Fix runtime problem with wxWidgets 3.0:
Correct string formatting for:
2/15  %d + enum => %d + int
3/15  %lld + int64_t => %lld + long long
4/15  %d + int64_t => %lld + long long
5/15  %d + double => %f + double
6/15  %d + int32_t => %d + int
7/15  %d + intptr_t => %p + void*
8/15  gint, guint
9/15  %d + long => %ld + long
10/15 %n + int => %d + int
11/15 %x + int => %x + unsigned int
12/15 %f + int => %d + int
13/15 %S + wxChar* => %s + wxChar*
14/15 %d + size_t => %d + int
15/15 %d + size_t => %lld + long long

"The functions wxString::Format, wxString::Printf (and others indirectly) have become stricter about parameter types that don't match (format specifier vs. function parameters). So the bugs (that were already present in audacity before) become visible in wx3.0 as error message dialogs. I've checked all occurrences of Printf, wxPrintf, PrintfV, Format, FormatV, wxLogDebug and wxLogError systematically and made the type match."

Note (9/15): In TrackPanel.cpp, ExportMP2.cpp and CompareAudioCommand.cpp this patch supersedes related change done in r13466 because the new solution requires fewer casts and therefore simplifies the code.

Note: Many .po files are affected, and we need to be very careful about this.  Incorrect "%d" and similar in translation files may lead to crashes in those languages (only).  This is something we should actually have been more careful about in the past.  We need to write a script to check that the "%d" and similar format specifiers match between English and translation.
2014-11-08 16:42:34 +00:00
lllucius@gmail.com
a9a0d576cc Always rebuild modules when "make modules" is used 2014-11-08 16:22:44 +00:00
james.k.crook@gmail.com
8305bfdb05 From: martin@steghoefer.eu [PATCH 01/15] Fix runtime problem with wxWidgets 3.0: Correct string formatting: wxLongLong -> %lld + long long
The functions wxString::Format, wxString::Printf (and others indirectly) have become stricter about parameter types that don't match (format specifier vs. function parameters). So the bugs (that were already present in audacity before) become visible in wx3.0 as error message dialogs. I've checked all occurrences of Printf, wxPrintf, PrintfV, Format, FormatV, wxLogDebug and wxLogError systematically and made the type match.

Note: In Shuttle.cpp this patch supersedes one related change done in r13466 because a wxLongLong_t can be bigger than an int and in a generic function like "TransferLongLong" this should be taken into account.
2014-11-08 16:06:28 +00:00
james.k.crook@gmail.com
96531ef766 Hide spectral selection bar by default. Tidy up folders within MSVC project. 2014-11-08 15:47:08 +00:00
james.k.crook@gmail.com
67d2b274e2 Frequency Selection toolbar from Paul Licameli.
Linux/Mac will need new files adding to project, SpectralSelectionBar.cpp, NumericTextCtrl.cpp.
2014-11-08 15:18:43 +00:00
james.k.crook@gmail.com
327bd905de Missing cursor xpms that I meant to add with the previous commit. 2014-11-08 14:35:19 +00:00
james.k.crook@gmail.com
6112a2a8c1 Spectral selection cursor and mode selection changes from Paul Licameli.
This also now shows a new green 'play cursor' when ctrl is held down on wave track, and shift being held down is signalled by a cursor change to finger-pointer too.

I also accidentally enabled EXPERIMENTAL_MIDI_OUT.  We may disable that in December for release.  Leaving it in for now.
2014-11-08 14:30:19 +00:00
lllucius@gmail.com
a4b3ece538 Remove path separator characters from plugin IDs when saving
The characters were a problem on Linux since wxFileConfig was
intepreting them and creating extra (unwanted) groups.

This change will suffice until/if this is converted to XML.
2014-11-07 11:00:12 +00:00
lllucius
7bb4b7c941 More effect changes to new format and realtime preview
Main effect host processing extended to support generate
effects and sync locked tracks.

Ladspa updated to utilize new generate support.

I'll address Analyze plugins when I get to the SBSMS ones.

Shared and private config changes are flushed immediately.

Cancel button restored to VST and Ladspa dialogs.  This
also restores the ESC button functionality.

Current parameters saved with Apply or Ok clicked...not
when Audacity ends.

Ladspa and VST effects with that reports no input and
no outputs are now ignored.

Ladspa effects providing a latency value is now handled.

Ladspa generator effects now use the TimeTextCtrl for
specifying duration.
2014-11-07 09:54:04 +00:00
james.k.crook@gmail.com
ed1338cdec Fix for Bug 781.
Fixes race condition on Audio thread state by using a mutex, so can play and use . (scrubbing forward) and SPACE (play/stop) safely.  Previously crashed.  Patch by Paul Licameli.
2014-11-06 17:48:26 +00:00
lllucius@gmail.com
94d97f87b8 Darn Windows developers! (Or the VS compiler is just too helpful.) 2014-11-06 04:58:40 +00:00
lllucius
3d8de17c22 Slightly better error handling during effect initialization
It at least detects load failures now.  ;-)
2014-11-05 20:41:29 +00:00
lllucius
b20cadd01f Forgot to change the WXWIN variable name back from my test one 2014-11-05 15:46:51 +00:00
lllucius
720422fc6e Change to wxWidgets project to help debug why it doesn't work for some 2014-11-05 15:42:46 +00:00
v.audacity
3927d4d3df another couple of minor changes, separating references 2014-11-05 08:39:36 +00:00