1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-10 09:27:43 +02:00

307 Commits

Author SHA1 Message Date
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
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
Leland Lucius
3fe146f306 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-19 18:00:02 -05:00
Paul Licameli
e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
Paul Licameli
508abda309 Bugs 1043, 1044 -- Even better fix...
... With a careful sweep of uses of WaveTrack::GetDisplay() to remove
assumptions about the ordering of the values.

Using < and <= on enum values is mostly a bad idea.
2015-07-18 23:56:30 -04:00
Paul Licameli
b25994a82d Throw away EXPERIMENTAL_FFT_SKIP_POINTS...
... with James' consent.
2015-07-18 23:21:27 -04:00
Leland Lucius
9b9c8cc073 Round 5 of wx3 changes
FileDialog now complete on Linux.  Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
b8872a4a02 Round 2 of wx3 changes on OSX
Main change is that VST GUI support is now integrate with new Cocoa
views.  Direct support for VST Cocoa views (via Cockos extensions:
http://www.reaper.fm/sdk/vst/vst_ext.php) has been added.
2015-07-11 19:33:04 -05:00
Leland Lucius
c6dffaaaa4 Merge branch 'master' into wx3 2015-06-30 11:30:48 -05:00
Leland Lucius
d1f66d768f Updates for wx3
A long way to go yet, but many OSX issues fixed including
conversion of Audio Unit effects.
2015-06-30 11:25:32 -05:00
Paul Licameli
ccebaf9d95 Bugs 1043, 1044 -- Be careful with new display modes in preferences
Write a new key so version 2.1.0 isn't confused by the reordered values

Add some future proofing against similar to 2.1.1 code
2015-06-23 13:12:07 -04:00
Paul Licameli
162418ff07 Fix compilation warnings 2015-06-10 02:04:07 -04:00
Paul Licameli
79305db179 Project.h does not need Meter.h 2015-06-10 00:29:47 -04:00
Paul Licameli
2e06d9c4fe class not struct, minor change 2015-06-09 13:59:25 -04:00
Paul Licameli
afa2fe9fb4 Keep FFT windows for Spectrograms in one place in SpectrogramSettings...
... not redundantly in each WaveClip.
2015-06-04 11:29:18 -04:00
Paul Licameli
952a22c8b1 Created a global structure to hold spectrogram preferences...
Don't read "/Spectrum/" preferences anywhere but in SpectrumPrefs.cpp.
Don't store global values in TrackArtist.

Possibly some day, there will be other instances of SpectrogramSettings so we
can have independent per-track settings.
2015-06-04 11:29:17 -04:00
Steve Daulton
bddded0d2b Update TracksPrefs.cpp
Fix for bug 1000.
2015-06-02 11:43:14 +01:00
Paul Licameli
0480f55e6c Zero-padded spectograms, preferences interface to turn it on 2015-05-31 16:43:11 -04:00
James Crook
88a9e434f5 Select Spectral Edit from Track DropDown 2015-05-30 11:04:45 +01:00
Leland Lucius
0ef7ccb1d1 Fix permissions...not sure why this was happening though 2015-05-29 19:49:28 -05:00
Paul Licameli
8d2a29d376 Bug989, and scrub UI uses left button to seek, not Shift key
Updated mouse preferences and status bar message accordingly

Also, use the term "Scroll-scrub" in status bar and mouse preferences
2015-05-29 20:29:44 -04:00
Paul Licameli
9f2dfbc70b Revert "Bug990 (seek key reponsiveness), and, change Scrub UI again, so Ctrl key seeks."
This reverts commit 841bca36ea321e6ea92578dd6668bc4011f1d30b.
2015-05-29 19:45:43 -04:00
Paul Licameli
841bca36ea Bug990 (seek key reponsiveness), and, change Scrub UI again, so Ctrl key seeks.
Includes changes to Mouse Preferences and status bar messages.
2015-05-29 17:30:19 -04:00
Paul Licameli
f07a487e47 Bug977: Enable new scrolling limits as a Tracks preference, default off. 2015-05-27 18:47:03 -04:00
Leland Lucius
16e0fe3e12 The real fix for bug #965 2015-05-26 18:16:34 -05:00
Paul Licameli
0615ff47ae Bug968 again: Fix wrong message (ctrl not shift), and omit "maximum" per Peter 2015-05-25 10:06:06 -04:00
Paul Licameli
0d86890657 Bug968 status bar and mouse preference messages updated for new scrub UI...
... Note too that the mouse preference message for old ctrl-click behavior
is now removed
2015-05-24 17:57:51 -04:00
Leland Lucius
6ba5eb0a84 Fix for bug #965
Not the best fix in the world, but once "modules" are brought into
the plugin handling, this'll be revised.
2015-05-24 07:11:21 -05:00
David Bailes
66084b65ef Changes to a number of dialogs so that the nvda screen reader can read their titles. The accessibility name of the dialog is set to the title of the dialog. 2015-05-16 09:35:21 +01:00
James Crook
b5dc59677c Bug 950 - Non functional plugin prefs (Headline issue fixed)
The residual issue is lower priority and still at bug 950.  I removed the non functional prefs.  Other changes mean that they are no longer needed.
The residual issue is that it could be nice to have a way to filter for new plugins.
2015-05-15 22:33:35 +01:00
David Bailes
394026c36e In keyboard prefs set the accessibility name of mFilter to be the same as its label. The name is then the same as the one given in the manual, and the same if as user is using both a screen reader and magnifier. 2015-05-08 09:47:46 +01:00
Leland Lucius
1c31dfdce1 Resolve gettext message
src/prefs/ModulePrefs.cpp:99: warning: Empty msgid.  It is reserved by GNU gettext:
                                       gettext("") returns the header entry with
                                       meta information, not the empty string.
2015-04-20 01:43:07 -05:00
Paul-Licameli
10e35bb6bb Add user interface for scrubbing and Experimental.h switches
EXPERIMENTAL_SCRUBBING_BASIC enables middle-click-drag to scrub, or to seek
when shift is down.

EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL adds middle-double-click-drag to
scrub or (with SHIFT down) to seek while keeping the playhead at the midline
of the track display.

EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL allows control wheel to vary the speed
limit, while scrubbing (not seeking).

All three are enabled in this commit.

Also notice the changes to status bar messages and the Mouse Preferences dialog.

Scrubbing works only in Select and Multi tools.
2015-04-17 14:09:35 -04:00
Leland Lucius
8fbfa460c4 Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the
Audio Units, LADSPA, and VST effects.  All effects now share
a common UI.

This gives all effects (though not implemented for all):

User and factory preset capability
Preset import/export capability
Shared or private configuration options

Builtin effects can now be migrated to RTP, depending on algorithm.
LV2 effects now support graphical interfaces if the plugin supplies one.
Nyquist prompt enhanced to provide some features of the Nyquist Workbench.

It may not look like it, but this was a LOT of work, so trust me, there
WILL be problems and everything effect related should be suspect.  Keep
a sharp eye (or two) open.
2015-04-16 23:36:28 -05:00
Steve Daulton
2437ef24d2 fill gaps in meter / Waveform (dB) ranges 2015-04-11 15:35:47 +01:00
lllucius@gmail.com
4903c95b82 Fix effect grouping default for Linux 2014-12-14 16:02:41 +00:00
lllucius@gmail.com
9317bbb3f7 Applying patch from bug #766
This patch fixes the corrupted device names as 
documented by the bug report.
2014-12-06 05:05:21 +00:00
lllucius
9c1d3b0214 Remove GUI Effect preference
Now handled by the individual effect options dialogs
2014-12-04 07:50:29 +00:00
james.k.crook@gmail.com
c71397beae Changes to seeking and scrubbing from Paul Licameli.
These are mostly under an EXPERIMENTAL_ #ifdef.  Also has a change for the prompt string for preferences so the displayed keybinding is adjusted when in multitool mode.
2014-11-29 22:09:57 +00:00