I've eagerly been awaiting the Audacity 1.3.8 release with the major rework of the Nyquist part. The outcome has been rather disappointing.
1) The (listdir "directoryname") function always returns NIL. I was hoping to use that to improve the user interface to a complex plug-in I'm working on, a script-driven signal generator.
2) When I run the (s-add-to sound max-samples "file-name"...) function when adding a mono sound to a mono file, it works OK, but fails when both are stereo files.
Apparently the (snd-coterm) function won't handle stereo sounds: it gets a "bad argument type" message from SND-COTERM. However, the 3.03 Nyquist docs say that this should work with stereo sounds. BTW, this also fails on standalone Nyquist.
3) The s-overwrite macro has multiple problems. The first is a "compiler" problem: when you run it with debug, it reports that TIME-OFFSET is an unbound variable. Looking at the code, this is basically just a typo, a missing ',' before TIME-OFFSET. If I fix that, it returns a "bad argument type" message from snd-overwrite. This happens with both mono and stereo sounds/files.
The same errors happen when running s-overwrite with stand-alone Nyquist. The s-overwrite function there has the same typo.
s-add-to and s-overwrite are defined in fileio.lsp.
What are the chances of any of these being fixed before the next stable release?
On the plus side, s-save now works, as does setdir.
I'm running WinXP SP3.
Dave
------------------------------------------------------------------------------
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist