1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-09 08:31:13 +02:00

814 Commits

Author SHA1 Message Date
lllucius@gmail.com
3bd511698a Leave the ellipse until after 2.1.0
Some of the locales do not have a translation for "Nyquist Prompt",
but do have one for "Nyquist Prompt...", so leave the ellipse for
now.
2014-12-15 22:45:52 +00:00
lllucius
ba1a3c6c8c And now make the Nyquist Prompt label change when the language changes 2014-12-15 22:36:36 +00:00
lllucius
16ca4f17eb Re-adding localized menu labels for effects
If you can believe it, this whole big mess is
just to get localized effect labels back into
the menus.

I sure wish I'd had a little bit more time to
finish up all of the effects.  It sure would 
be a lot cleaner (code wise).
2014-12-15 21:54:23 +00:00
lllucius
f3f3844b25 Change play/stop label/tip to allow consisten translattion 2014-12-15 16:05:30 +00:00
lllucius
3e28f0889b Change "setting" to "option" in dialog text 2014-12-15 15:51:42 +00:00
lllucius
7509b7e84a Toggle the play button label/tip between Play and Stop 2014-12-15 09:18:42 +00:00
lllucius@gmail.com
a98a0ef654 More pointer madness fixes
This round fixes Mac pointers when mouse transitions from
the main project window to an open effect window in GUI
mode and back.

Not all of the cases are fixed with VST overlay windows
being the final holdout.  Couldn't figure out the cause
so will just deal with it when we convert to wx3.

(I GET TO REDO ALL OF THIS FOR WX3...WOOHOO!!!)
2014-12-15 07:59:53 +00:00
lllucius@gmail.com
3da4e22cee Rename Settings to Options in RTP dialogs
This was suggested here:

http://audacity.238276.n2.nabble.com/Effect-options-dialogs-should-be-titled-Options-not-Settings-tt7566034.html

(Probably should delete your pluginregister.cfg file, but not a requirement.)
2014-12-15 04:49:06 +00:00
lllucius@gmail.com
83ba6da21a Fixes for noise removal effect
Removes all duplicate accelerator keys and changes ones that
were defined to characters with descenders (they work, but are
not visible on GTK).

Provides a different workaround for problem reported here:

http://audacity.238276.n2.nabble.com/Noise-Reduction-access-keys-tt7565915.html

Which also solves the problem reported here:

http://audacity.238276.n2.nabble.com/Missing-text-in-Noise-Removal-effect-tt7566032.html
2014-12-15 00:04:30 +00:00
lllucius@gmail.com
f09319624b Fix for crash in Ladspa effect as reported here:
http://audacity.238276.n2.nabble.com/Still-got-crash-with-RTP-effects-tt7566031.html
2014-12-14 23:17:51 +00:00
lllucius
7fd0f4e8bc Change label/tooltip for power button to indicate action
(Holler if it should indicate state instead and if the
play/stop button should do the same)
2014-12-14 16:28:19 +00:00
lllucius
6ecf2e38e9 Separate power button and playing state
This will allow the power button to function independently
of the actual playback state.  It also gets rid of the whole
"Bypass" folderol.
2014-12-13 18:24:11 +00:00
lllucius
6ea62095de (Hopefully) Provide for localized accelerator keys 2014-12-12 14:44:50 +00:00
lllucius@gmail.com
994acab14f Fix for bug #773
This is only a workaround since the real problem is in wxGTK.  Hoping
it has been fixed in wx3.
2014-12-12 08:53:28 +00:00
lllucius
a869490b44 Reintroduce the mnemonic characters
Per David Bailes, removing the "&" mnemonic characters also
removed the access key feedback present to screen reader
users.  He also found that having the mnemonic and the
accelerators still prevented the focus from jumping to the
transport button.

I'm hoping that with wx3, we can clean this up some as it
appears they've redone the whole bitmap button design.
2014-12-12 06:55:47 +00:00
stevethefiddle@gmail.com
a675cae252 Fix Noise Reduction access keys. 2014-12-11 17:27:27 +00:00
lllucius@gmail.com
7d6013c97d Fix build issue on OSX. 2014-12-10 19:07:20 +00:00
james.k.crook@gmail.com
51c6bf0d90 Show NewSensitivity rather than old, attack .02, release 0.1, choose between reduce and residue.
To be reviewed by Paul Licameli.
2014-12-10 18:35:14 +00:00
lllucius
d01a28be03 Cleanup chunk setting and preset saving/loading
When looking into the +morphfilter issue, I noticed that
I wasn't consistently handling preset chunks.  While I
didn't have any effects complaining about it, some of it
was (near as I can deduce...this stuff isn't well documented)
probably wrong.

So, I cleaned it all up and in the process added more validity
checking when loading presets for all 3 preset formats.

Incidentially, the +morphfilter still crashes Audacity...but
it also crashes Cubase, so we're in good company.  :-)  I've
sent an email to the author to see if I'm setting the chunks
correctly or he has a known issue.
2014-12-10 05:44:59 +00:00
lllucius@gmail.com
f677bc00df Reinstate close handle for AudioUnits
Closing the window via the frame's close button was
not being recognized by wxWidgets.  I'm sure it's
because of the of the additional event handler, but
the close event should have been sent on to the wx
handler since it wasn't handled.

No matter...just capture the event and close the
window manually.
2014-12-09 15:58:42 +00:00
lllucius
adbaca16eb Fix for SoundHack +morphfilter VST effect
It would crash Audacity when the initial default parameters
were saved (effGetChunk w/program) since it didn't seem to
have a default programs selected.

Fix is to simply to default to program 0 on startup.
2014-12-09 05:57:47 +00:00
lllucius@gmail.com
8f5084b665 Resolves two issues
On Windows, when the button access keys were used, the focus
would jump to the associated button.  This would be a real
pain for keyboard user since they would then have to TAB back
to the control they were on to make further adjustments.

By using the accelerator table instead of the normal mnemonic,
the access key isn't directly tied to the button, so focus
remains untouched.

On GTK, this actually makes the accelerators work.  It seems
that normal mnemonics do not work with a wxBitmapButton, so
using the accelerator table provides the access keys.
2014-12-09 02:58:09 +00:00
james.k.crook@gmail.com
c40541d82a Noise Reduction now the default. Noise Removal now not in menu (for current settings of Experimental.h) 2014-12-08 22:12:36 +00:00
james.k.crook@gmail.com
83172420c7 Trimmed controls in Noise Reduction down (for this release). 2014-12-08 22:04:38 +00:00
stevethefiddle@gmail.com
2b28e840cc Fix - final setup parameter was being carried through to the script code. 2014-12-08 15:11:22 +00:00
lllucius
969db08acb Added access keys to transport buttons in Effect dialog 2014-12-08 14:54:06 +00:00
lllucius
814ed57a68 Better resolution than r13716
The hairbrained "solution" I came up with in r13716
"worked" but it was simply unnecessary and this is
what I should have just done to begin with.

The previous "solution" actually caused some display
issues in the menus.
2014-12-08 03:11:20 +00:00
lllucius
0c51333407 Fix validation errors due to rounding
::Invada::Compress - Mono would fail to validate because
of rounding even though the default value was within the
actual range.
2014-12-08 02:41:29 +00:00
lllucius
9ce427f283 Fixes StereoToMono effect
The problem is that lookup of effects is based on their
ID and legacy effects didn't play well in this scheme, so
I've added a workaround for now.  This will go away when
I get all of the effects converted.

And removes some debugging.
2014-12-07 19:27:06 +00:00
lllucius
2803bcd67a Protect against blank parameter names 2014-12-07 18:26:22 +00:00
lllucius
ed8dd09414 Fix crash when applying Ladspa effects 2014-12-07 18:01:17 +00:00
lllucius@gmail.com
1ff85fa1ae Remove unneeded variable 2014-12-07 07:06:41 +00:00
lllucius@gmail.com
e023a1120b Correct some non-wxWidgets literals 2014-12-07 05:29:31 +00:00
lllucius
4503c704dd Correct LV2 validity check 2014-12-07 04:13:00 +00:00
lllucius@gmail.com
01ca7c71de Sort of fix for bugs #665 and #460
This is more of a toleration than a fix since I can't
get any of the Waves plugins to display their custom views.
They do work in generic view however, so I've put in a 
temporary hack to force all Waves plugins to use the 
generic view.
2014-12-07 02:24:50 +00:00
stevethefiddle@gmail.com
b7aeef5ec9 Fix for bug 7, but ifdef'd out pending a more
flexible solution. Reviewed by Leland as "perfectly safe".
2014-12-07 02:03:57 +00:00
lllucius@gmail.com
581b836c18 Fix a bogus delete in AudioUnits 2014-12-07 01:43:03 +00:00
lllucius
ff858db9ff A few fixes for VST FXB and FXP loading
One endianess byte swap was completely wrong

And program loading should have had some additional
dispatches to tell the effect to prepare for loading
banks and programs.
2014-12-05 07:04:13 +00:00
lllucius@gmail.com
cddff18025 Resolves reported bugs and (most) recommendations
All:

Export/Import now disabled if the Effect (family) doesn't support it
Options disabled if the Effect (family) doesn't support it
Standarized on "Latency compensation" instead of "Buffer delay compensation"
Correct loading/saving of factory default settings
Fixed "Mannage" to be "Manage"
Removed conditional code since we're keeping the transport buttons
Play bases state on actual playback status
Play no longer monkeys with selection
Play will now start from where it left off IF:
   The user stops the playback via the Effect Stop button
   If the user wants to restart from the beginning of the selection
   then the user can click Rewind while stopped.
Rewind will not go past start of selection (sorry Steve ;-))
   If Rewind is clicked while not playing, playback will next
   start at beginning of selection.
Fast Forward will stop at end of selection
   However, if FFwd is clicked while not playing, it will
   put playback at the end of selection and the next time
   the user clicks the Effect play button, playback will
   continue from the end of selection to the end of track.
Deleting a preset now prompts user to confirm
Button faces should now look a little better
Bypass (should we rename that???) button now grays when disabled

Audio Units:

Corrected all user visible "AudioUnit" strings to be "Audio Unit"
Removed unneeded "Buffer Size" in settings dialog
Only uses latency if user said it was okay

Ladspa:

Added settings dialog to allow control of latency usage
Removed unused "user selectable" buffer size
Only use latency if user wants it
Refresh controls when presets are loaded

VST:

Removed unused "Rescan at startup" setting
Propogate parameter loads to slave effects
2014-12-04 06:10:27 +00:00
stevethefiddle@gmail.com
8d8a0b9234 Nyquist v4 - Fix bug in 'clips property. 2014-12-02 12:41:40 +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
60605e6507 Fix vamp plugin validation 2014-12-02 08:20:32 +00:00
stevethefiddle@gmail.com
6c781a6a1d Fix - Nyquist v4 path strings needed to be escaped for Windows. 2014-12-01 18:31:33 +00:00
lllucius@gmail.com
2acdcc3378 Beat effects windows on the Mac into submission
This should resolve all concerns with the effects windows like:

1)  Dropping behind the project window
2)  Obscuring other dialogs
3)  Keyboard cycling among the active windows
4)  Clicking twice to do something in another window
    NOTE:  VST effects with a Cocoa overlay still require it.
           Examples are Blue Cat and GRM.

This does tie an open effect to its parent project, but that should
be okay.  We'll need to verify that again once we start to allow
multiple open effects dialogs at once.
2014-12-01 07:27:49 +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
fe722df653 Tweaks to Noise Reduction, by Paul Licameli.
1. Put the new files at the proper level of the Solution Explorer tree. 
2. Fix a tiny tiny inefficiency in RotateHistoryWindows(). 
3. Do not use leading zero-padded windows when gathering statistics. 
4. Hamming windows are in the advanced menu of choices, following Federico Miyara's suggestion.
2014-11-29 17:03:57 +00:00
lllucius@gmail.com
125e0f37dd Add missing Export and Import of AudioUnit presets
And listens for latency changes now
2014-11-29 13:14:35 +00:00
lllucius@gmail.com
d60225cb61 A few more changes for AudioUnits
I added a few assertions just to be safe.  Haven't hit
the particular situations yet, but I've only tested less
than 50 or so AUs.

We were missing a few Apple AUs like panners and mixers.

The plugin "installation" dialog sort is reversed on the Mac...weird

Made the effect windows float on top of the owning project window.
Looking for opinions on which method is best.
2014-11-29 01:22:41 +00:00
lllucius@gmail.com
ee276e839e Follow up to r13654...actually commited the renamed file. 2014-11-27 18:52:47 +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