Csound Csound-dev Csound-tekno Search About

[Csnd] system_i on different operating systems

Date2014-06-03 18:22
Fromallears62
Subject[Csnd] system_i on different operating systems
Hi Guys,

I'm currently trying tidy up a set of tools used in my university and make
them all cross platform however I'm having issues when the tools use the
system_i opcode. This is the code I'm using:

ires system_i 1, {{ 
	csound -U pvanal -n 4096 -w 4 -c 1 "" "templeft.pvx"
        }}


ires system_i 1, {{
	csound -U pvanal -n 4096 -w 4 -c 2 "" "tempright.pvx"
   	}}


which runs absolutely fine on Linux (Ubuntu 12.04 i think) and Windows (7)
however on OSX Mavericks I'm having no luck. I've run the command line
section in Terminal and this worked. I'm using Blue and this is the csound
dialog output:

SECTION 1:
new alloc for instr 1:
sh: line 1: csound: command not found
sh: line 1: csound: command not found
INIT ERROR in instr 1: pvsdiskin: could not open file templeft.pvx

fsig1	pvsdiskin	"templeft.pvx"	gk_blue_auto3	1	0	1	1	
INIT ERROR in instr 1: pvsdiskin: could not open file tempright.pvx

fsig2	pvsdiskin	"tempright.pvx"	gk_blue_auto3	1	0	1	1	


Thanks in advance!

Alex



--
View this message in context: http://csound.1045644.n5.nabble.com/system-i-on-different-operating-systems-tp5735692.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-06-03 19:26
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re:
AttachmentsNone  

Date2014-06-03 19:50
FromVictor Lazzarini
SubjectRe: [Csnd]
Try 

/usr/local/bin/csound


========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Jun 2014, at 19:26, jpff@cs.bath.ac.uk wrote:

> Looks like a current directory issue.  Does it work OK with full pathnames?
> 
> Quoting allears62 :
> 
>> Hi Guys,
>> 
>> I'm currently trying tidy up a set of tools used in my university and make
>> them all cross platform however I'm having issues when the tools use the
>> system_i opcode. This is the code I'm using:
>> 
>> ires system_i 1, {{
>> 	csound -U pvanal -n 4096 -w 4 -c 1 "" "templeft.pvx"
>>        }}
>> 
>> 
>> ires system_i 1, {{
>> 	csound -U pvanal -n 4096 -w 4 -c 2 "" "tempright.pvx"
>>   	}}
>> 
>> 
>> which runs absolutely fine on Linux (Ubuntu 12.04 i think) and Windows (7)
>> however on OSX Mavericks I'm having no luck. I've run the command line
>> section in Terminal and this worked. I'm using Blue and this is the csound
>> dialog output:
>> 
>> SECTION 1:
>> new alloc for instr 1:
>> sh: line 1: csound: command not found
>> sh: line 1: csound: command not found
>> INIT ERROR in instr 1: pvsdiskin: could not open file templeft.pvx
>> 
>> fsig1	pvsdiskin	"templeft.pvx"	gk_blue_auto3	1	0	1	1
>> INIT ERROR in instr 1: pvsdiskin: could not open file tempright.pvx
>> 
>> fsig2	pvsdiskin	"tempright.pvx"	gk_blue_auto3	1	0	1	1
>> 
>> 
>> Thanks in advance!
>> 
>> Alex
>> 
> 
> 
> 
> 
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-06-03 21:17
Fromallears62
Subject[Csnd] Re: system_i on different operating systems
Jpff-

I've tried full file paths to no avail.

Victor-

I'm not sure I understand where I would need to put this? i have both a
csound and a csound64 unix exec in my /usr/local/bin/ and have blue pointed
to them as a csound executable? 

Thanks you both for your advice!

I have however ascertained that the OSX is running csound 6.03.2 whereas
both ubunut and windows are running versions of csound 5. Could this be the
issue?

thanks again!

Alex



--
View this message in context: http://csound.1045644.n5.nabble.com/system-i-on-different-operating-systems-tp5735692p5735696.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-06-03 21:21
FromVictor Lazzarini
SubjectRe: [Csnd] system_i on different operating systems
I meant this

ires system_i 1, {{ 
	/usr/local/bin/csound -U pvanal -n 4096 -w 4 -c 1 "" "templeft.pvx"
       }}


========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Jun 2014, at 21:17, allears62  wrote:

> Jpff-
> 
> I've tried full file paths to no avail.
> 
> Victor-
> 
> I'm not sure I understand where I would need to put this? i have both a
> csound and a csound64 unix exec in my /usr/local/bin/ and have blue pointed
> to them as a csound executable? 
> 
> Thanks you both for your advice!
> 
> I have however ascertained that the OSX is running csound 6.03.2 whereas
> both ubunut and windows are running versions of csound 5. Could this be the
> issue?
> 
> thanks again!
> 
> Alex
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/system-i-on-different-operating-systems-tp5735692p5735696.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-06-04 12:11
Fromallears62
Subject[Csnd] Re: system_i on different operating systems
That works! Fantastic! Thank you!



--
View this message in context: http://csound.1045644.n5.nabble.com/system-i-on-different-operating-systems-tp5735692p5735698.html
Sent from the Csound - General mailing list archive at Nabble.com.