[Csnd] default dir for udos
Date | 2012-12-21 11:31 |
From | Stefan Thomas |
Subject | [Csnd] default dir for udos |
Dear community, is it possible to include automatically a specific folder (with some udos) in a csd-file? |
Date | 2012-12-21 11:50 |
From | Adam Puckett |
Subject | Re: [Csnd] default dir for udos |
You can set INCDIR to a directory, and then put your UDO file(s) in it and #include it/them. So if INCDIR=c:\csound\includes, you would set INCDIR to that directory, and then #include "c:\csound\includes\opcode_file_here" It's a hack, but it's the only way I know. On 12/21/12, Stefan Thomas |
Date | 2012-12-21 11:56 |
From | Stefan Thomas |
Subject | Re: [Csnd] default dir for udos |
Is INCDIR a csound.option or should it be part of csoundrc? 2012/12/21 Adam Puckett <adotsdothmusic@gmail.com> You can set INCDIR to a directory, and then put your UDO file(s) in it |
Date | 2012-12-21 12:03 |
From | Stefan Thomas |
Subject | Re: [Csnd] default dir for udos |
And I would like to ask: where should I save the .csoundrc on Windows? On linux OS I would save it in the home dirextory, right? 2012/12/21 Adam Puckett <adotsdothmusic@gmail.com> You can set INCDIR to a directory, and then put your UDO file(s) in it |
Date | 2012-12-21 15:05 |
From | Alex AB |
Subject | Re: [Csnd] default dir for udos |
I usually save my .csoundrc in the same directory as the .csd file. I also have a generic .csoundrc in ~/ that gets used when the .csd hasn't got it's own directory.The manual explains where and in what order csound searches for the file. http://www.csounds.com/manual/html/CommandUnifileParFile.html On 21 December 2012 13:03, Stefan Thomas <kontrapunktstefan@gmail.com> wrote: And I would like to ask: |
Date | 2012-12-21 15:25 |
From | Stefan Thomas |
Subject | Re: [Csnd] default dir for udos |
Is there a equivalent folder to ~/ in windows? 2012/12/21 Alex AB <mecagonoisician@gmail.com>
|
Date | 2012-12-21 15:46 |
From | Alex AB |
Subject | Re: [Csnd] default dir for udos |
I don't think there's any equivalent to the home directory in windows. If you want a generic .csoundrc for all you .csd files, you should set the CSOUNDRC environment variable to whatever folder is convenient for you.http://www.csounds.com/manual/html/CommandEnvironment.html control panel/system On 21 December 2012 16:25, Stefan Thomas <kontrapunktstefan@gmail.com> wrote: Is there a equivalent folder to ~/ in windows? |