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

3947 Commits

Author SHA1 Message Date
Paul Licameli
65f1bbe449 Disable spectral editing effects in one place in Nyquist.cpp...
... by passing invalid frequency values,
rather than by checking the 'view property in each effect.

Spectral editing is now permitted only for appropriate track view types.

But I would suggest reconsideration of the exact conditions in which we do
this.
2015-07-25 15:12:18 -04:00
Paul Licameli
7f7506dbcd Bugs 895, 1048: Now typing '-' can set upper or lower frequency to undefined 2015-07-25 14:41:44 -04:00
Paul Licameli
d3c9a9fd80 Bug1093: Now selection in Waveform view will not delete frequency selection 2015-07-25 13:53:39 -04:00
Paul Licameli
fd274e6d0e Bug892: Spec. Sel. Toolbar no longer forces selection below half project rate...
... rather, selections up to half of the maximum of project rate and all track
rates is permitted.

Also added some more cautions to the Nyquist code for spectral selection
effects, in case input frequencies exceed Nyquist for the track (as they
may now do).
2015-07-25 13:28:23 -04:00
Paul Licameli
a0f5f5852c Simplify uses of catch 2015-07-25 12:30:42 -04:00
Paul Licameli
0a71291c99 Bug 1049: Spectral edit parametric EQ fails silently on 0 Hz low frequency. 2015-07-25 12:25:08 -04:00
Paul Licameli
cf9851c313 Bug 891: Changing low or high frequency in spectral selection toolbar...
... will not change the opposite bound, but will instead be constrained by it.
2015-07-25 11:41:52 -04:00
Paul Licameli
9bb5ed2c06 Merge branch 'temp3' 2015-07-24 20:39:03 -04:00
Paul Licameli
a0ebf3eb4a Revert "Track view awareness removed from Spectral Edit effects as demanded by"
This reverts commit 4d0e8f6c76b8a64c9a4f7adc7d662e0eb81efe0f.
2015-07-24 20:38:17 -04:00
Steve Daulton
df8ddde874 Added dB - linear amplitude conversion macros. 2015-07-24 21:59:34 +01:00
Leland Lucius
44c9a7b864 Must delete window disabler before the ending the dialog 2015-07-24 00:02:19 -05:00
Steve Daulton
da060228eb Update Normalize.cpp
Allow 2 decimal places in Normalize control (as requested by Gale).
I don't see any practical case where this is 'necessary', but it is a user request, there may be some obscure use case, and it does no harm.
2015-07-23 17:51:39 +01:00
Paul Licameli
0eca155060 Bug 1089: Spectrogram and Spectrogram log(f) views cannot be selected 2015-07-23 03:52:42 -04:00
Paul Licameli
007e0f7103 Bug 1089: Spectrogram and Spectrogram log(f) views cannot be selected 2015-07-23 03:51:46 -04:00
Leland Lucius
d98b588798 Remove more "shared"/"static" remnants 2015-07-22 22:02:12 -05:00
Leland Lucius
6b64548efb Need to create the dest directory if it's not there 2015-07-22 21:57:32 -05:00
Leland Lucius
b71a923dbc Try to resolve 1728 error when attaching 2015-07-22 11:50:02 -05:00
Steve Daulton
4d0e8f6c76 Track view awareness removed from Spectral Edit effects as demanded by
Paul Licameli.
2015-07-22 09:19:12 +01:00
Leland Lucius
02d4e71cf1 Fix loader_path and executable_path 2015-07-21 22:54:15 -05:00
Leland Lucius
582ee7b45e Cleanup Mac build and subdirectory 2015-07-21 18:45:35 -05:00
Leland Lucius
2b895267e6 Fix release build 2015-07-21 14:09:43 -05:00
Leland Lucius
e7642133cf A bit of scripts/ and mac/ cleanup 2015-07-20 19:33:04 -05:00
Leland Lucius
689b019055 One more attempt at proper quitting 2015-07-20 14:01:11 -05:00
Steve Daulton
aa54699cf4 Improve input precision for some effects.
This addresses some minor regressions that occurred as a consequence
of the improved validation in 2.1.1.
2015-07-20 16:29:44 +01:00
Leland Lucius
aa8d6b5075 Add required wx3.0.2 patches 2015-07-20 09:31:06 -05:00
Leland Lucius
b9cb660c83 Forgot to call SetExitOnFrameDelete(false) on OSX
Once the root frame was removed, I should have made the above
call, but forgot to add it.
2015-07-20 02:54:13 -05:00
Leland Lucius
d7418b5b98 Popup windows apparently need a parent on Windows 2015-07-20 02:40:36 -05:00
Leland Lucius
255be8cfe7 Reworked the TipPanel used with ASliders
It was producing "ghost" windows on OSX in wx3.  These were
supposed to be hidden, but they weren't any longer and after
reviewing TipPanel, I realized that there was a separate
code path for OSX entirely...must've gone back to some of the
earliest versions.

Now all platforms use the same bit of code.
2015-07-20 02:10:05 -05:00
Leland Lucius
62dc087050 Removing the old Mac "root frame"
Doesn't seem to be needed anymore and may not have been for a long
time.
2015-07-19 21:34:08 -05:00
Leland Lucius
4cb1b023fd Correct AutoRecoveryDialog sizing and focus issues under wxGTK 2015-07-19 20:35:00 -05:00
Leland Lucius
e91f9814a8 Add new files to OSX project 2015-07-19 18:17:20 -05:00
Leland Lucius
69a9ea0bb2 Added new source files to POTFILES 2015-07-19 18:15:34 -05:00
Leland Lucius
3fe146f306 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-19 18:00:02 -05:00
Leland Lucius
8bf6668ff3 wxLocale constructor we used has been deprecated
And it doesn't do all of the same initialization as the new one, so we
get assertions on Windows (not sure why the other two didn't complain).

Warning in wx302 manual says:

   Deprecated:
       This form is deprecated, use the other one unless you know what you are doing.

So, best to use the new one.  This DOES mean that we WILL have to
testing locales again which is fine cause we had some work to do
there anyway.
2015-07-19 17:38:31 -05:00
Leland Lucius
54676a7228 Ensure OnInit() has an event loop
And allow events to flow so the splash window updates under GTK
2015-07-19 16:55:07 -05:00
Leland Lucius
fa99433113 Updated/fixed ProgressDialog for wx3
This also re-enables the splash screen and recombines the
OnInit() and FinishInits() since I'm pretty sure the progress
dialog was the issue.

I also retested (as much as I could) and cleaned out all of the
little "hacks" the progress dialog gained over the years.  With
the new modal handling of wx3, it seems that things are much better
behaved.

However, it seems that wxGTK (at least) has gained some new focus
probs (to be dealt with later).
2015-07-19 15:47:50 -05:00
Leland Lucius
3e709dd98c Update modules for wx3 2015-07-19 15:37:04 -05:00
James Crook
90d03f8351 More deconsting to satisfy Travis
const in struct not supported by Travis version of gcc.
2015-07-19 19:51:30 +01:00
James Crook
13c17d3d5d Fix Travis Build (const in structure)
Not supported by version of gcc used by travis.
2015-07-19 19:01:15 +01:00
James Crook
c4825967de Bug844 - Shortcuts that activate play abort recording
Six shortcuts for play after/before selection now added to shortcuts that are disabled if Audio is recording.
2015-07-19 18:43:49 +01:00
Paul Licameli
6351584224 Merge branch 'compilation-dependencies' 2015-07-19 12:45:31 -04:00
Paul Licameli
e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
Paul Licameli
66576997f0 Merge branch 'Fisheye-preliminaries' 2015-07-19 11:44:53 -04:00
Paul Licameli
924b5e3496 Fix the harder parts of drawing and interaction, for possibly nonuniform zoom 2015-07-19 11:44:31 -04:00
Paul Licameli
c02652b3ab rest of fisheye drawing code...
And finally, make ZoomInfo::zoom protected!
2015-07-19 11:44:29 -04:00
Paul Licameli
57e0ce56ed Draw tool does not assume editing is allowed all-or-none across the whole screen 2015-07-19 11:44:28 -04:00
Paul Licameli
e3a03ff07e Tick size on the time ruler will not jump when fisheye approaches ends 2015-07-19 11:44:26 -04:00
Paul Licameli
79e9f2b5dd Scrolling left of zero will work right with fisheye present. 2015-07-19 11:44:25 -04:00
Paul Licameli
a4482aa3af Stubs needed to eliminate remaining direct uses of ViewInfo::zoom ...
... and anticipate a problems fisheye will introduce with time ruler display
and horizontal scrolling past zero.

Will be used in waveform and spectrogram drawing, and in hit-test for sample
editing.  Those things will no longer make the assumption of uniform zoom
level across the width of the screen, though that does remain true without the
rest of the fisheye project.
2015-07-19 11:44:23 -04:00
Paul Licameli
2978051266 Remove assumption of uniform zoom level from most of drawing and interaction 2015-07-19 11:44:21 -04:00