1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 16:39:30 +02:00

1063 Commits

Author SHA1 Message Date
James Crook
d092fe0e4b Review and fix CaptureMouse (per Bug 1204 commit comment)
This is using the same idiom of only capturing if not capturing already.  These cases in AutoDuck, Resizing, Grabber and TQP might have been latent ASSERTs.  This based on precedent rather than actual elicited buggy behaviour.
2016-07-17 09:38:23 +01:00
James Crook
163063f516 Merge pull request #143 from RaphaelMarinier/remove-old-fft2
Code cleanup: removed the old real FFT code not used for a long time
2016-07-13 18:32:42 +01:00
Steve Daulton
b3c7f37aba Merge pull request #141 from WaveMotion/changepitchparam
Correctly load parameters for Change Pitch effect
2016-07-12 19:51:08 +01:00
Gale Andrews
5648023cf3 Further fix for Windows build 2016-07-11 18:45:47 +01:00
Paul Licameli
84c0337aba Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
James Crook
763485b0dc Add error check comments.
These are places where we don't properly handle error returns.
2016-07-10 21:40:48 +01:00
Steve Daulton
673aecf05d Remove Leveller effect from Linux build 2016-07-01 16:49:49 +01:00
Steve Daulton
7c8d8b64d3 Distortion effect, 'Hard Clip' to 'Hard Clipping' 2016-07-01 11:27:23 +01:00
Paul Licameli
2a6a1b2679 Revert "Bug1329, partial: Enter invokes OK button again for effects on Mac"...
... because other fixes for Mac keyboard navigation have made this unnecessary.
2016-06-28 12:04:49 -04:00
Paul Licameli
4739f3e27b Compensate for wxW 3 tab navigation deficiencies on Mac...
... using char hook event handlers.  We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Raphaël Marinier
6ac68db5be Code cleanup: removed the old real FFT code not used since at least 2009.
I confirmed that the currently used real FFT code in RealFFTf.cpp is faster
than the old one with a quick benchmark that calls PowerSpectrum() on 4-minute
audio file, with different sizes of computation windows:

Window_size: 256 method: new FFT time_s: 0.393
Window_size: 256 method: old FFT time_s: 1.065
Window_size: 1024 method: new FFT time_s: 0.38
Window_size: 1024 method: old FFT time_s: 0.958
Window_size: 4096 method: new FFT time_s: 0.413
Window_size: 4096 method: old FFT time_s: 1.084
Window_size: 16384 method: new FFT time_s: 0.518
Window_size: 16384 method: old FFT time_s: 1.338
Window_size: 65536 method: new FFT time_s: 0.655
Window_size: 65536 method: old FFT time_s: 1.524
Window_size: 262144 method: new FFT time_s: 0.735
Window_size: 262144 method: old FFT time_s: 1.873
2016-06-25 20:40:16 +02:00
Paul Licameli
ad711e783b Bug470: Disable some Manage Curves buttons when no curve selected 2016-06-22 19:10:36 -04:00
Steve Daulton
03915b4438 Fixes to Analyze Contrast
Now supports stereo tracks. Several tweaks to error messages,
validation logic, and accuracy improvements.
Includes a fix for summary64K (incorrect rms drawn on zoomed
out waveform).
2016-06-21 22:07:50 +01:00
Taiki Kim
5421cf487a Correctly load parameters for Change Pitch effect
Partial fix for Bug 73.
Partial fix for Bug 1207.
2016-06-20 15:49:50 -07:00
Steve Daulton
141e6cb40b Fix bug 1361
Make time controls read-only.
2016-06-15 19:32:15 +01:00
Paul Licameli
b0c66ff5e2 fix mac build 2016-06-15 08:05:30 -04:00
Steve Daulton
27e46d5331 Distortion effect added 2016-06-15 10:51:46 +01:00
Paul Licameli
995db14fd9 Bug1329, partial fix: redo it as a Mac-only change 2016-06-14 15:31:29 -04:00
Paul Licameli
dfa91655d3 Bug1329, partial: Enter invokes OK button again for effects on Mac 2016-06-14 01:11:23 -04:00
Steve Daulton
fca6285315 Add #include <algorithm> for Windows 2016-06-07 11:23:11 +01:00
Steve Daulton
685300457c Bass and Treble update residual changes
Just a bit that got left out of the last update commit
2016-06-06 18:40:47 +01:00
Steve Daulton
e9dcf3e5e2 Add real time preview to Bass and Treble 2016-06-06 18:29:10 +01:00
Paul Licameli
36e5b4fbbc AudioIOStartStreamOptions includes the sample rate 2016-05-22 15:27:35 -04:00
Tony Kirkland
9905652d5c Bug 1279: change VST host window parameters to prevent app freeze 2016-05-22 11:17:04 -04:00
Benjamin Drung
a20d7898f3 Fix redeclaration of isinf()
Commit 9e78a41 declared isinf() as std::isinf(), because isinf() was not
declared on Ubuntu 16.04. But now the builds fail on Ubuntu <= 15.10,
because isinf() is declared there:

effects/Contrast.cpp:61:12: error: ‘constexpr bool std::isinf(double)’ conflicts with a previous declaration
 using std::isinf;
            ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/assert.h:35,
                 from /usr/include/wx-3.0/wx/debug.h:14,
                 from /usr/include/wx-3.0/wx/defs.h:695,
                 from /usr/include/wx-3.0/wx/event.h:14,
                 from /usr/include/wx-3.0/wx/window.h:18,
                 from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
                 from /usr/include/wx-3.0/wx/toplevel.h:20,
                 from /usr/include/wx-3.0/wx/dialog.h:14,
                 from effects/Contrast.h:12,
                 from effects/Contrast.cpp:13:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:201:1: note: previous declaration ‘int isinf(double)’
 __MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));

Thus use std::isinf() directly instead of declaring isinf() as
std::isinf().
2016-05-16 13:33:22 +02:00
Benjamin Drung
9e78a41faf Use std::isinf() instead of isinf()
Audacity fails to build on Ubuntu 16.04 with g++ 5.3.1 (using C++11),
because isinf() is not defined. Thus use std::isinf() instead.
2016-05-15 09:04:35 +02:00
Benjamin Drung
13630dc91d Use portable wxIsNaN() instead of isnan()
isnan() is not defined when compiling with g++ 5.3.1 on Ubuntu 16.04. It
is called std::isnan() in C++11 instead. Therefore use wxIsNaN() instead
which already defines the correct name.
2016-05-14 00:05:22 +02:00
Steve Daulton
15fe07638e Fix bug 1316
Improve effect descriptions for tone and chirp generator.
2016-05-09 09:20:06 +01:00
Paul Licameli
db137ddf76 wxWindow takes ownership of its wxAccessible, so we can use safenew. 2016-05-06 21:03:37 -04:00
Paul Licameli
014d5ab93c Type safety in the use of command flags, and make enum wide, allowing more bits 2016-05-05 20:02:13 -04:00
Gale Andrews
df3003fe62 Use same term as used in the Manual. 2016-04-29 16:09:18 +01:00
Paul Licameli
1bdd1a07ab Similarly for Equalization: avoid assertion in debug build, if you ESC...
... while dragging a point in "Draw Curves".
2016-04-25 01:04:38 -04:00
Paul Licameli
08eb840f32 You could get an assertion, on Mac debug build at least, ...
if you hit ESC during drag in the Autoduck dialog.  This fixes that.
2016-04-24 23:56:15 -04:00
Paul Licameli
f2c6fbfc1b Bug1318 fixed again so that generators and effects on Windows still work 2016-04-24 10:32:20 -04:00
Paul Licameli
879ecefdaa Bug1318: ESC key or red close button should not leave the app unresponsive...
... I don't fully understand why this fixes it, but I could figure out what
was different between ESC and Cancel button which did not have the problem.
2016-04-23 08:49:11 -04:00
Paul Licameli
d5915491b3 Bug1342: Loop-play (and other things) before scrub (and other things)...
... should not disable auto-scrolling of the window during playback.
2016-04-18 17:50:17 -04:00
Paul Licameli
2d7e21536e Sweep for filename copying: prefs and effects 2016-04-10 22:25:49 -04:00
Paul Licameli
59af732763 Mac build fixes; and implement deleters for our imitation unique_ptr 2016-04-10 14:15:51 -04:00
Paul Licameli
2696da89cb One more use of smart pointer object SampleBuffer, in Nyquist.h...
...Leaving no "naked" DeleteSamples.  Only SampleBuffer::Free now calls it
directly, and SampleBuffer calls Free in its destructor.
2016-04-10 00:07:21 -04:00
Paul Licameli
9f3e4213ec Partial compilation fixes for EXPERIMENTAL_EQ_SSE_THREADED plus __AVX_ENABLED 2016-04-07 14:37:08 -04:00
Gale Andrews
7f3edc2523 Bug 1312 Further consistency fix for description
Don't start description with an object, per consistency with Manual.
2016-04-07 03:40:47 +01:00
Gale Andrews
b7aabee96a Bug 1317 Further consistency fix for description
Don't start description with an object, per consistency with Manual.
2016-04-07 03:35:01 +01:00
Paul Licameli
e0476b5e71 Module interfaces managed by smart pointers 2016-04-06 16:06:30 -04:00
Paul Licameli
54402bf00d Effects managed with smart pointers 2016-04-06 16:06:29 -04:00
Paul Licameli
a9afad17ca Plugin instances managed without naked new and delete 2016-04-06 16:06:27 -04:00
Paul Licameli
df45886d6b Bug1340: sync-lock should work when generating audio 2016-04-05 17:06:24 -04:00
Paul Licameli
f0cbda835e Bug1257: Crash when enabling VST effect Amplio2...
... Suspected a threading bug in the library itself, which Audacity can
compensate with a short delay:  see code comments.

The other part of the complaint in 1257 -- that the play button would crash --
was a separate problem, fixed previously for bug 1242.
2016-04-05 15:09:07 -04:00
Paul Licameli
3ced1503ee Make EXPERIMENTAL_EQ_SSE_THREADED compilable, at least on Windows. 2016-04-03 11:37:18 -04:00
Paul Licameli
2e5d24ab02 Make EXPERIMENTAL_EFFECTS_RACK compilable 2016-04-03 09:42:16 -04:00
Paul Licameli
8ae361d415 Fix some of the compilation breakage in EXPERIMENTAL_SCOREALIGN...
... But some of the header files and functions just don't exist any more.
2016-04-02 15:46:56 -04:00