Paul Licameli
a1aca5428a
Merge branch 'master'
2015-07-28 09:36:12 -04:00
Paul Licameli
d2f55fff68
travis
2015-07-28 08:27:03 -04:00
Paul Licameli
806b4dab7d
View types reduced to 2; choose scale in new Waveforms page instead...
...
... also, view type choices in track drop-down are radio buttons
2015-07-28 08:09:31 -04:00
Paul Licameli
643ea68360
Waveform dB choice moved to a new Preferences/View Settings page for Waveform
...
Waveform and Spectrum menu items are a radio group, neither ever disabled.
Waveform dB is not a track type. Logarithmic is a Wavetrack scale type...
Open the appropriate initial page in View Settings dialog
Boilerplate for empty waveform preferences, analogous to Spectra
2015-07-28 08:08:17 -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
Paul Licameli
a0cb584178
Merge branch 'master'
2015-07-28 08:07:26 -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
Leland Lucius
94550bc0be
Added src/NumberScale.h to Mac project
2015-07-28 02:29:48 -05:00
Paul Licameli
7bf2d9b92c
travis
2015-07-27 23:11:43 -04:00
Paul Licameli
27a104b552
View types reduced to 3; more spectrogram scales; improved Pitch view...
...
... spectral selection enabling is a checkbox
... fix bugs 1038, 1039, 1040, 1041
2015-07-27 23:02:04 -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
981acf0bd2
Other spectrogram scales, easily defined!! -- and include bug fixes 1038, 1039
2015-07-27 23:01:18 -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
6b9cbbe50a
Just one view type for Spectrum...
...
... Instead preferences or View Settings controls scale type and spectral
selection enablement
2015-07-27 23:01:08 -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
Paul Licameli
5928ac88b9
Merge branch 'master'
2015-07-27 23:00:14 -04:00
Leland Lucius
df4879b234
Fix build on OSX
2015-07-27 20:48:32 -05:00
Paul Licameli
1970d435a9
Put track name in the title of the View Settings dialog, as Gale suggested
2015-07-27 07:21:14 -04: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
504d4b5331
Add "View Settings..." to track drop-down and Apply button to Spectrogram prefs
2015-07-26 21:38:14 -04:00
Paul Licameli
5e1ac0a06d
Add "View Settings..." to track drop-down and Apply button to Spectrogram prefs
...
Track control "View Settings..." makes alternative SpectrumPrefs accessible
Apply button for Spectrograms Preferences and View Settings
Checkbox for defaulting track spectrogram settings (not seen in Preferences)
Static boxes distinguish the panel in Preferences from that in View Settings
SpectrumPrefs takes SpectrogramSettings object as parameter, and...
2015-07-26 21:36:19 -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
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