Re: [Audacity-devel] Setting Nyquist working directory
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Ed M. <edg...@wa...> - 2009-12-08 18:59:12
|
Is someone intentionally changing this (and if so are two people "dueling" unintentionally)? Otherwise, is this some unintentional side effect? Is there any way that Nyquist (and any other plug-in) can use the same folder in which audacity.cfg resides? --Ed From: Steve the Fiddle [mailto:ste...@gm...] Sent: Tuesday, December 08, 2009 10:03 AM To: aud...@li...; Discussion of developing Nyquist plug-ins for Audacity Subject: [Audacity-devel] Setting Nyquist working directory 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 |