Missing gran.lsp & Recursive S-Save

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
nyquizzle
Posts: 4
Joined: Tue Oct 05, 2021 6:23 pm
Operating System: GNU/Linux other

Missing gran.lsp & Recursive S-Save

Post by nyquizzle » Tue Oct 05, 2021 8:12 pm

Hi all,

I'm getting Nyquist up and running inside an interactive Emacs buffer and am trying to play all the examples in (nyquist/demos/src) and am having a couple issues.

1) missing gran.lsp
In nyquist/demos/osc-test.lsp, line 18 attempts to load gran.lsp, but returns nil. There is no such file in nyquist/lib or anywhere in my nyquist directory.


2) S-Save
After evaluating everything relating to gran-osc (lines 17-59), I evaluate (play (gran-osc), but get:
error: Recursive call to S-SAVE (or maybe PLAY) detected!

This seems to throw my system for a loop and I have to restart my session after this. The rest of the file (piano-osc and moog-osc) work fine if I restart my session to get rid of the recursive s-save issue. I've also had success running and toying with the examples in nyquist/lib/examples.lsp.

Paul2
Posts: 284
Joined: Wed Sep 04, 2019 1:17 pm
Operating System: macOS 10.15 Catalina or later

Re: Missing gran.lsp & Recursive S-Save

Post by Paul2 » Tue Oct 05, 2021 8:41 pm

Have you looked in:

/usr/share/nyquist/lib

gran.lsp should be in there.

If you still can't find it, you can grab it here:
(Please note that the below is an older, out of date version, left it here in case someone is looking for it.
https://github.com/vijayrudraraju/nyqui ... master/lib

The latest stand-alone version (as per Steve's post below) can be found here:
https://sourceforge.net/projects/nyquist/files/
Last edited by Paul2 on Tue Oct 05, 2021 9:12 pm, edited 1 time in total.

steve
Site Admin
Posts: 82906
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Missing gran.lsp & Recursive S-Save

Post by steve » Tue Oct 05, 2021 9:01 pm

nyquizzle wrote:
Tue Oct 05, 2021 8:12 pm
I'm getting Nyquist up and running inside an interactive Emacs buffer and am trying to play all the examples in (nyquist/demos/src) and am having a couple issues.
Be aware that Audacity's version of Nyquist is a bit different from standalone Nyquist.
A few functions have been left out of the Audacity version, either for security reasons, or because they are not applicable in Audacity.

The latest standalone version of Nyquist is available from Sourceforge: https://sourceforge.net/projects/nyquist/files/
Paul2 wrote:
Tue Oct 05, 2021 8:41 pm
If you still can't find it, you can grab it here:
That's an old and out of date fork.
Learn more about Nyquist programming at audionyq.com

Paul2
Posts: 284
Joined: Wed Sep 04, 2019 1:17 pm
Operating System: macOS 10.15 Catalina or later

Re: Missing gran.lsp & Recursive S-Save

Post by Paul2 » Tue Oct 05, 2021 9:03 pm

That's an old and out of date fork.
Ooops, sorry about that.
Corrected my previous post.

nyquizzle
Posts: 4
Joined: Tue Oct 05, 2021 6:23 pm
Operating System: GNU/Linux other

Re: Missing gran.lsp & Recursive S-Save

Post by nyquizzle » Wed Oct 13, 2021 3:25 pm

steve wrote:
Tue Oct 05, 2021 9:01 pm
nyquizzle wrote:
Tue Oct 05, 2021 8:12 pm
I'm getting Nyquist up and running inside an interactive Emacs buffer and am trying to play all the examples in (nyquist/demos/src) and am having a couple issues.
Be aware that Audacity's version of Nyquist is a bit different from standalone Nyquist.
A few functions have been left out of the Audacity version, either for security reasons, or because they are not applicable in Audacity.

The latest standalone version of Nyquist is available from Sourceforge: https://sourceforge.net/projects/nyquist/files/
Paul2 wrote:
Tue Oct 05, 2021 8:41 pm
If you still can't find it, you can grab it here:
That's an old and out of date fork.
That's where I got it from, the 'lib' folder there is missing a few libraries. I emailed Roger Dannenberg (the guy who made it) and he was very helpful and told me to compile with the IDE and install using the libraries using the package manager.

Post Reply