1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-03 15:20:17 +01:00
Commit Graph

2743 Commits

Author SHA1 Message Date
Paul Licameli
d8ce9f0d7d Move an array definition to Snap.h, use std::vector 2015-07-28 11:49:51 -04:00
Paul Licameli
54740c348b Remove an unreachable piece of scrubbing code 2015-07-28 11:49:50 -04:00
Paul Licameli
08790d2243 Remove unnecessary member variable assignments 2015-07-28 11:49:49 -04:00
Paul Licameli
87965cf164 Bug1076: Don't obliterate the point selection display during playback 2015-07-28 11:49:48 -04:00
Paul Licameli
b65d18044d Add file to Makefile.am 2015-07-28 11:14:40 -04:00
Paul Licameli
f55e9f39b3 travis 2015-07-28 10:48:21 -04:00
Paul Licameli
d703a5b054 travis 2015-07-28 10:21:41 -04:00
Paul Licameli
4decbe80d3 Remove Meter.h from other headers 2015-07-28 10:02:10 -04:00
Paul Licameli
cab89f6fb4 Remove Envelope.h from other headers 2015-07-28 10:02:09 -04:00
Paul Licameli
f81231efae Remove Sequence.h from other headers 2015-07-28 10:02:08 -04:00
Paul Licameli
51d7b3670c Remove LabelTrack.h from other headers 2015-07-28 10:02:07 -04:00
Paul Licameli
eaaab766db Remove WaveClip.h from other headers 2015-07-28 10:02:06 -04:00
Paul Licameli
d39eaa4e65 Remove WaveTrack.h from other headers 2015-07-28 10:02:05 -04:00
Paul Licameli
b89c2a130c Remove Track.h from other headers 2015-07-28 10:02:03 -04:00
Paul Licameli
991ba8cc6e Remove TimeTrack.h from other headers 2015-07-28 10:02:02 -04:00
Paul Licameli
11f794d3fb Menu items for zooming in vertical ruler popup for wave tracks...
May be good for discoverability of the click actions.
2015-07-28 09:37:00 -04:00
Paul Licameli
197700967f pop-up menus for vertical ruler 2015-07-28 09:36:58 -04:00
Paul Licameli
d2f55fff68 travis 2015-07-28 08:27:03 -04:00
Paul Licameli
1fda7eb5c3 Waveform and Spectrum menu items are a radio group, neither ever disabled. 2015-07-28 08:08:15 -04:00
Paul Licameli
5abbd463b2 Waveform dB is not a track type. Logarithmic is a Wavetrack scale type...
... Also removed one line from the track control drop-down, and changed
accelerators to more mnemonic choices.

Also the open page of View Settings... determines track view type after OK
2015-07-28 08:08:13 -04:00
Paul Licameli
5b72b1f23b Open the appropriate initial page in View Settings dialog 2015-07-28 08:08:11 -04:00
Paul Licameli
0c4418af22 Boilerplate for empty waveform preferences, analogous to Spectra 2015-07-28 08:08:10 -04:00
Steve Daulton
0792eb0cb3 Fix for bug 958
Bug 958 is due to rounding that is not visible to the user.
By providing one extra decimal place to the New Peak Amplitude (dB)
the user can see if they have exceeded 0 dB by a small amount.
2015-07-28 09:01:03 +01:00
Paul Licameli
7bf2d9b92c travis 2015-07-27 23:11:43 -04:00
Paul Licameli
adb4a534e8 Pitch is no longer a special view type... && bug fixes 1040, 1041
... It is a choice of algorithm in spectrogram settings, and any frequency
scale may be chosen with it.  Spectral selection works in it.
2015-07-27 23:01:20 -04:00
Paul Licameli
846c5d454e Other spectrogram scales, easily defined!! -- and include bug fixes 1038, 1039 2015-07-27 23:01:16 -04:00
Paul Licameli
9b9ceab6ab Ruler uses generalized number scale when plotting "log" 2015-07-27 23:01:14 -04:00
Paul Licameli
66e939275f Vertical ruler zooming uses NumberScale in a generalized way 2015-07-27 23:01:13 -04:00
Paul Licameli
43b7df701b Use class NumberScale in TrackArtist and spectral selection, abstracting...
... the details of mapping to and from pixel height
2015-07-27 23:01:11 -04:00
Paul Licameli
045828d744 Define class NumberScale and enum NumberScaleType 2015-07-27 23:01:10 -04:00
Paul Licameli
7d379cde13 Conditional compilation (disabled) to make Spectral selection choice global...
... not per track,
and the preferences or View Settings page has a separate static box for
global settings as opposed to track settings.  This is the only global setting
for now.
2015-07-27 23:01:06 -04:00
Paul Licameli
f74713f020 WaveTrack::WaveTrackDisplay does not encode scale or spectral selection...
... SpectrogramSettings does that instead, and Preferences or View Settings
are the user interface for changing it.

Handle invalidation of spectrogram pixel cache for scale type changes,
just as for other changes of settings.  No more
TrackArtist::InvalidateSpectrumCache().

View type of track now switches to Spectrum when applying or OKing the
View Settings... dialog and the Spectrogram page is open (and for now
it is still the only page)
2015-07-27 23:01:04 -04:00
Leland Lucius
df4879b234 Fix build on OSX 2015-07-27 20:48:32 -05:00
Paul Licameli
714f4ce0f1 Put track name in the title of the View Settings dialog, as Gale suggested 2015-07-27 07:19:48 -04:00
Paul Licameli
1f6f43bba7 Track control "View Settings..." makes alternative SpectrumPrefs accessible 2015-07-26 21:33:14 -04:00
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
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
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
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 90d03f8351.
2015-07-26 19:08:55 -04:00
Paul Licameli
ca30328e8f Revert "Fix Travis Build (const in structure)"
This reverts commit 13c17d3d5d.
2015-07-26 19:08:33 -04:00