Commit Graph

30 Commits

Author SHA1 Message Date
Steve Daulton a06e561cb7 Support version strings in Nyquist plug-ins
For shipped plug-ins, the version number is the same as the Audacity
release version when the plug-in was last modified.
2018-07-02 22:41:59 +01:00
Steve Daulton 975e95abad Update Nyquist plug-in headers
Mostly consistency updates, plus a couple of minor fixes.
Line breaks in translated control text strings do not work, so have
been removed.
Obsolete ";categories" commands removed, and ";info" commands replaced
with standard Lisp comments.
2018-03-21 22:49:35 +00:00
Paul Licameli ac9148e48f Don't use \n sequence inside Lisp strings needing translation...
... Because xgettext will just remove the \, not replace \n with newline.

That's consistent with Lisp reader behavior in this documentation:
http://www.lispworks.com/documentation/lw70/CLHS/Body/02_de.htm

The XLisp reader, which replaces \n with newline, is nonstandard.

So, to accommodate xgettext, use (format nil "...~%...") instead, or where
you can't do that in a $ header line, just make a line break inside the ""

There are a few "\n" left alone in sample-data-export.ny which are neither
in $ lines nor inside (_ "...")
2018-03-02 20:11:55 -05:00
Paul Licameli da39cc451f Remove redundant ellipses from names in .ny files...
... The code that parses the header was always just throwing them out.

The code that populates menus deduces whether to add ellipses, as there are
controls or not, regardless what the $name line said.
2018-03-02 20:11:54 -05:00
Paul Licameli 0beb16210f Usage of _ in Nyquist program bodies 2018-03-02 20:11:54 -05:00
Paul Licameli 4018e3b87b Rewrite prompts in ;control lines 2018-03-02 20:11:52 -05:00
Paul Licameli cc455fac16 Rewrite ;copyright 2018-03-02 20:11:51 -05:00
Paul Licameli 6298ac947a Rewrite ;author 2018-03-02 20:11:51 -05:00
Paul Licameli 72df4e833c Rewrite ;action 2018-03-02 20:11:50 -05:00
Paul Licameli a13827e024 Rewrite ;name 2018-03-02 20:11:50 -05:00
Steve Daulton fd3d41e82f Add help pages for shipped Nyquist effects 2017-05-20 14:49:07 +01: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 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 fd274e6d0e Bug892: Spec. Sel. Toolbar no longer forces selection below half project rate...
... rather, selections up to half of the maximum of project rate and all track
rates is permitted.

Also added some more cautions to the Nyquist code for spectral selection
effects, in case input frequencies exceed Nyquist for the track (as they
may now do).
2015-07-25 13:28:23 -04:00
Paul Licameli a0f5f5852c Simplify uses of catch 2015-07-25 12:30:42 -04:00
Paul Licameli a0ebf3eb4a Revert "Track view awareness removed from Spectral Edit effects as demanded by"
This reverts commit 4d0e8f6c76.
2015-07-24 20:38:17 -04:00
Steve Daulton 4d0e8f6c76 Track view awareness removed from Spectral Edit effects as demanded by
Paul Licameli.
2015-07-22 09:19:12 +01:00
Steve Daulton 07ca677dc7 Fix for bug 1026 2015-06-19 14:15:59 +01:00
Steve Daulton 6c8e391df3 Fix for bug 1027. 2015-06-12 10:43:26 +01:00
Steve Daulton 62cc10c7c4 Update Nyquist plug-ins for new preview code. 2015-05-29 22:08:16 +01:00
Steve Daulton 4abd816c52 Restore hyphenation of plug-in as preferred form. 2015-05-21 16:57:12 +01:00
stevethefiddle@gmail.com 2e562600af Fix for bug 849. Validates user selected frequency in Spectral Edit plugins to prevent Nyquist applying invalid frequency (greater than Nyquist frequency) parameters to filters.
This does not address the broader question of how Spectral Selection should handle multiple sample rates.
2015-02-02 01:46:34 +00:00
stevethefiddle@gmail.com d89ca6e457 Fix typo in error message. 2015-01-17 13:04:48 +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 d42953a5b6 Updated Spectral effects to v4 plugins and added GPL v2 license information (with agreement from Paul Licameli). 2014-11-21 20:12:30 +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
james.k.crook@gmail.com 48f067a355 Removed optional control fields. 2014-10-27 19:07:50 +00:00
james.k.crook@gmail.com d96bbb1f3a Spectral selection effects now prompt for missing frequency fields when used in time selection mode. 2014-10-24 20:27:04 +00:00
windinthew@gmail.com a0f43759a0 Added missing ellipsis to the two Spectral edit plug-ins that have an interface. 2014-10-21 15:00:03 +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