diff --git a/plug-ins/SilenceMarker.ny b/plug-ins/SilenceMarker.ny index b7bab1634..5355829d1 100644 --- a/plug-ins/SilenceMarker.ny +++ b/plug-ins/SilenceMarker.ny @@ -5,6 +5,7 @@ $name (_ "Silence Finder") $manpage "Silence_Finder" $action (_ "Finding silence...") $author (_ "Alex S. Brown") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; by Alex S. Brown, PMP (http://www.alexsbrown.com) diff --git a/plug-ins/SoundFinder.ny b/plug-ins/SoundFinder.ny index e5bc90084..35973c835 100644 --- a/plug-ins/SoundFinder.ny +++ b/plug-ins/SoundFinder.ny @@ -5,6 +5,7 @@ $name (_ "Sound Finder") $manpage "Sound_Finder" $action (_ "Finding sound...") $author (_ "Jeremy R. Brown") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; by Jeremy R. Brown (http://www.jeremy-brown.com/) diff --git a/plug-ins/SpectralEditMulti.ny b/plug-ins/SpectralEditMulti.ny index b8f310a52..72b9855ce 100644 --- a/plug-ins/SpectralEditMulti.ny +++ b/plug-ins/SpectralEditMulti.ny @@ -5,6 +5,7 @@ $name (_ "Spectral edit multi tool") $manpage "Spectral_edit_multi_tool" $action (_ "Filtering...") $author (_ "Paul Licameli") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; SpectralEditMulti.ny by Paul Licameli, November 2014. diff --git a/plug-ins/SpectralEditParametricEQ.ny b/plug-ins/SpectralEditParametricEQ.ny index 7372273aa..e459ececa 100644 --- a/plug-ins/SpectralEditParametricEQ.ny +++ b/plug-ins/SpectralEditParametricEQ.ny @@ -6,6 +6,7 @@ $name (_ "Spectral edit parametric EQ") $manpage "Spectral_edit_parametric_EQ" $action (_ "Filtering...") $author (_ "Paul Licameli") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; SpectralEditParametricEQ.ny by Paul Licameli, November 2014. diff --git a/plug-ins/SpectralEditShelves.ny b/plug-ins/SpectralEditShelves.ny index 7a1b20b8a..c0ba3399a 100644 --- a/plug-ins/SpectralEditShelves.ny +++ b/plug-ins/SpectralEditShelves.ny @@ -6,6 +6,7 @@ $name (_ "Spectral edit shelves") $manpage "Spectral_edit_shelves" $action (_ "Filtering...") $author (_ "Paul Licameli") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") diff --git a/plug-ins/StudioFadeOut.ny b/plug-ins/StudioFadeOut.ny index dcb3272f7..c12f54c42 100644 --- a/plug-ins/StudioFadeOut.ny +++ b/plug-ins/StudioFadeOut.ny @@ -5,6 +5,7 @@ $name (_ "Studio Fade Out") $manpage "Fades#studio_fadeout" $action (_ "Applying Fade...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; StudioFadeOut.ny by Steve Daulton December 2012. diff --git a/plug-ins/adjustable-fade.ny b/plug-ins/adjustable-fade.ny index 77c9ca14f..b741acf1a 100644 --- a/plug-ins/adjustable-fade.ny +++ b/plug-ins/adjustable-fade.ny @@ -8,6 +8,7 @@ $manpage "Adjustable_Fade" $debugbutton false $action (_ "Applying Fade...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; adjustable-fade.ny by Steve Daulton Dec 2012 diff --git a/plug-ins/beat.ny b/plug-ins/beat.ny index 242c7e1d9..e4ccc0bd3 100644 --- a/plug-ins/beat.ny +++ b/plug-ins/beat.ny @@ -5,6 +5,7 @@ $name (_ "Beat Finder") $manpage "Beat_Finder" $action (_ "Finding beats...") $author (_ "Audacity") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; Released under terms of the GNU General Public License version 2: diff --git a/plug-ins/clipfix.ny b/plug-ins/clipfix.ny index f4a23d64b..67e4b9e54 100644 --- a/plug-ins/clipfix.ny +++ b/plug-ins/clipfix.ny @@ -6,6 +6,7 @@ $name (_ "Clip Fix") $manpage "Clip_Fix" $action (_ "Reconstructing clips...") $author (_ "Benjamin Schwartz and Steve Daulton") +$release 2.3.0 $copyright (_ "Licensing confirmed under terms of the GNU General Public License version 2") ;; Released under terms of the GNU General Public License version 2: diff --git a/plug-ins/crossfadeclips.ny b/plug-ins/crossfadeclips.ny index 20cd6d65d..dda282117 100644 --- a/plug-ins/crossfadeclips.ny +++ b/plug-ins/crossfadeclips.ny @@ -7,6 +7,7 @@ $name (_ "Crossfade Clips") $manpage "Crossfade_Clips" $action (_ "Crossfading...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") diff --git a/plug-ins/crossfadetracks.ny b/plug-ins/crossfadetracks.ny index 3bae8bbf0..71fc75c74 100644 --- a/plug-ins/crossfadetracks.ny +++ b/plug-ins/crossfadetracks.ny @@ -7,6 +7,7 @@ $debugbutton disabled $action (_ "Crossfading...") $preview selection $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; crossfadetracks.ny by Steve Daulton Nov 2014 / Sep 2015 diff --git a/plug-ins/delay.ny b/plug-ins/delay.ny index 1e60219aa..1ff55ff98 100644 --- a/plug-ins/delay.ny +++ b/plug-ins/delay.ny @@ -6,6 +6,7 @@ $name (_ "Delay") $manpage "Delay" $action (_ "Applying Delay Effect...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; by Steve Daulton, July 2012. diff --git a/plug-ins/equalabel.ny b/plug-ins/equalabel.ny index cb0a58287..f99b9f0d2 100644 --- a/plug-ins/equalabel.ny +++ b/plug-ins/equalabel.ny @@ -5,6 +5,7 @@ $name (_ "Regular Interval Labels") $manpage "Regular_Interval_Labels" $action (_ "Adding equally-spaced labels to the label track...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; Original version by David R. Sky (http://www.garyallendj.com/davidsky/) 2007. diff --git a/plug-ins/highpass.ny b/plug-ins/highpass.ny index cd29d345e..150f3966c 100644 --- a/plug-ins/highpass.ny +++ b/plug-ins/highpass.ny @@ -7,6 +7,7 @@ $manpage "High-Pass_Filter" $debugbutton disabled $action (_ "Performing High-Pass Filter...") $author (_ "Dominic Mazzoni") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; Released under terms of the GNU General Public License version 2: diff --git a/plug-ins/limiter.ny b/plug-ins/limiter.ny index 224b0025b..b870b8e5b 100644 --- a/plug-ins/limiter.ny +++ b/plug-ins/limiter.ny @@ -7,6 +7,7 @@ $debugbutton false $action (_ "Limiting...") $preview enabled $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; limiter.ny by Steve Daulton November 2011, updated May 2015. diff --git a/plug-ins/lowpass.ny b/plug-ins/lowpass.ny index 7c2b0c56a..523f0bc72 100644 --- a/plug-ins/lowpass.ny +++ b/plug-ins/lowpass.ny @@ -7,6 +7,7 @@ $manpage "Low-Pass_Filter" $debugbutton disabled $action (_ "Performing Low-Pass Filter...") $author (_ "Dominic Mazzoni") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; Released under terms of the GNU General Public License version 2: diff --git a/plug-ins/notch.ny b/plug-ins/notch.ny index b87ef538c..6a67437e0 100644 --- a/plug-ins/notch.ny +++ b/plug-ins/notch.ny @@ -7,6 +7,7 @@ $manpage "Notch_Filter" $debugbutton false $action (_ "Applying Notch Filter...") $author (_ "Steve Daulton and Bill Wharrie") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; notch.ny by Steve Daulton and Bill Wharrie diff --git a/plug-ins/pluck.ny b/plug-ins/pluck.ny index 27fd9382f..4918046d1 100644 --- a/plug-ins/pluck.ny +++ b/plug-ins/pluck.ny @@ -8,6 +8,7 @@ $preview linear $action (_ "Generating pluck sound...") $info (_ "MIDI values for C notes: 36, 48, 60 [middle C], 72, 84, 96.") $author (_ "David R.Sky") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; Released under terms of the GNU General Public License version 2: diff --git a/plug-ins/rhythmtrack.ny b/plug-ins/rhythmtrack.ny index de537ba50..2a049b269 100644 --- a/plug-ins/rhythmtrack.ny +++ b/plug-ins/rhythmtrack.ny @@ -6,6 +6,7 @@ $manpage "Rhythm_Track" $preview linear $action (_ "Generating Rhythm...") $author (_ "Dominic Mazzoni") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; by Dominic Mazzoni, David R. Sky and Steve Daulton. diff --git a/plug-ins/rissetdrum.ny b/plug-ins/rissetdrum.ny index cb45f6c77..b260bb1ec 100644 --- a/plug-ins/rissetdrum.ny +++ b/plug-ins/rissetdrum.ny @@ -7,6 +7,7 @@ $name (_ "Risset Drum") $manpage "Risset_Drum" $action (_ "Generating Risset Drum...") $author (_ "Steven Jones") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; rissetdrum.ny by Steven Jones, after Jean Claude Risset. diff --git a/plug-ins/sample-data-export.ny b/plug-ins/sample-data-export.ny index 10f4b4ac8..8eba1cd42 100644 --- a/plug-ins/sample-data-export.ny +++ b/plug-ins/sample-data-export.ny @@ -6,6 +6,7 @@ $manpage "Sample_Data_Export" $debugbutton false $action (_ "Analyzing...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") diff --git a/plug-ins/sample-data-import.ny b/plug-ins/sample-data-import.ny index 3352a05a3..520cf4a93 100644 --- a/plug-ins/sample-data-import.ny +++ b/plug-ins/sample-data-import.ny @@ -5,6 +5,7 @@ $name (_ "Sample Data Import") $manpage "Sample_Data_Import" $action (_ "Reading and rendering samples...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") $control filename (_ "Select file") file "" "*default*/sample-data.txt" "Text file|*.txt;*.TXT|All files|*.*;*" "open,exists" diff --git a/plug-ins/tremolo.ny b/plug-ins/tremolo.ny index 49add9e43..cec3214b0 100644 --- a/plug-ins/tremolo.ny +++ b/plug-ins/tremolo.ny @@ -7,6 +7,7 @@ $manpage "Tremolo" $debugbutton disabled $action (_ "Applying Tremolo...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; tremolo.ny by Steve Daulton (www.easyspacepro.com) July 2012. diff --git a/plug-ins/vocalrediso.ny b/plug-ins/vocalrediso.ny index 147b8e6dd..98c9de9ae 100644 --- a/plug-ins/vocalrediso.ny +++ b/plug-ins/vocalrediso.ny @@ -6,6 +6,7 @@ $name (_ "Vocal Reduction and Isolation") $manpage "Vocal_Reduction_and_Isolation" $action (_ "Applying Action...") $author (_ "Robert Haenggi") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; vocrediso.ny, based on rjh-stereo-tool.ny diff --git a/plug-ins/vocalremover.ny b/plug-ins/vocalremover.ny index ce095fbc8..00177df66 100644 --- a/plug-ins/vocalremover.ny +++ b/plug-ins/vocalremover.ny @@ -6,6 +6,7 @@ $name (_ "Vocal Remover") $manpage "Vocal_Remover" $action (_ "Removing center-panned audio...") $author (_ "Steve Daulton") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; This version of vocalremover.ny by Steve Daulton June 2013. diff --git a/plug-ins/vocoder.ny b/plug-ins/vocoder.ny index 363f80a5f..13a77dc56 100644 --- a/plug-ins/vocoder.ny +++ b/plug-ins/vocoder.ny @@ -6,6 +6,7 @@ $name (_ "Vocoder") $manpage "Vocoder" $action (_ "Processing Vocoder...") $author (_ "Edgar-RFT") +$release 2.3.0 $copyright (_ "Released under terms of the GNU General Public License version 2") ;; vocoder.ny by Edgar-RFT diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index 64c674b8f..fe9244a53 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -135,6 +135,7 @@ NyquistEffect::NyquistEffect(const wxString &fName) mIsSal = false; mOK = false; mAuthor = XO("n/a"); + mReleaseVersion = XO("n/a"); mCopyright = XO("n/a"); // set clip/split handling when applying over clip boundary. @@ -221,7 +222,7 @@ IdentInterfaceSymbol NyquistEffect::GetVendor() wxString NyquistEffect::GetVersion() { - return XO("n/a"); + return mReleaseVersion; } wxString NyquistEffect::GetDescription() @@ -1865,6 +1866,12 @@ bool NyquistEffect::Parse( return true; } + if (len >= 2 && tokens[0] == wxT("release")) { + // Value must be quoted if the release version string contains spaces. + mReleaseVersion = UnQuote(tokens[1]); + return true; + } + if (len >= 2 && tokens[0] == wxT("copyright")) { mCopyright = UnQuote(tokens[1]); return true; diff --git a/src/effects/nyquist/Nyquist.h b/src/effects/nyquist/Nyquist.h index 534a64389..a1833a768 100644 --- a/src/effects/nyquist/Nyquist.h +++ b/src/effects/nyquist/Nyquist.h @@ -231,6 +231,10 @@ private: wxString mAction; // translatable wxString mInfo; // translatable wxString mAuthor; + // Version number of the specific plug-in (not to be confused with mVersion) + // For shipped plug-ins this will be the same as the Audacity release version + // when the plug-in was last modified. + wxString mReleaseVersion; wxString mCopyright; wxString mManPage; // ONLY use if a help page exists in the manual. wxString mHelpFile; @@ -245,7 +249,7 @@ private: bool mProjectChanged; wxString mDebugOutput; - int mVersion; + int mVersion; // Syntactic version of Nyquist plug-in (not to be confused with mReleaseVersion) std::vector mControls; unsigned mCurNumChannels;