1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-12 14:47:43 +02:00

400 Commits

Author SHA1 Message Date
Leland Lucius
6a9dae20f5 Appearance on OSX is now back to normal or better
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
49ff3ae78f Be sure OK button of preferences dialog is default 2015-08-21 06:25:00 -04:00
Paul Licameli
b3f4050627 Group Spectrograms Preferences page under Tracks, again 2015-08-20 13:32:41 -04:00
Paul Licameli
1eef41607e Recode the Apply button of Spectrogram Preferences so it is next to OK/Cancel 2015-08-20 13:24:55 -04:00
Paul Licameli
8c58e0ea71 Update vertical ruler width correctly when applying view settings changes 2015-08-20 12:18:36 -04:00
Paul Licameli
b11f57a643 Fix bugs in retraction of Waveforms preferences page 2015-08-19 11:52:31 -04:00
Paul Licameli
4a704af03f Restore Waveform (dB) to Tracks preferences for default view mode 2015-08-19 10:21:09 -04:00
Paul Licameli
112d2a903b Rename View Settings... to Spectrogram Settings... and enable it only for...
... spectrogram views, and don't show the Waveforms page.
2015-08-19 10:21:04 -04:00
Paul Licameli
0a41a1eba2 Remove Waveforms page from Preferences, put Spectrograms back in old place 2015-08-19 10:21:02 -04:00
Paul Licameli
28d552c39b Prefs dialog, when constructed with a single page, does not show the tree 2015-08-19 10:20:59 -04:00
Paul Licameli
b9db3bd83d Define and use TranslatableStringArray. This lets you define "listeners"...
... for language changes, without inserting extra code to send the
notifications.
2015-08-17 12:04:21 -04:00
Paul Licameli
84ee685ee9 reassignment, internals, implementing time correction, but -- ...
... it does not yet interact correctly with caching, so results may be
slightly wrong if you scroll the view by less than a screen.
2015-08-17 09:17:46 -04:00
Paul Licameli
7113d533fb reassignment, internals, implementing frequency correction only 2015-08-17 09:17:45 -04:00
Paul Licameli
1f94d99c43 reassignment added to list of algorithms in settings and preferences 2015-08-17 09:17:42 -04:00
Paul Licameli
2855186408 fix a memory leak 2015-08-17 08:39:28 -04:00
Paul Licameli
5d2ccbc207 Don't use a "magic number" 2015-08-17 08:37:59 -04:00
Paul Licameli
a6172d932b Add an i18n-hint comment 2015-08-16 19:57:21 -04:00
Paul Licameli
e5b60d8f0a Rearrange Spectrograms preferences page and change some names...
Three boxes called Scale, Colors and Algorithm, and the spectral selection
checkbox

ERB is now ERBS
STFT is now Frequencies
Shortened other algorithm name to Pitch(EAC)
2015-08-16 14:40:30 -04:00
Paul Licameli
9ee76d93c1 Group "extended import" page of Prefs under "Import/Export" 2015-08-16 13:11:00 -04:00
Paul Licameli
141d93bbc0 Ctrl-mousewheel in vertical ruler of waveform dB view varies bottom of scale...
... provided the bottom is visible
2015-08-16 12:18:17 -04:00
Leland Lucius
b7fc0e4631 Fix for bug #1086 2015-08-16 04:08:34 -05:00
Paul Licameli
cf45a58fdc dB range is now in Waveforms preferences and view settings, and ...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli
859b69262e Make the Tracks tree node in Preference dialog expanded by default. 2015-08-15 09:05:29 -04:00
Paul Licameli
f0fe2cb04c Group Spectrograms and Waveforms preferences under Tracks 2015-08-15 08:19:41 -04:00
Paul Licameli
b5028087b6 capitalize 'Spectral Selection' 2015-08-11 10:38:15 -04:00
Leland Lucius
4cd7757cf4 Batting 1000 tonight...make sure navigation works on Windows. 2015-08-04 22:41:52 -05:00
Leland Lucius
7e49dc45d1 Fix some tabbing issues on Linux 2015-08-04 22:22:49 -05:00
Paul Licameli
d2aadbcc40 Change checkbox names from "Defaults" to "Use Preferences" 2015-08-01 17:04:23 -04:00
Paul Licameli
cd4da8a40e Change some new scale names, add i18n-hint comments 2015-08-01 16:46:29 -04:00
Leland Lucius
1e195ecea6 Fix many wx3.1.0 assertions now to prevent double testing 2015-07-30 02:05:23 -05:00
Leland Lucius
1b07ae1ad1 Some wx3 fixes 2015-07-28 15:47:19 -05:00
Leland Lucius
37168ebbf6 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-28 15:06:25 -05:00
Paul Licameli
e0621819ed Move ENV_DB_RANGE out of Envelope.h; that file can be included in fewer places. 2015-07-28 11:55:52 -04:00
Paul Licameli
cab89f6fb4 Remove Envelope.h from other headers 2015-07-28 10:02:09 -04:00
Paul Licameli
d39eaa4e65 Remove WaveTrack.h from other headers 2015-07-28 10:02:05 -04:00
Paul Licameli
d2f55fff68 travis 2015-07-28 08:27:03 -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
0c4418af22 Boilerplate for empty waveform preferences, analogous to Spectra 2015-07-28 08:08:10 -04: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
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
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
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