Csound Csound-dev Csound-tekno Search About

[Csnd] using directories in Csound

Date2011-12-22 21:42
Fromzappfinger
Subject[Csnd] using directories in Csound
Can you precede a file name with a directory in Csound?

E.g., when I want load a midi file in the options sections, I have to use
something like:

-F  Rock3.mid

But this file has to be in the same directory as my .csd file
What if this file is in another dir (absolute or relative):

-F /midis/Rock3.mid

does not seem to work (or other combinations with escape characters, etc..

Richard

--
View this message in context: http://csound.1045644.n5.nabble.com/using-directories-in-Csound-tp5095730p5095730.html
Sent from the Csound - General mailing list archive at Nabble.com.


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"

Date2011-12-22 22:07
FromVictor Lazzarini
SubjectRe: [Csnd] using directories in Csound
It should work, it does here. eg.

-F /Users/victor/csound/scottyswiss.mid

full path from the root of the disk

-F ../csound/scottyswiss.mid

relative to the CSD location

Victor

On 22 Dec 2011, at 21:42, zappfinger wrote:

> Can you precede a file name with a directory in Csound?
> 
> E.g., when I want load a midi file in the options sections, I have to use
> something like:
> 
> -F  Rock3.mid
> 
> But this file has to be in the same directory as my .csd file
> What if this file is in another dir (absolute or relative):
> 
> -F /midis/Rock3.mid
> 
> does not seem to work (or other combinations with escape characters, etc..
> 
> Richard
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/using-directories-in-Csound-tp5095730p5095730.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> 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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





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"


Date2011-12-22 22:33
Fromzappfinger
Subject[Csnd] Re: using directories in Csound
Ok, I tried ../mydir, that does not work, but ./mydir does work.
I am on OS X, so kind of Unix..

Richard

--
View this message in context: http://csound.1045644.n5.nabble.com/using-directories-in-Csound-tp5095730p5095835.html
Sent from the Csound - General mailing list archive at Nabble.com.


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"

Date2011-12-22 22:51
FromVictor Lazzarini
SubjectRe: [Csnd] Re: using directories in Csound
I am on OSX and both .. and . work (parent and current dir).
On 22 Dec 2011, at 22:33, zappfinger wrote:

> Ok, I tried ../mydir, that does not work, but ./mydir does work.
> I am on OS X, so kind of Unix..
> 
> Richard
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/using-directories-in-Csound-tp5095730p5095835.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> 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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





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"