Csound Csound-dev Csound-tekno Search About

[Csnd] default dir for udos

Date2012-12-21 11:31
FromStefan 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?

Date2012-12-21 11:50
FromAdam Puckett
SubjectRe: [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  wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>

Date2012-12-21 11:56
FromStefan Thomas
SubjectRe: [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
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 <kontrapunktstefan@gmail.com> wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-12-21 12:03
FromStefan Thomas
SubjectRe: [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
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 <kontrapunktstefan@gmail.com> wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-12-21 15:05
FromAlex AB
SubjectRe: [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.

Last time I used windows, I think I also had the .csoundrc in the same folder as the .csd.

The manual explains where and in what order csound searches for the file.
http://www.csounds.com/manual/html/CommandUnifileParFile.html

Alexandre


On 21 December 2012 13:03, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
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
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 <kontrapunktstefan@gmail.com> wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2012-12-21 15:25
FromStefan Thomas
SubjectRe: [Csnd] default dir for udos
Is there a equivalent folder to ~/ in windows?

2012/12/21 Alex AB <mecagonoisician@gmail.com>
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.

Last time I used windows, I think I also had the .csoundrc in the same folder as the .csd.

The manual explains where and in what order csound searches for the file.
http://www.csounds.com/manual/html/CommandUnifileParFile.html

Alexandre


On 21 December 2012 13:03, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
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
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 <kontrapunktstefan@gmail.com> wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2012-12-21 15:46
FromAlex AB
SubjectRe: [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

You can find environment variables in windows in one of the tabs of:
control panel/system

I have no idea whether the windows installer sets this variable or not, but by looking at how the others are written, it should be relatively easy for you to create it if you need to.
If it is indeed already set by the installer, then you will know where to store your .csoundrc.

Alexandre


On 21 December 2012 16:25, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
Is there a equivalent folder to ~/ in windows?


2012/12/21 Alex AB <mecagonoisician@gmail.com>
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.

Last time I used windows, I think I also had the .csoundrc in the same folder as the .csd.

The manual explains where and in what order csound searches for the file.
http://www.csounds.com/manual/html/CommandUnifileParFile.html

Alexandre


On 21 December 2012 13:03, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
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
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 <kontrapunktstefan@gmail.com> wrote:
> Dear community,
> is it possible to include automatically a specific folder (with some udos)
> in a csd-file?
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"