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

3886 Commits

Author SHA1 Message Date
Paul Licameli
e6be4f5777 Apply button for Spectrograms Preferences and View Settings 2015-07-26 21:33:11 -04:00
Paul Licameli
e8e3b8bec5 Checkbox for defaulting track spectrogram settings (not seen in Preferences) 2015-07-26 21:33:08 -04:00
Paul Licameli
298bc981bf Future static text box distinguishing track settings from globals? ...
... Leave this idea just commented out for now.
2015-07-26 21:33:06 -04:00
Paul Licameli
113edcc70a SpectrumPrefs takes SpectrogramSettings object as parameter, and...
... writes global preferences explicitly, and only when it is the default
settings object.

Also impose validation of settings when constructing from preferences.
2015-07-26 21:33:03 -04:00
Paul Licameli
ca767c0f7a Some preliminary changes to SpectrogramSettings, for View Settings project 2015-07-26 21:12:04 -04:00
Paul Licameli
fa18e76e9b Preliminary changes to SpectrogramSettings for View Settings project 2015-07-26 21:11:09 -04:00
Paul Licameli
1dffeace93 Access SpectrogramSettings via WaveTrack, which may be nondefault (no UI yet)...
... and add accessors to SpectrogramSettings, and remove TrackArtist functions
for getting and setting the globals.
2015-07-26 21:10:16 -04:00
Paul Licameli
a1621f7d1b Define and use SpectrogramSettings::GetFFTLength() 2015-07-26 21:10:15 -04:00
Paul Licameli
778e7726df Safe copy constructor and assignment for SpectrogramSettings 2015-07-26 21:10:14 -04:00
Paul Licameli
786c1da645 Move class SpectrogramSettings to its own file 2015-07-26 21:10:13 -04:00
Paul Licameli
d71c7ae0a9 Some preliminary changes to PrefsDialog, for View Settings project 2015-07-26 19:56:53 -04:00
Paul Licameli
da90e1b7c1 Preference dialog code preliminaries for View Settings project
Fix crash initializing GlobalPrefsDialog for special case of undefined temp...
  Future subclasses of PrefsDialog may choose the preferred page by other means.
  PrefsDialog can vary the title prefix string
  Allow tree structuring of the Prefs dialog pages
  Table-driven construction of Prefs dialog.  A factory for each kind of panel...
2015-07-26 19:53:19 -04:00
Paul Licameli
b924c8ad62 Fix crash initializing GlobalPrefsDialog for special case of undefined temp...
... directory at startup time.
2015-07-26 19:53:17 -04:00
Paul Licameli
7b01339e51 Future subclasses of PrefsDialog may choose the preferred page by other means. 2015-07-26 19:53:15 -04:00
Paul Licameli
2361758316 PrefsDialog can vary the title prefix string 2015-07-26 19:53:13 -04:00
Paul Licameli
8399effc45 Table-driven construction of Prefs dialog. A factory for each kind of panel...
... and maybe a future plug-in protocol to break compilation dependency on
all of the PrefsPanel subclasses.
2015-07-26 19:41:20 -04:00
Paul Licameli
3e5d2af7cb Fix travis errors by other means 2015-07-26 19:36:00 -04:00
Paul Licameli
f37c37e67c Fix travis errors by other means 2015-07-26 19:23:55 -04:00
Paul Licameli
06d01ee424 Revert "More deconsting to satisfy Travis"
This reverts commit 90d03f835179c407d32d046c060ec96606abdab1.
2015-07-26 19:08:55 -04:00
Paul Licameli
ca30328e8f Revert "Fix Travis Build (const in structure)"
This reverts commit 13c17d3d5da5fdaf5d0f0ea99886b06194f4fc41.
2015-07-26 19:08:33 -04:00
Steve Daulton
5f164649c3 Fix build error on Linux.
Header file <limits> required for std::numeric_limits
2015-07-26 17:24:31 +01:00
Paul Licameli
cdc268f681 Bug 1097: Fix unsafe macro definitions which caused display bugs 2015-07-26 00:05:27 -04:00
Paul Licameli
7b4cc4f12a Merge Bugs 1090, 1095 2015-07-25 22:04:34 -04:00
Paul Licameli
a548303fdc Bug1090: Draw sync-lock tiles only when we should 2015-07-25 22:03:26 -04:00
Paul Licameli
dc9549df53 Bug1095 -- quantize times when drawing selection backgroun in wave track 2015-07-25 20:54:55 -04:00
Paul Licameli
fa115c4977 Merge Bug1096: Fix crash changing view types 2015-07-25 19:59:15 -04:00
Paul Licameli
03984c48a5 Bug1096: Fix crash changing view types 2015-07-25 19:58:24 -04:00
Paul Licameli
9df30a63e9 Merge branch 'master' into temp3 2015-07-25 19:57:07 -04:00
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
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
Steve Daulton
4d0e8f6c76 Track view awareness removed from Spectral Edit effects as demanded by
Paul Licameli.
2015-07-22 09:19:12 +01: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
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