[Audacity-nyquist] Setting Nyquist working directory
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Steve t. F. <ste...@gm...> - 2009-12-08 18:03:23
|
There appears to be regular shifting in several aspects related to the Nyquist working directory. Audacity 1.3.9 beta - the Nyquist working directory (setdir ".") is the modules folder. Audacity 1.3.10 alpha - the Nyquist working directory is the Audacity program folder. Audacity 1.3.10 beta - it is the modules directory again. On Windows (XP); Audacity 1.3.8 - the Nyquist working directory could be set by setting the "Start in" option in a shortcut (link) to audacity.exe (perhaps not the best way of setting it, but a useful and convenient method). Audacity 1.3.9 - The Nyquist working directory is the modules directory irrespective of the "Start In" option. Audacity versions 1.3.10 alpha after Nov 11 - Nyquist will again take its working directory from the "Start In" Audacity 1.3.10 - back to the 1.3.9 behaviour. This is currently undocumented and raises several problems for writing plug-ins that need to read/write files. A question that follows from this: If a plug-in needs to write data to a file so that it can be accessed at a later time (different session), what is the recommended location? Given the limitations in Nyquist accessing paths (full path names work), and the differences between operating systems, what is the recommended way to access a suitable directory for writing files? It is easy enough for "advanced" users to edit their init.lsp file, but not good for casual users. Steve D |