REQ: R1 MF ("Blue box") Tone Generator

Using Nyquist scripts in Audacity.
Post and download new plug-ins.
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
steve
Site Admin
Posts: 47249
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: REQ: R1 MF ("Blue box") Tone Generator

Post by steve » Tue Nov 21, 2017 12:30 am

mharriger wrote:It was a struggle to keep the parens matched up, good indentation seems like it would help.
Yes, good indentation does help, and it makes the code much easier to read. If you are not already doing so, I'd highly recommend using a text editor that has parentheses matching. On Windows, NotePad++ is good. On Linux I use Scite. On Mac, I don't know. NotePad++ and Scite also have syntax highlighting for LISP, which although not quite the same as Nyquist, has enough in common to be useful.

Here's a screenshot of some Nyquist code in Scite text editor. Note the red ")" indicating that it is mismatched, and the color of (some) keywords, quoted strings and comments:
scite.png
scite.png (53.41 KiB) Viewed 516 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply