Commit Graph

51 Commits

Author SHA1 Message Date
Roger Dannenberg 91a557d838 This fixes a problem with nyquist's TRIGGER retaining samples (see comment 2, Bug #2698). This version of samples.c was accidentally omitted from an earlier commit. 2021-03-29 16:14:09 -04:00
SteveDaulton d72a10ddc1 Fix Bug 2698 - Noise Gate fails silently if hold is non-zero
Nyquist fix from RDB
2021-03-21 17:52:17 +00:00
luzpaz 98d3e91452
Fix typos (user facing and non-user facing) (#733)
Found via `codespell`
2021-01-28 12:36:41 +00:00
freddii edb00dd422 Fix some spelling mistakes. 2021-01-28 02:29:46 -06:00
SteveDaulton afb286ab7e Nyquist: Cache supported Scripting command profiles.
Fixes slow load on first run of Nyquist effect.
Revert aud-import-effects to optional, and add
aud-do-command as fast alternative.
Slow load now only on first debug use of new commands
and cached until Nyquist temp folder is cleared.
To avoid unnecessary overhead, 'Lispy' scripting commands
only provide additional validation when debugging enabled.
AUD-PRINT-COMMAND added as handy reference for new commands.
Cache may be refreshed manually with (aud-refresh-debug-data-cache).
2021-01-28 02:26:02 -06:00
SteveDaulton 740ab2aa1f Nyquist: Fix multichan-expand
Many existing Nyquist plug-ins require the old version
of multichan-expand, so in Audacity we need to support
both the old and new versions.
2021-01-28 02:22:46 -06:00
SteveDaulton a661bc6220 Restore Nyquist *runtime-path* 2021-01-28 02:17:50 -06:00
Leland Lucius 883aafe8dc Reapply local changes to Nyquist runtime
commit 48b6a9a859
Author: Steve Daulton <SteveDaulton@users.noreply.github.com>
Date:   Wed Dec 18 20:28:04 2019 +0000

    Update init.lsp

    *NYQ-PATH* is not required (and not currently used).
    Use *RUNTIME-PATH* instead (already defined in Nyquist, but not previously documented).

commit f99d564fd6
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Jul 2 15:02:00 2019 +0100

    Fix bug 2148

    Ensure that backslashes in GetInfo data are escaped.

commit 5a7b6a7323
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Dec 27 19:44:05 2018 +0000

    Fix multiple selection Nyquist file widget

    Wx "Style" flags are 4 bytes, not 1 byte.
    Also update a couple of comments in passing.

commit 26e19bfd5a
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Fri Nov 9 16:35:37 2018 +0000

    Add aud-do-support.lsp for Linux build

    Provides Nyquist (LISP) wrapper functions for macro "Commands".

commit 46a3f91d59
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Oct 29 15:20:36 2018 +0000

    Add some useful path definitions for Nyquist

commit 37ec7da3c3
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Oct 11 02:43:07 2018 +0100

    Throw error if Nyquist *LOCALE* is malformed

    Partial translations are allowed.

commit 297bf442a4
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:13:48 2018 +0100

    Fix typo in 665e2d0

commit 665e2d0e9c
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:04:05 2018 +0100

    Correction to translation of rms.ny

    Update Russian translation in rms.ny and make variables local to
    underscore function.

commit 5d34d022a5
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Oct 7 18:40:41 2018 +0100

    Add rms.ny to Audacity bundle

    Tidy translation code in init.lsp
    Include rms.ny in Makefile.am
    Add rms.ny to Linux package
    Update Makefiles with: autoreconf --force --no-recursive
    Add rms.ny to mac build
    Add rms.ny to Windows build

commit ae2bbb3276
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Sep 3 16:57:06 2018 +0100

    AUD-GET-INFO function added to init.lsp

    Provide built-in Nyquist function to call scripting command
    GetInfo, and return result as LISP list.

commit 367d15a0b0
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Aug 26 20:07:47 2018 +0100

    Add a couple of helpers for parsing string

    Provides a convenient function and macro, intended specifically for
    parsing strings returned by (aud-do "GetInfo: ...

commit 504cf0fe85
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun May 6 17:08:12 2018 +0100

    Runtime translation for 3rd party Nyquist plug-ins

    3rd party plug-ins may provide their own translations for runtime
    messages (return strings and debug messages).
2021-01-28 02:14:08 -06:00
Leland Lucius 586b86a77f Update Nyquist to SVN r331 2021-01-28 02:13:05 -06:00
freddii 2593a84d56 Fix some spelling mistakes. 2021-01-12 09:55:31 +00:00
SteveDaulton 2cc6dccc5d bug 2573 Alternative fix
This version matches the fix in Nyquist 3.16.
2020-10-26 21:12:10 +00:00
SteveDaulton daf2b3cd02 bug 2573 High / Low Pass filters limited to ~94 mins stereo at 44100 Hz
MULTICHAN-EXPAND was holding onto samples when checking function
arguments. Ensure that samples are released after check.
2020-10-26 17:47:02 +00:00
SteveDaulton f7acd6986d Bug 2518 - AUD-command cache is not updated on Audacity upgrade 2020-08-13 19:31:34 +01:00
Leland Lucius c1407cdca9 Force use of our wxWidgets and fix RPATH handling 2020-07-05 13:39:57 -05:00
Leland Lucius 06c36f7fe6 Synchronize CMake install target with original 2020-04-24 23:59:11 -05:00
SteveDaulton 722a3f5ea5 Fix: 'aud-import-effects' should be 'aud-import-commands' 2020-03-04 12:50:52 +00:00
SteveDaulton 171a43821e Nyquist: Cache supported Scripting command profiles.
Fixes slow load on first run of Nyquist effect.
Revert aud-import-effects to optional, and add
aud-do-command as fast alternative.
Slow load now only on first debug use of new commands
and cached until Nyquist temp folder is cleared.
To avoid unnecessary overhead, 'Lispy' scripting commands
only provide additional validation when debugging enabled.
AUD-PRINT-COMMAND added as handy reference for new commands.
Cache may be refreshed manually with (aud-refresh-debug-data-cache).
2020-03-04 12:40:48 +00:00
Leland Lucius baaafb92df Try to fix the system.lsp issue again 2020-02-24 10:02:09 -06:00
Leland Lucius 1d267383ca Copy the correct system.lsp in the CMake build
This will fix the *file-separator* issue Steve reported.
2020-02-24 09:27:55 -06:00
SteveDaulton b7db5af4c5 Nyquist: Fix delay importing LISPy Scripting Commands 2020-02-16 12:42:27 +00:00
SteveDaulton 930e74dabc Nyquist: Only import built-in effects
Extreme slowdown has been reported when generating LISP
Functions for all scripting Commands, so only generate
LISP functions for built-in effects.
Additional LISP functions may be generated on demand
using (aud-import <command-name>).
2020-02-11 20:00:23 +00:00
SteveDaulton 3d5b0d4dd0 Clarify comment 2020-02-06 16:55:51 +00:00
Leland Lucius f0e3ee2cde More cmake updates
Added install target (this is mainly for Linux)
Added mod-nyq-bench

More to come...
2020-02-06 01:17:20 -06:00
SteveDaulton 108fe3777a Load Nyquist AUD- commands by default 2020-02-05 17:19:06 +00:00
Leland Lucius 6217351a12 Updates the cmake build system
It's still has some work, but it successfully builds on
all 3 main platforms.  Some of the outstanding items
include:

   Install target testing (mostly important for Linux)
   CMakeList clean up and comments
   Debug and Release build verification
   Audit of compile/link options
   Need a Mac signed and notarized build
   (and probably more)
2020-02-03 00:39:43 -06:00
SteveDaulton e14c9538ad Nyquist: Fix multichan-expand
Many existing Nyquist plug-ins require the old version
of multichan-expand, so in Audacity we need to support
both the old and new versions.
2020-01-16 13:37:26 +00:00
SteveDaulton f11b2b6bab Restore Nyquist *runtime-path* 2020-01-15 01:37:45 +00:00
Leland Lucius 333c6905b1 Update Nyquist system.lsp to the r288 version
It removes the "s-plot" function which, when defined as it was in
our system.lsp, caused Nyquist initialization to fail.
2020-01-14 09:44:32 -06:00
Leland Lucius 017915d5b6 Reapply local changes to Nyquist runtime
commit 48b6a9a859
Author: Steve Daulton <SteveDaulton@users.noreply.github.com>
Date:   Wed Dec 18 20:28:04 2019 +0000

    Update init.lsp

    *NYQ-PATH* is not required (and not currently used).
    Use *RUNTIME-PATH* instead (already defined in Nyquist, but not previously documented).

commit f99d564fd6
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Jul 2 15:02:00 2019 +0100

    Fix bug 2148

    Ensure that backslashes in GetInfo data are escaped.

commit 5a7b6a7323
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Dec 27 19:44:05 2018 +0000

    Fix multiple selection Nyquist file widget

    Wx "Style" flags are 4 bytes, not 1 byte.
    Also update a couple of comments in passing.

commit 26e19bfd5a
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Fri Nov 9 16:35:37 2018 +0000

    Add aud-do-support.lsp for Linux build

    Provides Nyquist (LISP) wrapper functions for macro "Commands".

commit 46a3f91d59
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Oct 29 15:20:36 2018 +0000

    Add some useful path definitions for Nyquist

commit 37ec7da3c3
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Thu Oct 11 02:43:07 2018 +0100

    Throw error if Nyquist *LOCALE* is malformed

    Partial translations are allowed.

commit 297bf442a4
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:13:48 2018 +0100

    Fix typo in 665e2d0

commit 665e2d0e9c
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Tue Oct 9 01:04:05 2018 +0100

    Correction to translation of rms.ny

    Update Russian translation in rms.ny and make variables local to
    underscore function.

commit 5d34d022a5
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Oct 7 18:40:41 2018 +0100

    Add rms.ny to Audacity bundle

    Tidy translation code in init.lsp
    Include rms.ny in Makefile.am
    Add rms.ny to Linux package
    Update Makefiles with: autoreconf --force --no-recursive
    Add rms.ny to mac build
    Add rms.ny to Windows build

commit ae2bbb3276
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Mon Sep 3 16:57:06 2018 +0100

    AUD-GET-INFO function added to init.lsp

    Provide built-in Nyquist function to call scripting command
    GetInfo, and return result as LISP list.

commit 367d15a0b0
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun Aug 26 20:07:47 2018 +0100

    Add a couple of helpers for parsing string

    Provides a convenient function and macro, intended specifically for
    parsing strings returned by (aud-do "GetInfo: ...

commit 504cf0fe85
Author: Steve Daulton <stevedaulton@gmail.com>
Date:   Sun May 6 17:08:12 2018 +0100

    Runtime translation for 3rd party Nyquist plug-ins

    3rd party plug-ins may provide their own translations for runtime
    messages (return strings and debug messages).
2020-01-13 12:46:34 -06:00
Leland Lucius e6c1a89123 Update Nyquist runtime to r288
Totally forgot about these when upgrading Nyquist to r288.
2020-01-13 12:43:39 -06:00
Steve Daulton 48b6a9a859
Update init.lsp
*NYQ-PATH* is not required (and not currently used).
Use *RUNTIME-PATH* instead (already defined in Nyquist, but not previously documented).
2019-12-18 20:28:04 +00:00
Steve Daulton f99d564fd6 Fix bug 2148
Ensure that backslashes in GetInfo data are escaped.
2019-07-02 15:05:10 +01:00
Steve Daulton 5a7b6a7323 Fix multiple selection Nyquist file widget
Wx "Style" flags are 4 bytes, not 1 byte.
Also update a couple of comments in passing.
2018-12-27 19:44:15 +00:00
Steve Daulton 26e19bfd5a Add aud-do-support.lsp for Linux build
Provides Nyquist (LISP) wrapper functions for macro "Commands".
2018-11-09 19:57:56 +00:00
Steve Daulton 46a3f91d59 Add some useful path definitions for Nyquist 2018-10-29 20:01:21 +00:00
Steve Daulton 37ec7da3c3 Throw error if Nyquist *LOCALE* is malformed
Partial translations are allowed.
2018-10-11 13:58:40 +01:00
Steve Daulton 297bf442a4 Fix typo in 665e2d0 2018-10-09 01:13:48 +01:00
Steve Daulton 665e2d0e9c Correction to translation of rms.ny
Update Russian translation in rms.ny and make variables local to
underscore function.
2018-10-09 01:04:05 +01:00
Steve Daulton 5d34d022a5 Add rms.ny to Audacity bundle
Tidy translation code in init.lsp
Include rms.ny in Makefile.am
Add rms.ny to Linux package
Update Makefiles with: autoreconf --force --no-recursive
Add rms.ny to mac build
Add rms.ny to Windows build
2018-10-08 18:55:46 +01:00
Steve Daulton ae2bbb3276 AUD-GET-INFO function added to init.lsp
Provide built-in Nyquist function to call scripting command
GetInfo, and return result as LISP list.
2018-09-03 16:57:06 +01:00
Steve Daulton 367d15a0b0 Add a couple of helpers for parsing string
Provides a convenient function and macro, intended specifically for
parsing strings returned by (aud-do "GetInfo: ...
2018-08-26 20:07:47 +01:00
Steve Daulton 504cf0fe85 Runtime translation for 3rd party Nyquist plug-ins
3rd party plug-ins may provide their own translations for runtime
messages (return strings and debug messages).
2018-05-06 17:50:43 +01:00
Steve Daulton 07ca677dc7 Fix for bug 1026 2015-06-19 14:15:59 +01:00
Leland Lucius 9fb0ce5b82 Update Nyquist to v3.09. 2015-04-07 22:10:17 -05:00
v.audacity 614b6b0fee patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=522 (P4) 2012-06-23 01:34:21 +00:00
v.audacity 07fba9768f Apply patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=152. 2012-06-17 00:40:24 +00:00
v.audacity 192c0d9a0a Fix for bug 152 per Steve Daulton's patch (plus some reformatting). 2012-02-13 21:05:40 +00:00
rbdannenberg 467aa5590a Fixed SAL effects so that correct line numbers are reported when an error occurs. 2010-11-02 19:46:19 +00:00
rbdannenberg f2e6d8ec0f Nyquist Effects now treat Nyquist code and output as UTF-8. Nyquist Prompt effect accepts both LISP and SAL (in SAL, either define function main or write return <expression> at the top level). 2010-11-01 03:15:39 +00:00
rbdannenberg f52bafbf05 Removed Windows debugging commands accidentally left in. Play-at-speed should now work on NoteTracks if EXPERIMENTAL_MIDI_OUT is defined. 2010-10-06 04:55:14 +00:00