I sometimes doubt that sufficient improvements to Nyquist will happen within the next few decades.
I would expect Feature Requests for a full Append Import feature will grow as a result of the Align End to End feature (useful as that is in its own right).
Tell me about it, :sigh: though most of the limitations do not come from Nyquist itself, but from the primitive interface provided by Audacity.
A “full Append Import feature” could certainly be useful.
I’d imagine that much of the demand will come from people wanting to stitch together broken projects (weird that I’ve never needed to do that).
It’s working fine here with revision 13651, and I’m not aware of any recent changes relating to that. FILE-SEPARATOR is defined in Nyquist, not in the plug-in or even in the Audacity code.
Use Case: User wants all the “songs” on a classical CD to become a single “song” - a complete symphony say - so that when played on iPod shuffle you don’t get disjointed brief segments of the work ( the Classic FM effect … ).
Thanks for seeing that. Yes, there have been problems after the transition to VS2013 with some plugins and MO files not getting copied to the build folder. This is another issue - system.lsp is not copied from the source tree when building Audacity. For the build on the 26th I used the contents of the build folder instead of the source tree content. I’ll take a look.
However Sample Data Export still doesn’t work in HEAD with system.lsp added back. Here is the updated debug output:
error: bad argument type - NIL
Function: #<Subr-STRCAT: #3fd1ca8>
Arguments:
NIL
"/"
Function: #<Closure-FILEWRITER: #3f80640>
1> sample-data 2 channels (stereo)
Left channel then Right channel on same line.
Sample Rate: 44100 Hz. Sample values on dB scale.
Length processed: 100 samples 0.00227 seconds.
error: unbound variable - FP
if continued: try evaluating symbol again
Function: #<FSubr-CASE: #3fd2a58>
Arguments:
HEADER
(0 (FORMAT T (NORMHEAD)) (FORMAT FP (NOHEAD)))
(1 (FORMAT T (NORMHEAD)) (FORMAT FP (MINHEAD)))
(2 (FORMAT T (NORMHEAD)) (FORMAT FP (NORMHEAD)))
(3 (FORMAT T (NORMHEAD)) (FORMAT FP (FULLHEAD)))
Function: #<Closure-PRINTDATA: #3f860e0>
Function: #<FSubr-IF: #3fd2918>
Arguments:
(= FILEFORMAT 4)
(PRINTHTML)
(PRINTDATA)
Function: #<FSubr-PROGN: #3fd27d8>
Arguments:
(PUT-HEAD-INFO)
(IF (= FILEFORMAT 4) (PRINTHTML) (PRINTDATA))
Function: #<FSubr-IF: #3fd2918>
Arguments:
(> (LENGTH ERR) 0)
(IF (= MESSAGES 2) (S-REST 0) (FORMAT NIL "Error.~%~a" ERR))
(PROGN (PUT-HEAD-INFO) (IF (= FILEFORMAT 4) (PRINTHTML) (PRINTDATA)))
Function: #<Subr-STRCAT: #3fd1ca8>
Arguments:
NIL
"/"
Function: #<Closure-FILEWRITER: #3f80640>
2> 1>
There is no problem on a 7 November build which I still happen to have, but builds from 22 November and 23 November also fail with Append Import.
After adding back system.lsp, Version 3 and version 4 output for the following in Nyquist Prompt
Well there is clearly something more that is broken on Windows (Sample Data Export works here).
Unfortunately there’s not such a good clue in the error this time as to where the problem lies, and as I don’t see the problem on Linux I can’t easily troubleshoot it.
It’s the system file for Linux and not the one for Windows.
This does probably also apply to the Mac.
However, I don’t know where this replacement should happen during the build.
It seems that using lib-srclibnyquistnyquistsyswinmsvcsystem.lsp solves the problems with Append Import, Sample Data Export and file separator.
According to Audacity.xcodeproj, nyquist/system.lsp is used on Mac (same as on Linux). Append Import, Sample Data Export and file separator (/) seem to work correctly on Mac.
Hello! It seems plugin doesn’t work with Audacity 2.3.2 on windows 7. No way to enter path to Import Folder. In Audacity 2.2.2 it works as expected.
This is how Append Import window looks in 2.3.2:
This plug-in should really be updated to a “version 4” plug-in, but in the meantime, here’s a version that should work in all 2.x versions of Audacity: AppendImport.ny (9.68 KB)