Nyquist questions?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Nyquist questions?

Wes Morrison
I've been searching for a forum dedicated to Nyquist. This is the only one I've found. That's cool, I'm learning to use Audacity, too, but can I ask questions about how to acomplish something in Nyquist alone? Or is this forum only for how to use .ny plugins in Audacity?

I'm trying to accomplish something like Casio's "phase distortion", that is, alter the rate at which a wavetable is read mid-table. Should I be looking at warp or is that only for tempo changes?

I have written a batch file to run a .lsp file or .sal file and then exit Nyquist. (At a command prompt, not jNyqIDE.) If this would be useful to anyone, let me know. I couldn't find any command line switches to do this. If I wasted my time please let me know what the options are. :)
Reply | Threaded
Open this post in threaded view
|

Re: Nyquist questions?

edgar-rft
Wes Morrison wrote:

> I've been searching for a forum dedicated to Nyquist. This is the only one
> I've found. That's cool, I'm learning to use Audacity, too, but can I ask
> questions about how to acomplish something in Nyquist alone? Or is this
> forum only for how to use .ny plugins in Audacity?

There is a explicit Nyquist users list at the homepage of the SF Nyquist
project:

[hidden email]

but you're also welcome here of course.

The problem is that Audacity (still) is based on Nyquist 2.29 and doesn't
understand the SAL notation from the Nyquist 3.x reference manual so
I think that there will be nobody on this list (exept Roger Dannenberg)
who has real experience with SAL.

> I'm trying to accomplish something like Casio's "phase distortion", that is,
> alter the rate at which a wavetable is read mid-table. Should I be looking
> at warp or is that only for tempo changes?

Warp is mainly responsible for tempo changes, while the rest I have to
look up myself in the Nyquist manuals but AFAIK in Nyquist a wavetable
can be transformed into an ordinary sound and back again so in principle
a wavetable can be altered by any of the ordinary sound functions too
(better explanation still to come...)

> I have written a batch file to run a .lsp file or .sal file and then exit
> Nyquist. (At a command prompt, not jNyqIDE.) If this would be useful to
> anyone, let me know. I couldn't find any command line switches to do this.
> If I wasted my time please let me know what the options are. :)

I usually write:

command_prompt> nyquist FILENAME

and nyquist loads its runtime environment, then load and executes the file
named FILENAME and exits.

- edgar





--
The author of this email does not necessarily endorse the
following advertisements, which are the sole responsibility
of the advertiser:

_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist
Reply | Threaded
Open this post in threaded view
|

Re: Nyquist questions?

Wes Morrison
Thanks for the reply.

edgar-rft wrote
I usually write:

command_prompt> nyquist FILENAME

and nyquist loads its runtime environment, then load and executes the file
named FILENAME and exits.
That's the first thing I tried, but it never exits. Just stops at the Nyquist prompt. I'm using version 3.01 in Windows.

Oh, that is, unless I have included "(exit)" on the last line of the lsp file. Do you have to do that?

And it doesn't run .sal files that way. I'll attach my batch file in case it's useful to someone. It simply exits if it can't find the file. I didn't spend time "prettifying" it with error messages, but there are comments.
ny.bat
Reply | Threaded
Open this post in threaded view
|

Re: Nyquist questions?

zencuke
In reply to this post by edgar-rft
I asked Roger the same question a couple of months ago and he said that this is the only place there is any Nyquist traffic and suggested I post general nyquist questions here. That's why I joined. Roger is on this list so he can answer questions specific to the newer versions.

I find it easy to map issues between xlisp and sal especially because xlisp does all the actual work (the sal parser translates to xlisp syntax and executes that) so I suspect that many people here can answer questions people have about the nyquist standalone. Appearances to the contrary nyquist with sal is still the familiar xlisp based nyquist with a new optional language interface layer. Sal uses xlisp data types although it declares them differently. The sal interface layer is quite thin. The contrary appearances come from a totally re-written users manual which makes the change seem bigger than it is. If you set preferences to default sal off and used the old manual you would have a hard time telling the difference.

While sal is quite new there are a few of us using it. I could field simpler sal questions. At least I can translate sal to xlisp in the off case that the equivalent issue in xlisp is not obvious.

I think nyquist is too specialized a subject to be able to support multiple users groups so I hope the plugin writers here don't mind the occasional standalone nyquist question. I'd rather consider that the audacity project is supporting a a general nyquist forum because of its interest in supporting nyquist plugins. Even for plugins I find that it it often easier to do algorithm development in nyquest and then port that work to a plugin, especially now when I find so many problems with the Audacity Intel Mac versions.

On Sun, Mar 16, 2008 at 11:09 PM, <[hidden email]> wrote:
Wes Morrison wrote:

> I've been searching for a forum dedicated to Nyquist. This is the only one
> I've found. That's cool, I'm learning to use Audacity, too, but can I ask
> questions about how to acomplish something in Nyquist alone? Or is this
> forum only for how to use .ny plugins in Audacity?

There is a explicit Nyquist users list at the homepage of the SF Nyquist
project:

[hidden email]

but you're also welcome here of course.

The problem is that Audacity (still) is based on Nyquist 2.29 and doesn't
understand the SAL notation from the Nyquist 3.x reference manual so
I think that there will be nobody on this list (exept Roger Dannenberg)
who has real experience with SAL.

> I'm trying to accomplish something like Casio's "phase distortion", that is,
> alter the rate at which a wavetable is read mid-table. Should I be looking
> at warp or is that only for tempo changes?

Warp is mainly responsible for tempo changes, while the rest I have to
look up myself in the Nyquist manuals but AFAIK in Nyquist a wavetable
can be transformed into an ordinary sound and back again so in principle
a wavetable can be altered by any of the ordinary sound functions too
(better explanation still to come...)

> I have written a batch file to run a .lsp file or .sal file and then exit
> Nyquist. (At a command prompt, not jNyqIDE.) If this would be useful to
> anyone, let me know. I couldn't find any command line switches to do this.
> If I wasted my time please let me know what the options are. :)

I usually write:

command_prompt> nyquist FILENAME

and nyquist loads its runtime environment, then load and executes the file
named FILENAME and exits.

- edgar





--
The author of this email does not necessarily endorse the
following advertisements, which are the sole responsibility
of the advertiser:

_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist



--
Steve Morris
[hidden email]
Bass: Unnamed quintet
Bass: Sounds Of Concord

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist