Paul Licameli
097764d94c
Distinguish Effect Family Id from Effect Family Name...
...
... and the distinction makes a difference only for built-in effects.
"Id" is meant to persist in pluginregistry.cfg, and is constrained by how
previous versions of Audacity were written.
"Name" is not persistent, so we have the liberty to change it, as done here
for the built-ins.
2018-02-21 21:43:01 -05:00
Paul Licameli
080dd34e61
Get rid of wx object arrays, use std::vector
2018-02-21 19:33:27 -05:00
Paul Licameli
6e7d7447c1
Use an enum class for numeric validator styles
2018-02-21 19:21:08 -05:00
Paul Licameli
0aad028c9b
Simplify calls to Effect::Delegate
2018-02-21 19:20:53 -05:00
Paul Licameli
80a958f8a4
Rewrite empty prompts to ShuttleGUI functions as {} ...
...
... so we might more easily redefine the type of the function argument,
some other day (not this release)
2018-01-01 22:51:25 -05:00
Paul Licameli
7fd78183d2
Remove needless uses of wxString::c_str() in wxString::Format...
...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.
Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
384300016d
Define FileDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
ccb4bbac33
Translate "Message" as default title of message box...
...
... This required a sweeping change of all calls to wxMessageBox! But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
Paul Licameli
378c96fda1
Consistently use translated effect name in titles of message boxes...
...
... For built-in and Nyquist effects.
2018-01-01 17:50:01 -05:00
Paul Licameli
bdd1358f9b
Error messages for failing to load Nyquist effects
2017-12-27 15:46:06 -05:00
James Crook
63de7f0884
Bug 305 - Analysis effects produce false indication that a label is open for editing
...
This was true of any Nyquist or VAMP effect that created labels.
2017-12-17 21:18:07 +00:00
Steve Daulton
430bd12304
Fix Regular Interval Labels
...
Save control values for NYQ_CTRL_INT_TEXT
2017-11-20 20:30:45 +00:00
James Crook
0bae8c3a90
Bug 1774 - Recording does not honor waveform color
...
New clip now takes colour from WaveTrack, and new WaveTrack takes colour of the WaveTrack its clips will be appended onto.
2017-11-07 14:26:32 +00:00
Paul Licameli
e5c07fae84
some missed translations, i18n-hints
2017-11-05 21:01:53 -05:00
Paul Licameli
da5e5e51c9
Config file keys do not need to localize
2017-11-05 20:36:19 -05:00
James Crook
7c49019669
Bug 1766 - Invalid check for unsupported Nyquist plug-in version
...
Issue/fix by David Binderman.
2017-11-04 17:47:32 +00:00
Steve Daulton
d78033887f
Fix initialization of Debug and Preview buttons
2017-09-26 12:34:44 +01:00
Paul Licameli
adc2695688
i18n-hints about the name "Nyquist" ...
...
... Although "Nyquist" is a proper name, still, translators should have
discretion to transliterate it into another alphabet, and also make it
consistent with longer translated strings containing it.
Not so for debug messages mentioning actual keywords of Nyquist programming.
2017-09-10 19:15:46 -04:00
Steve Daulton
da3f28118b
Fix: Nyquist PEAK property when NIL & Stereo
...
Fixes failure of Nyquist Generate effects when stereo track
selected and no time selection.
2017-08-08 11:55:47 +01:00
Paul Licameli
f0de38dec1
Scanned for bad naked new; found none; changed comments, used safenew
2017-07-23 09:35:01 -04:00
Steve Daulton
3aab1939f0
Fix Nyquist message logging
...
Incorrect use of wxLogMessage can cause crash on Windows
if '%' present in debug string.
2017-07-07 14:12:26 +01:00
Steve Daulton
cbe554e10a
Ensure Nyquist Prompt initialises mName
2017-07-02 12:33:08 +01:00
Steve Daulton
a0eba9fb95
Set Nyquist default latency to 100 ms
...
The default for Standalone Nyquist is a very conservative
300 ms, but that's too long when using ALSA (see bug 570),
so use 100 ms default (same as Audacity).
2017-06-22 11:11:17 +01:00
Steve Daulton
1123ca293c
More tweaks to Nyquist debug output
2017-06-13 18:30:07 +01:00
Steve Daulton
b92866be71
Nyquist debug handling tweaks
2017-06-13 01:06:19 +01:00
Steve Daulton
9816cc8c7b
Reinstate FileNames::PlugInDir() for Linux
...
Reverting its removal in commit 1dd6b848c28.
Path added to Nyquist *SYSTEM-DIR* PLUG-IN property.
2017-06-04 18:01:49 +01:00
Steve Daulton
b6a1ca916b
Fix for bug 376
...
Documentation required.
2017-05-30 20:43:50 +01:00
Steve Daulton
73d2478d0b
Rename Nyquist plug-in debug button header
2017-05-30 20:43:50 +01:00
Steve Daulton
eea55f78ce
Make Nyquist debug window resizable
...
and name window to match the effect.
2017-05-25 23:16:41 +01:00
Steve Daulton
0303d281cc
Fix for bug 1650
...
Don't attempt to read plug-in file when spawned from Nyquist Prompt
because there isn't one.
2017-05-23 23:38:55 +01:00
Steve Daulton
04ba10a1c3
Add help button support for other Nyquist effects
2017-05-21 23:11:21 +01:00
Steve Daulton
bba5a8fef1
Add help button for Nyquist Prompt
2017-05-20 14:49:07 +01:00
Steve Daulton
1dd6b848c2
Enable Help button for Nyquist effects
2017-05-20 14:49:07 +01:00
Steve Daulton
469120cebd
Enable help button for effects
2017-05-20 14:49:07 +01:00
Steve Daulton
ae24cab8fe
Remove 'TODO's for completed documentation
2017-05-01 18:51:35 +01:00
Paul Licameli
0d7250578d
Other methods of WaveTrack return void, will throw on failure instead
2017-03-31 18:26:52 -04:00
Steve Daulton
a9879bddf0
Refactor clipfix.ny to fix multiple problems
...
Basically a rewrite based on the original algorithm.
2017-03-31 00:01:18 +01:00
Steve Daulton
260044bcb0
Ffix wx assert in debug build
2017-03-22 20:26:39 +00:00
Paul Licameli
70d9e4bdc7
GetMinMax, GetRMS functions take a mayThrow argument, return numbers
2017-03-21 14:19:02 -04:00
Paul Licameli
22a12c6852
Exception safety in: some effects and generators...
...
... Those that directly call WaveTrack functions in their Process() routines,
which might throw exceptions for disk space exhaustion.
2017-03-21 14:11:25 -04:00
Paul Licameli
8e5975b10d
Report read exceptions met in SBSMS and Nyquist callbacks to user...
...
... without letting them propagate through the libraries.
2017-03-17 17:53:03 -04:00
Paul Licameli
6525bb18cf
Translate exceptions to error codes in callback functions...
...
... That is what the library protocols allow, and libraries may be written
in C and might corrupt their state if C++ exceptions pass through them.
2017-03-17 17:53:01 -04:00
Paul Licameli
ac246d0468
Fix bug 1566 differently (signed/unsigned comparison)
2017-03-17 17:52:37 -04:00
Paul Licameli
004df48438
Make Effect::mTracks private
2017-03-17 17:52:25 -04:00
Steve Daulton
b66675d71c
Restore legacy Nyquist plug-in PEAK-LEVEL property
2017-03-01 18:14:30 +00:00
Steve Daulton
f19b79f5c3
Consistency: 'plug-in' not 'plugin'
...
but retain deprecated / legacy form in code for compatibility.
2017-03-01 18:14:30 +00:00
Steve Daulton
67810d35bf
Bug 1573 - Multi-line SAL scripts fail in Nyquist Prompt
2017-02-24 18:51:17 +00:00
Steve Daulton
81dd23bd16
Bug 1566 - Incorrect error message if Nyquist returns mono sound as an array
...
and quieten a load of compiler warnings.
2017-02-24 18:50:30 +00:00
Steve Daulton
1a5a025b70
Update Nyquist v4 property lists and comments
...
Comments added where documentation is required.
2017-02-24 18:50:28 +00:00
Paul Licameli
b17a14ccc2
Nested loop should use a different index variable...
...
... but there was not a bug here, because of the return.
2016-09-20 06:32:45 -04:00