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

308 Commits

Author SHA1 Message Date
Steve Daulton
57d1f5583d Fix for bug 661
Introduce *DECIMAL-SEPARATOR* global for Nyquist.
Improvements to numeric validation error messages.
Fix *TRACK* START-TIME and END-TIME properties for tracks with different
length channels.
Update Adjustable Fade, Regular Interval Labels and Vocal Removal
to use numeric text inputs.
This does NOT fix bug 1020.
2016-01-21 01:29:56 +00:00
Steve Daulton
46055cde25 Fix effect preview issues
Fixes bug 1274 and unblocks bug 995.
2016-01-20 18:19:11 +00:00
Steve Daulton
6663f406d3 Bug 1275 - No preview in Spectral edit effects
Introduces a new type 'spectral' t Nyquist plug-ins
2015-12-26 19:26:39 +00:00
Paul Licameli
9c483e2e86 Add (redundant) #include "Experimental.h" in all .cpp files using the symbols 2015-08-31 17:56:10 -04:00
Steve Daulton
351a2a8528 Update Nyquist *TRACK* property list 2015-08-28 16:12:23 +01:00
Steve Daulton
8828ab50b7 Remove obsolete 'rate' keyword to prevent crash
and added numeric-text controls.
2015-08-23 18:37:18 +01:00
Steve Daulton
7ee8032f3c Limit selection length for Nyquist plug-ins
This can improve progress count for Nyquist effects
that do not process all of selection (bug 558) and provides some
protection against 2^31 overflow issues (bug 439).
2015-08-13 13:06:13 +01:00
Steve Daulton
2cb32c763f Fix for bug 558 2015-08-13 13:06:12 +01: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
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
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
65f1bbe449 Disable spectral editing effects in one place in Nyquist.cpp...
... by passing invalid frequency values,
rather than by checking the 'view property in each effect.

Spectral editing is now permitted only for appropriate track view types.

But I would suggest reconsideration of the exact conditions in which we do
this.
2015-07-25 15:12:18 -04:00
Paul Licameli
162418ff07 Fix compilation warnings 2015-06-10 02:04:07 -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
Steve Daulton
5378b0a951 Update to non-real-time preview.
Fixes and updates on top of some code clean-up from Leland.
2015-05-29 22:08:16 +01:00
Leland Lucius
b8ce7f6125 Fix for bug #981 2015-05-28 09:57:59 -05:00
Steve Daulton
c0763c3b4b Pass preview duration preference to Nyquist.
To get preview duration:
(get '*project* 'preview-duration)
2015-05-22 19:09:37 +01:00
Steve Daulton
4abd816c52 Restore hyphenation of plug-in as preferred form. 2015-05-21 16:57:12 +01:00
Steve Daulton
0dbaa76a7b Linear preview flag for Nyquist plug-ins. 2015-05-20 21:12:05 +01:00
David Bailes
f458df1c7b Changes to a number of dialogs so that the NVDA screen reader can read the titles. Missed these in my last patch. The accessibility name of the dialog is set to the title. 2015-05-18 13:57:05 +01:00
James Crook
4b2a2f710a Stub NyquistEffect::RedirectOutput() so mod_nyq_bench compiles
This function had somehow gone missing in other changes.  mod_nyq_bench now compiles loads and runs again.  Not tested beyond that.
2015-05-08 16:27:32 +01:00
Leland Lucius
b8fe0e6743 Fix escape issue causing SAL to fail
And don't uppercase the line...DOH!
2015-05-04 03:12:55 -05:00
Leland Lucius
4d0de66523 Fix for bug #387
As this is a reversal of change committed in 2007 with no real
explanation or history behind that change other than it was
done for Export, we should probably give exporting a bit of a
workout.
2015-05-03 23:36:30 -05:00
Leland Lucius
01f28f645d Fix NIL spectral frequencies when running worker from Nyquist prompt 2015-05-03 22:46:59 -05:00
Leland Lucius
afe47be9e1 Clean up a few warnings 2015-04-26 16:46:14 -05:00
Leland Lucius
63dd4470f1 This "should" fix the text controls 2015-04-25 04:12:14 -05:00
Leland Lucius
78ffcd8a1e This "should" fix the double execution Prompt issue 2015-04-23 09:21:28 -05:00
Leland Lucius
cff7df273f Save and restore current settings when doing auto-reload 2015-04-23 07:40:47 -05:00
Leland Lucius
d841172abb Fix auto-reload of changed Nyquist effects 2015-04-23 07:36:04 -05:00
Leland Lucius
71cb68b798 Fix HighPass and LowPass effects based on Peter's feedback 2015-04-23 07:25:29 -05:00
Leland Lucius
d95cb872a4 Allow changes to be recorded in history 2015-04-22 19:15:15 -05:00
Leland Lucius
e8b0ca8707 Bring back the Nyquist debug button 2015-04-22 15:55:58 -05:00
Leland Lucius
c7aa6d684e Change the NVDA trickery to the "\a" (audible bell) escape sequence. 2015-04-20 12:33:03 -05:00
Leland Lucius
6212da3e2d Keep NVDA from saying "panel panel" when dialogs get focus
This will need to be tested with JAWS and Window Eyes.
2015-04-19 23:03:54 -05:00
Leland Lucius
0f3358248b Nyquist prompt updates
Based on Robert's and Steve's suggestions, I removed the "Clear"
button, replaced FileDialog usage with wxFileDialog to restore
extension suffixing, and escaped newlines in save settings so
that chains work properly.

I also attempted to locate the issue where code isn't being
parsed and made a couple of changes, but I doubt I got it.
2015-04-19 22:24:04 -05:00
Leland Lucius
7a0aa43a82 Convert all wxTRANSLATE() to XO()
XO() can be used anywhere a string must be extracted for translation
but not automatically translated at runtime.
2015-04-18 23:03:49 -05: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
dbed4affe8 Update Nyquist.cpp
Remove earlier ifdef'd version of time/date property
2015-04-14 20:42:15 +01:00
Steve Daulton
d8d292edc7 Add time and date property list. 2015-04-14 13:50:51 +01: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
4e8b794452 Fix a conflict between the backported number validator and formatter
When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
2015-01-04 21:17:16 +00:00
stevethefiddle@gmail.com
a13cb99e67 Modernize ';nyquist plug-in' header command.
Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
2015-01-02 15:24:11 +00:00
stevethefiddle@gmail.com
3bf763194b Simplify misleading (and dangerous looking) initialisation. 2014-12-30 12:32:15 +00:00
stevethefiddle@gmail.com
9f5f5e36ad Experimental Nyquist time/date property (idefed out). 2014-12-25 18:22:59 +00:00
stevethefiddle@gmail.com
5b8747c636 Fix - Nyquist requires that the decimal separator is a dot.
This should allow the new Spectral edit plugins to work on systems that use comma as the decimal separator.
Also removes the *F0* and *F1* definitions that are no longer used (superseded by lowHz and highHz properties).
2014-12-25 13:54:00 +00:00
stevethefiddle@gmail.com
5d526a8009 Fix - bandwidth may be zero. 2014-12-19 16:18:21 +00:00
stevethefiddle@gmail.com
4fe3f855eb Fix for clip/split issues with Nyquist plugins. (see also bug 7) 2014-12-17 05:02:13 +00:00
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