1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-23 15:50:05 +02:00

168 Commits

Author SHA1 Message Date
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
lllucius@gmail.com
540f5c78c9 AudioUnits rework...
They now work on Yosemite.

AudioUnits with a custom Cocoa UI now display graphically
instead of reverting to the generic view

The Cocoa version of the generic view is now used when
needed...instead of the Carbon version.

The order of UI preference is Cocoa, Carbon, Generic,
unless force to Generic view user setting.

They now support realtime preview.

They also support dialog resizing as I found many that
scaled nicely (mostly Apple's).

Uses the new Effect format so now supports user and
factory presets.

NOTE:  Be VERY critical when testing this as I've
       never written Objective-C or Cocoa code
       before!
2014-11-25 08:08:15 +00:00
lllucius
41083f74cc Another round of effects bashing.
I've added some of the new plugin stuff to LV2, Nyquist, and
Vamp so that they play better in the new system.  They no
longer get bunched in with the Audacity effects when sorting
or grouping the menus.  They have not been fully converted
but they should be good for 2.1.0.

Nyquist plugins now include ";author" and ";copyright"
statements.

Added the 4 new Nyquist plugins to the Windows build.

Audiounits are still coming...had to push them to the back
burner to get this other stuff out of the way.

Scanning for new plugins has been improved so that newly
discovered ones will be shown to the user when Audacity starts.

Effects menu sorting has been fixed and improved.

Disabling effect types in Preferences works again and you
no longer have to restart Audacity for them the change to work.

Effect usage in chains works again.

Plugin registration dialog code simplified a bit.

Group names in the pluginregistry are now base64 encoded.  I
never really thought about it, but wxFileConfig group names
are case insensitive and since I was using the group name as
the plugin ID, I ran into a conflict on Linux where there
were two plugins with the same name, just different case.  (And
they were different plugins.)  Hoping all of this will change
when/if the config file gets converted to XML.  (wx3 if finally
including XML support)

A fair amount of cleanup of this new code has been done and
will continue as more stuff is converted.
2014-11-19 06:58:44 +00:00
lllucius@gmail.com
1e0d040cfb Fix this effect menu grouping and names. 2014-11-15 18:13:50 +00:00
lllucius
ad92e8c4bf One more round of effects changes.
The big thing is the common efffects UI.  Right now Ladspa and VST
have been converted to use it and Audiounits will be next.  It makes
everything nice and consistent while reducing the clutter in the
dialog.

Other goodies are:

Ladspa effects now show output controls when supplied by the effect
Ladspa effects now work fine as Analyze type effects
Ladspa now has user presets
VST effects dialog is now less cluttered...leaving more room for the effect
Ladspa and VST effects now share a common UI
Ladspa and VST effects are now usable in chains
Ladspa and VST effects now handle user presets the same way
Currently active effects settings automatically saved and reloaded
Can now do numeric range checking on input fields.

And, as always, plenty of critter squashing.
2014-11-14 03:03:17 +00:00
james.k.crook@gmail.com
6b010662a4 Fix runtime problem with wxWidgets 3.0: Dialog size assert. [Patch 0021] From martin@steghoefer.eu (adjusted by James).
Due to changes in sizing of dialogs with wx3, an assert about the size of the preferences dialog (was max 800x600) fails, which causes an error dialog to pop up. We've recently decided that screens have got bigger, and increased the default size of the Audacity window.  Rather than remove this assert, we've upped its limits so that we can go further before we hit the limit.  Other code to try to keep the dialog size near to 800x600 has not been changed.
2014-11-13 21:10:15 +00:00
lllucius
080b67ce9e Adds the ability to sort and group the Effects menus
Current options:

Publisher: name (the closest to what we have now)
Name (doesn't include the publisher, just a straigt up alpha sort
Publisher (creates submenus based on the publisher)
Type (creates submenus based on the type, VST, Nyquist, etc.)

And the Linux method of creating submenus based on number of items
is available to all and you can choose how menu you want per submenu.
I had to bring this back since I'd removed it when for the new effects
and I figured why limit it to only Linux...

Check it out in Preferences (effect page).

You'll also notice that the effects page is starting to talk about 
plugins.  That will progress further (baby steps) so bare with me
for just a bit more.
2014-11-04 01:38:13 +00:00
james.k.crook@gmail.com
1a9e19f74a Commented out "ESC" in Mouse Prefs panel. Missed this one in https://code.google.com/p/audacity/source/detail?r=13498# 2014-11-01 17:07:52 +00:00
lllucius
1eeb4d979a The fabled realtime effects...
I've made it where you can enable and disable via experimentals:

EXPERIMENTAL_REALTIME_EFFECTS
EXPERIMENTAL_EFFECTS_RACK

You will notice that, as of now, the only effects currently set up for
realtime are VSTs.  Now that this is in, I will start converting the
rest.

As I start to convert the effects, the astute of you may notice that
they no longer directly access tracks or any "internal" Audacity
objects.  This isolates the effects from changes in Audacity and makes
it much easier to add new ones.

Anyway, all 3 platforms can now display VST effects in graphical mode.
Yes, that means Linux too.  There are quite a few VSTs for Linux if
you search for them.

The so-called "rack" definitely needs some discussion, work, and attention
from someone much better at graphics than me.  I'm not really sure it should
stay in as-is.  I'd originally planned for it to be simply a utility window
where you can store your (preconfigured) favorite effects.  It should probably
revert back to that idea.

You may notice that this DOES include the API work I did.  The realtime effects
were too tied to it and I didn't want to redo the whole thing.  As I mentioned
elsewhere, the API stuff may or may not be very future proof.

So, let the critter complaints commence.  I absolute KNOW there will be some.
(I know I'll be hearing from the Linux peeps pretty darn quickly.  ;-))
2014-10-26 03:24:10 +00:00
james.k.crook@gmail.com
789824617c ESC is a toggle, and does not belong as a drag modifier. Commented out for now. 2014-10-25 22:23:59 +00:00
james.k.crook@gmail.com
290a0107c9 Patch from Paul Licameli Improving Spectral Selection
ESC Key toggles snapping of center frequency to peaks (no visual indication of snap to yet)
Description added to mouse prefs - fix later.

Shift now required to keep top/bottom frequency pinned whilst (re)dragging the other one.

Code for status bar messages simplified and made more consistent, and no longer hard codes assumption that preferences is Ctrl-P when prompting user about it.
2014-10-25 22:05:45 +00:00
james.k.crook@gmail.com
37608c2290 Paul Licameli's Spectral Editing Patch.
This relies on three new nyquist scripts to actually do the editing.  The peak-snapping code in FrequencyWindow has been extracted into a new class, SpectrumAnalyst, to provide peak-snapping in spectrogram too.
2014-10-18 14:19:38 +00:00
james.k.crook@gmail.com
6e07efa539 One final instance of 'mods' (in a comment) changed to 'modules'. 2014-10-12 20:18:38 +00:00
james.k.crook@gmail.com
0ff355fb49 Changed mods back to modules again.
Review did not like 'mods'.  Was felt to be too non-standard.  Note that we gained a '?' on a question to the user, an internationalisation hint about the word 'modules' and the words 'the Audacity Manual' (note caps) in making and 'reverting' this change.
2014-10-12 20:15:24 +00:00
windinthew
b7c5a6c271 I think capitalising "The" in the middle of a sentence is wrong, so I'm
just going to change it...
2014-10-12 09:01:17 +00:00
james.k.crook@gmail.com
5b65647b3b 'Manual' with capital M when referring to OUR Manual. 2014-10-11 12:04:44 +00:00
james.k.crook@gmail.com
00d8875fd7 Modules renamed as 'mods' for user.
We previously had both 'modules' and 'plug-ins' and the files are called things like mod-script-pipe.dll.  Three different things.  From a user's point of view it is easier to think of them as modifications to the basic program, like mods in Minecraft.  Hence the name change.  The search path now has 'mods' in it rather than 'modules'.  Didn't see a need to rename the 'Modules' source code as programmers know what modules are and the mods are modules too.
2014-10-11 11:59:04 +00:00
james.k.crook@gmail.com
1cb59ab078 Fix: Flush module prefs after a change.
This ensures that the config file remembers a 'fail to load'.  We set status to fail before loading a module, that now gets written out to the config file because we flush prefs, the dodgy module loads and crashes, and next time Audacity knows it's a fail.  If instead the module loads and does not crash on load, the original status (enabled or ask) is written back to the config file.
2014-10-10 16:13:09 +00:00
james.k.crook@gmail.com
221474e37a Fixed bugs with MultiDialog. Fixed Bug with prompting about modules.
Previously MultiDialog attempted to centre on parent dialog, but there was a NULL parent.  Now the application top window is used. Dialog shows centred, for example when there are missing block files.  If the top window is a WX_STAY_ON_TOP, we move our dialog to the left, as otherwise it would be partially hidden.

Previously Audacity would ask about enabling a module whilst the splash screen was showing.  For some as yet undetermined reason the MultiDialog and Splash Screen are incompatible.  Possibly it's related to doing a ShowModal before a full application exists.  The not ideal workaround is to now delay showing the splash screen until after the modules have been loaded.
2014-10-10 15:36:51 +00:00
james.k.crook@gmail.com
1211725f39 Removed SetStretchy.
It was setting a non-existent column to stretchy.  Did nothing on wx2.8.12.  Was an error on wx3.0.1.
2014-10-10 11:07:44 +00:00
james.k.crook@gmail.com
1dee669c1b Updated text and comments.
Added text for user about need to restart Audacity for modules to take effect.  Corrected typo.  Comments now mention more modules and a TODO.
2014-10-10 10:51:51 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
RichardAsh1981@gmail.com
a6150f3443 Commit Steve's patch for Bug 728 2014-10-02 21:34:01 +00:00
james.k.crook@gmail.com
d36a95b0a2 Module prefs in Preferences no longer experimental.
We do not now prompt about new modules at start up, unless you set a module to 'ask'.  This means we can ship experimental modules with Audacity.  Users can enable them if they want to, but aren't troubled by them otherwise.
2014-10-01 12:06:06 +00:00
stevethefiddle@gmail.com
9d43ba030a Less confusing to use semicolon here. Better we use comma as an operator only where we intended to. 2014-10-01 00:33:17 +00:00
martynshaw99
eccaf30646 Steve's patch to actually use the new modal ShowHelpDialog. 2014-08-26 23:04:33 +00:00
v.audacity
c8ea76b80e rewordings based on Gale's suggestions, and a few of mine 2014-08-20 02:44:27 +00:00
v.audacity
ea0928fc06 rest of David's patch for Bug 712 - Keyboard preferences hotkey search - entering multiple keys 2014-08-13 21:12:48 +00:00
v.audacity
61285bc7be most of David's patch for Bug 712 - Keyboard preferences hotkey search - entering multiple keys 2014-08-12 22:33:35 +00:00
RichardAsh1981@gmail.com
3f49828d37 Standardise on working oof Recording and Playback rather than Input and Output throughout Audacity. Remove some very old junks strings at the same time. 2014-07-21 21:37:53 +00:00
RichardAsh1981@gmail.com
d974754340 use HelpSystem for links to the manual in existing code 2014-06-25 10:12:19 +00:00
james.k.crook@gmail.com
4c0d515dba Added <wx/filename.h> to #includes. 2014-06-13 17:02:37 +00:00
james.k.crook@gmail.com
676cd8b1d4 Add "Prefs.h" into #includes fixing broken build (mea culpa). 2014-06-13 16:58:27 +00:00
james.k.crook@gmail.com
55e6a71fd3 With EXPERIMENTAL_MODULE_PREFS we now have a dynamic list of modules, and we have options, enable, disable, ask, failed, new (=ask once and remember the answer). Without the #define the behaviour is unchanged. We ask about each module each time Audacity runs. 2014-06-12 21:08:14 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
stevethefiddle@gmail.com
b216e802a3 Bug 442 - Extended Import segfault pressing Move Rule Up when there are no rules or filters. 2014-05-17 13:33:41 +00:00
james.k.crook@gmail.com
d847ee7162 Andrew Hallendorff's SSE accelerated Equalization. 2014-01-16 17:55:35 +00:00
lllucius
98db19cc89 Improve accessibility of KeyView. 2013-11-06 05:35:18 +00:00
lllucius
398b5153c7 Fix a few accessibility issues pointed out by David. 2013-10-30 20:44:22 +00:00
lllucius
5b4a9774c1 Add LV2 preference setting. 2013-10-30 02:51:38 +00:00