Paul Beach wrote: "Can Audacity produce a flexible text file?"
The answer is yes, definitely. See the documentation on the Nyquist functions open, format, read, read-line, and close. To build file names, you need to use the function (strcat string1 string2 ...).
However, there is currently a problem, discussed in many of the most recent posts to this list, of where to write such a file. If it is a temporary file, you can write it into directory *default-sf-dir* or the result of (get-temp-path). If it's a permanent file, there needs to be an extension to Nyquist, such as the (get-env <env-var-name>) proposed by Edgar, which will allow you to point to your home directory.
Happy Holidays, Everyone!
From: paul beach <sniffyraven@fa...> - 2009-12-13 17:46:22
I want use notepad to run short programs. It can (open "test.lsp"), but
I want to open, run and close. There are also examples in the Nyquist
2.37 folder. How do I run these things?
From: Roger Dannenberg <rbd@cs...> - 2009-12-13 18:46:12
I suggest using the Nyquist IDE -- there are some instructions in the
manual (see Chapter "The jNyqIDE Program). To use an editor like
notepad, you have to save the file, run Nyquist from the command line,
and type (to SAL) "load test.lsp" or (to XLISP) "(load "test.lsp")". The
OPEN function is used to read text from a data file -- probably not what
you want. -Roger
paul beach wrote:
> I want use notepad to run short programs. It can (open "test.lsp"), but
> I want to open, run and close. There are also examples in the Nyquist
> 2.37 folder. How do I run these things?
Get latest updates about Open Source Projects, Conferences and News.