1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-20 14:20:06 +02:00

878 Commits

Author SHA1 Message Date
James Crook
8ae6fc42e1 Added 'More...' to Generate and Analyze menus 2015-05-14 16:11:46 +01:00
Leland Lucius
e4043f6518 Fix for bug #934 2015-05-13 00:47:45 -05:00
James Crook
bc5082c976 More... now can removes effects too.
The effects shown ticked in the more.. list  are the ones currently enabled for the menus.  We can add and remove from that list
2015-05-08 22:04:34 +01:00
Leland Lucius
5ddbe112af Remove access key from "More" to prevent accidental selection 2015-05-04 12:14:55 -05:00
Leland Lucius
9212629945 Added zoom and pan plus fix for bug #884
It started out as just the fix for #884, but it went
a bit further.  Steve had the idea for the zoom and
pan addition, so I added it while I was working on
2015-05-03 15:23:33 -05:00
Leland Lucius
7407243e25 Save/restore effect state during batch processing 2015-04-27 09:22:47 -05:00
Leland Lucius
4f4acffad1 Allow chains to use current/factory presets/settings
Also gives builtin effects a mean to determine if batch processing
is active, IsBatchProcessing() returns true if so.
2015-04-26 16:41:05 -05:00
James Crook
9bc32b0e6b EXPERIMENTAL_EFFECT_MANAGEMENT
On a reset preferences, this adds the default built in effects only.  The effects menu now has a 'More...' as its last item, and the list of plugins is invoked there.  We can add from that list to the menus from that.
2015-04-25 19:07:43 +01:00
James Crook
3146c2eb07 Merge remote-tracking branch 'dave/moreplaysnippets' into up_master 2015-04-24 16:41:26 +01:00
David Bailes
90c2b503ea added commands PlayBeforeAndAfterSelectionStart and PlayBeforeAndAfterSelectionEnd. Useful for checking the joins after pasting or aligning. 2015-04-24 16:23:17 +01:00
David Bailes
593197c2db add commands for moving focused track up, down, to top, and to bottom 2015-04-24 16:19:28 +01:00
Leland Lucius
ed79e13fbf Merge pull request #36 from DanWin/performance
Performance improvements
2015-04-24 07:52:38 -05:00
David Bailes
0b2d5729c5 added two commands to move to first or last track 2015-04-24 11:38:55 +01:00
James Crook
593cc6ee5e Bug 855 - Data loss sample editing (Do/Undo)
I've added code that now treats sample editing as another kind of mouse capturing activity (IsAdjustingSample).  We will now not undo or redo whilst mouse is captured.  Does not depend on what key binding is used for redo/undo.
2015-04-24 09:55:03 +01:00
James Crook
e81e72a035 Pass the Version String to Check for Changes page. 2015-04-23 23:13:18 +01:00
James Crook
b7d6af1d87 Added "Check for updates" menu item.
Also fixed line endings on AudacityApp.cpp.
2015-04-23 22:31:10 +01:00
Daniel Winzen
759ff8cd0d Performance improvements 2015-04-23 16:07:25 +02:00
Steve Daulton
e45afbaa76 A few minor fixes to Quick-Play (now hyphenated for consistency). 2015-04-21 20:46:52 +01:00
Leland Lucius
af0fa93d8e Add "Save" capability to Audio Device Info dialog 2015-04-19 05:39:47 -05:00
James Crook
9fc9963236 Fix problem where HistoryWindow was not updating.
We now also call the UpdateDisplay function when we show the window.
2015-04-18 18:16:19 +01:00
Leland Lucius
923827966c Add debug report (crash report) to Help menu
This captures crashes on Windows along with the stack backtrace.

On Linux (fedora 21 at least), the necessary function to enable
capture is not included in the system wx libs.  But, a self built
version works fine and capture the backtrace, so I'm assuming
other distros will probably work as well.

On OSX, the crashes are caught, but it does not include the
backtrace.

But, really, the backtraces aren't all that useful in a release
build since we don't ship with debug symbols and optimization
plays havoc with proper backtraces anyway.

The real benefit will be for the support folks as they can now
get consistent info from user by asking the to generate a report
from the "Help->Generate Support Data" menu item.
2015-04-18 05:06:28 -05:00
Paul-Licameli
2b85d0edb4 Preliminary function argument list changes and comments, for scrubbing project
In particular, use an options structure for AudioIO::StartStream to simplify
calls

ControlToolBar::PlayPlayRegion also takes that structure as an argument, and a
SelectedRegion instead of two times

And other changes
2015-04-17 02:25:39 -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
James Crook
28864acb23 beforeLen default now 2.0s
Consistency.  Per eMail from Dave, the default elsewhere is 2s, not 1s.
2015-04-12 12:40:22 +01:00
David Bailes
c6455312aa provide a limited version of functionality of AudacityProject::OnPlayToSelection() for keyboard users 2015-04-10 14:53:48 +01:00
Leland Lucius
2457579091 Bug 765 - Delays using Edit commands and Draw Tool in long projects
A 4hr track used to take about 20s to cut a few samples. This is now significantly improved, to around 3s. Leland did this by

(a) moving the size calculation to when we examine the undo history, so it isn't slowing down the edits.
(b) in size calculation, using sizes that are cached rather than going to disk to find the sizes.
(c) writing the autosave file which is to an FFIle to a string first, i.e. using XMLStringWriter as a buffer for XMLFileWriter.

Step (c) may also make autosave marginally safer, as the risk of a partially updated autosave file is reduced.
2015-04-07 12:20:50 +01:00
v.audacity
58bca2e8a9 fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=883 2015-03-03 01:48:07 +00:00
lllucius
10f62cdae5 Fix for bug #833
This allows duplicate items in the effects menus and provides a
means to uniquely identify each item.
2015-01-19 16:28:48 +00:00
lllucius@gmail.com
a286b0e5a4 Don't need the separator on the Mac. 2015-01-12 01:07:11 +00:00
lllucius
3a098714d9 Persist looped button across toolbar resets...
...when started from the keyboard.
2015-01-03 11:27:24 +00:00
lllucius
2c6401b564 Committing Paul's spectral nagivation commands patch
From:

http://audacity.238276.n2.nabble.com/Patch-spectral-peak-snapping-navigation-commands-td7565648.html
2014-12-22 08:03:41 +00:00
lllucius@gmail.com
9404a28954 Fix missing toolbars at startup on Linux
The problem was that on Linux (not Windows or Mac) menu
events are generated when checking the menu items in
the toolbar menu.

Becuase of the recent changes I made and how the toolbars
are being shown (toggled) when the toolbar menu is checked,
they were simply being hidden.  Actually, the were being
shown and then hidden because of the toggle.

So, with this change I made exposing toolbars a bit more
deterministic.  The menus still use a toggle, but the 
ToolManager now shows or hides the bars explicitly during
setup, so the menu toggle issue is resolved.
2014-12-20 20:08:45 +00:00
lllucius
9bbc261321 Attempt #2 at taming the meter toolbars
It corrects several "multiple project" problems with the
meter toolbars and meters.

In addition, there was a "multiple project" issue where
the transport buttons didn't disable properly in the
non-active project.
2014-12-19 16:38:56 +00:00
lllucius@gmail.com
07b5a68274 Do not breakup default effects into subgroups based on count 2014-12-14 16:22:13 +00:00
lllucius
2e29d9d2b1 Fix for sticky overdub menu item 2014-12-11 06:04:54 +00:00
stevethefiddle@gmail.com
b3241e5db7 Fix - added missing access key for Mix and Render to New Track. 2014-12-10 13:08:56 +00:00
lllucius@gmail.com
cbe0e38896 Simply toplevel window cycling
It never really worked right on GTK and MAC, so remove all of the
specific code for them and just allow it to work on Windows until
a correct solution is found.

(GTK and MAC have their own cycling key combos anyway)
2014-12-09 05:16:48 +00:00
lllucius
4d76e14794 Changes to the Effect dialog based on QA suggestions
Solves the problem of what the "Settings" button should say
by converting it to a bitmap button.

Adds the missing "bypass effect" button.

The Ok/Cancel buttons are now Apply/Close buttons and the
dialog stays open after the apply is done.

Record is no longer disabled when an RTP effect is open as
the RTP effect now monitors when recording starts and disables
its buttons as needed.

Added "Play", "Skip forward", and "Skip backward" buttons.
While the other stuff is required, this last one is in to
get a feel for its usefulness.  We'll need to get feedback
on it pretty quickly so we can rip it out if need be.
2014-12-02 08:55:02 +00:00
lllucius
da76615bf3 Now do the reverse...disable record if a realtime effect is open. 2014-11-30 21:55:13 +00:00
lllucius
6698c38357 Previous attempt at disabling failed when monitoring...using a different method. 2014-11-30 21:46:20 +00:00
lllucius
579c5cbc01 Do not allow realtime effects while recording. 2014-11-30 21:13:24 +00:00
lllucius
c2218d5ddf Only allow one realtime effect at a time
Warning...this required a small hack that allowed updating the
menus even if the toplevel frame is not the project window.  This
is because with the active frame actually becomes the effect dialog
and UpdateMenus() bailed if it wasn't the project frame.

This should be removed when we get multiple effect support.
2014-11-29 23:17:03 +00:00
james.k.crook@gmail.com
7324997db6 Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=643 "Residual consistency issues with SHIFT showing Loop Play button icon" by Paul Licameli.
* Loop play-at-speed and cut preview play-at-speed implemented.
* Shift or ctrl down now affect all relevant buttons, loop or cut preview, normal or at speed, and append-record.
2014-11-29 17:22:05 +00:00
james.k.crook@gmail.com
2131568876 Spectral Selection Toggle (using q key) by Paul Licameli. 2014-11-29 16:53:28 +00:00
lllucius
071cd0f066 Disables the rack and fixes a couple of other things
Needed to redo a bit of code so that effects would work
without the rack in the middle.  I wanted to disconnect
it completely as I'm not sure it something that will be
kept around.

During realtime preview, effects will be applied in the
order their dialogs were opened...hmmm...what happens
if they don't have a dialog???  I look into that.

Fixed the focus target for windows when cycling among
active windows as suggested by David B.

Fixed plugin registration if the plugins were located
in the "Plug-ins" folder.  I believe this problem may
have played a role in the duplicate menu items.
2014-11-27 12:22:41 +00:00
lllucius
4b756ce7d6 Give the keyboard user the ability to move among all modeless windows
With realtime preview, the keyboard user will need this to get
back and forth between the effect and the project window.  Actualy,
the "problem" existed before this since the keyboard user couldn't
switch between project and Plot Spectrum windows.

The normal flags-based keyboard handling would not work since it
depends on the state of the project and requires a project window
to have the current focus.

In this new case, a modeless dialog may actually have the focus and
using the "switch window" key combo may happen in nearly any mode, like
while playing.

So, I "created" the concept of "meta" commands...ones that do not have
the restrictions mentioned above.  The should be used sparingly and
you must be careful about what happens within their handlers.
2014-11-26 18:17:38 +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
windinthew@gmail.com
69e9d8860a Clarify code comment about bug 458 workaround. 2014-11-16 13:08:41 +00:00
lllucius@gmail.com
1e0d040cfb Fix this effect menu grouping and names. 2014-11-15 18:13:50 +00:00
james.k.crook@gmail.com
93060f0ccc One #ifdef EXPERIMENTAL_SPECTRAL_EDITING missing. 2014-11-14 18:32:30 +00:00