Csound Csound-dev Csound-tekno Search About

[Csnd] csLADSPA and the system_i command

Date2010-08-20 03:31
FromPeiman Khosravi
Subject[Csnd] csLADSPA and the system_i command
Hello,

How come running this csd as plug-in in audacity will open safari (using the system_i opcode) but in Ardour it only functions as a gain plug-in?

Thanks in advance

Peiman 




Name=  Gain Plugin Mono
Maker=  John Doe
UniqueID=  10542323234
Copyright=GNU
ControlPort=  Gain |  gain
Range=0|2




sr = 44100
ksmps = 64
nchnls = 1  

instr 1



ires system_i 1, {{
		open -a safari
		}}

kGain chnget "gain"
	ainL inch 1
	out ainL*kGain 
endin
        


i1 0 3600


Date2010-08-20 09:13
FromVictor Lazzarini
Subject[Csnd] Re: csLADSPA and the system_i command
Good question!
On 20 Aug 2010, at 03:31, Peiman Khosravi wrote:

> Hello,
>
> How come running this csd as plug-in in audacity will open safari  
> (using the system_i opcode) but in Ardour it only functions as a  
> gain plug-in?
>
> Thanks in advance
>
> Peiman
>
>
>
> 
> Name=  Gain Plugin Mono
> Maker=  John Doe
> UniqueID=  10542323234
> Copyright=GNU
> ControlPort=  Gain |  gain
> Range=0|2
> 
> 
> 
>
> sr = 44100
> ksmps = 64
> nchnls = 1
>
> instr 1
>
>
>
> ires system_i 1, {{
> 		open -a safari
> 		}}
>
> kGain chnget "gain"
> 	ainL inch 1
> 	out ainL*kGain
> endin
>
> 
> 
> i1 0 3600
> 
> 
> 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"

Date2010-08-20 17:57
FromPINOT Francois
Subject[Csnd] Re: csLADSPA and the system_i command
Here on linux, changing the system_i text of the csd to {{ firefox }}, 
it opens firefox both from audacity and from ardour (ubuntu 10.4, csound 
5.12 built from cvs, audacity and ardour installed from ubuntu packages).

Regards

Francois


Le 20/08/2010 04:31, Peiman Khosravi a écrit :
> Hello,
>
> How come running this csd as plug-in in audacity will open safari (using the system_i opcode) but in Ardour it only functions as a gain plug-in?
>
> Thanks in advance
>
> Peiman
>
>
>
> 
> Name=  Gain Plugin Mono
> Maker=  John Doe
> UniqueID=  10542323234
> Copyright=GNU
> ControlPort=  Gain |  gain
> Range=0|2
> 
> 
> 
>
> sr = 44100
> ksmps = 64
> nchnls = 1
>
> instr 1
>
>
>
> ires system_i 1, {{
> 		open -a safari
> 		}}
>
> kGain chnget "gain"
> 	ainL inch 1
> 	out ainL*kGain
> endin
>
> 
> 
> i1 0 3600
> 
> 
> 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"

Date2010-08-20 19:16
FromPeiman Khosravi
Subject[Csnd] Re: Re: csLADSPA and the system_i command
Thanks,

I have tried changing the application name but still doesn't work.

Doing further tests this is the error I get in the Console:

20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS level = 32768.0
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch now loaded
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio buffered in 1024 sample-frame blocks
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not writing to sound disk
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	SECTION 1:
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found

It seems that Ardour is not interpreting the system commands. I can't think why.

P  

 

On 20 Aug 2010, at 17:57, PINOT Francois wrote:

> Here on linux, changing the system_i text of the csd to {{ firefox }}, it opens firefox both from audacity and from ardour (ubuntu 10.4, csound 5.12 built from cvs, audacity and ardour installed from ubuntu packages).
> 
> Regards
> 
> Francois
> 
> 
> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>> Hello,
>> 
>> How come running this csd as plug-in in audacity will open safari (using the system_i opcode) but in Ardour it only functions as a gain plug-in?
>> 
>> Thanks in advance
>> 
>> Peiman
>> 
>> 
>> 
>> 
>> Name=  Gain Plugin Mono
>> Maker=  John Doe
>> UniqueID=  10542323234
>> Copyright=GNU
>> ControlPort=  Gain |  gain
>> Range=0|2
>> 
>> 
>> 
>> 
>> sr = 44100
>> ksmps = 64
>> nchnls = 1
>> 
>> instr 1
>> 
>> 
>> 
>> ires system_i 1, {{
>> 		open -a safari
>> 		}}
>> 
>> kGain chnget "gain"
>> 	ainL inch 1
>> 	out ainL*kGain
>> endin
>> 
>> 
>> 
>> i1 0 3600
>> 
>> > 
>> 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"
> 



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"


Date2010-08-20 19:39
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: csLADSPA and the system_i command
ah, shouldn't you give system_i the full path to the command? I don't  
think PATH is taken into consideration.

Victor

On 20 Aug 2010, at 19:16, Peiman Khosravi wrote:

> Thanks,
>
> I have tried changing the application name but still doesn't work.
>
> Doing further tests this is the error I get in the Console:
>
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS  
> level = 32768.0
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch now  
> loaded
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio  
> buffered in 1024 sample-frame blocks
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not  
> writing to sound disk
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	SECTION 1:
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
> alloc for instr 1:
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line  
> 1: open: command not found
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
> alloc for instr 1:
> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line  
> 1: open: command not found
>
> It seems that Ardour is not interpreting the system commands. I  
> can't think why.
>
> P
>
>
>
> On 20 Aug 2010, at 17:57, PINOT Francois wrote:
>
>> Here on linux, changing the system_i text of the csd to  
>> {{ firefox }}, it opens firefox both from audacity and from ardour  
>> (ubuntu 10.4, csound 5.12 built from cvs, audacity and ardour  
>> installed from ubuntu packages).
>>
>> Regards
>>
>> Francois
>>
>>
>> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>>> Hello,
>>>
>>> How come running this csd as plug-in in audacity will open safari  
>>> (using the system_i opcode) but in Ardour it only functions as a  
>>> gain plug-in?
>>>
>>> Thanks in advance
>>>
>>> Peiman
>>>
>>>
>>>
>>> 
>>> Name=  Gain Plugin Mono
>>> Maker=  John Doe
>>> UniqueID=  10542323234
>>> Copyright=GNU
>>> ControlPort=  Gain |  gain
>>> Range=0|2
>>> 
>>> 
>>> 
>>>
>>> sr = 44100
>>> ksmps = 64
>>> nchnls = 1
>>>
>>> instr 1
>>>
>>>
>>>
>>> ires system_i 1, {{
>>> 		open -a safari
>>> 		}}
>>>
>>> kGain chnget "gain"
>>> 	ainL inch 1
>>> 	out ainL*kGain
>>> endin
>>>
>>> 
>>> 
>>> i1 0 3600
>>> 
>>> >>
>>> 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"
>>
>
>
>
> 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"


Date2010-08-20 19:40
FromPeiman Khosravi
Subject[Csnd] Re: Re: Re: Re: csLADSPA and the system_i command
I see. Makes sense. But what is the path for open? It's not in /bin/ as I expected it to be.

Thanks

Peiman

On 20 Aug 2010, at 19:39, Victor Lazzarini wrote:

> ah, shouldn't you give system_i the full path to the command? I don't think PATH is taken into consideration.
> 
> Victor
> 
> On 20 Aug 2010, at 19:16, Peiman Khosravi wrote:
> 
>> Thanks,
>> 
>> I have tried changing the application name but still doesn't work.
>> 
>> Doing further tests this is the error I get in the Console:
>> 
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS level = 32768.0
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch now loaded
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio buffered in 1024 sample-frame blocks
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not writing to sound disk
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	SECTION 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found
>> 
>> It seems that Ardour is not interpreting the system commands. I can't think why.
>> 
>> P
>> 
>> 
>> 
>> On 20 Aug 2010, at 17:57, PINOT Francois wrote:
>> 
>>> Here on linux, changing the system_i text of the csd to {{ firefox }}, it opens firefox both from audacity and from ardour (ubuntu 10.4, csound 5.12 built from cvs, audacity and ardour installed from ubuntu packages).
>>> 
>>> Regards
>>> 
>>> Francois
>>> 
>>> 
>>> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>>>> Hello,
>>>> 
>>>> How come running this csd as plug-in in audacity will open safari (using the system_i opcode) but in Ardour it only functions as a gain plug-in?
>>>> 
>>>> Thanks in advance
>>>> 
>>>> Peiman
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Name=  Gain Plugin Mono
>>>> Maker=  John Doe
>>>> UniqueID=  10542323234
>>>> Copyright=GNU
>>>> ControlPort=  Gain |  gain
>>>> Range=0|2
>>>> 
>>>> 
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 64
>>>> nchnls = 1
>>>> 
>>>> instr 1
>>>> 
>>>> 
>>>> 
>>>> ires system_i 1, {{
>>>> 		open -a safari
>>>> 		}}
>>>> 
>>>> kGain chnget "gain"
>>>> 	ainL inch 1
>>>> 	out ainL*kGain
>>>> endin
>>>> 
>>>> 
>>>> 
>>>> i1 0 3600
>>>> 
>>>> >>> 
>>>> 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"
>>> 
>> 
>> 
>> 
>> 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"
> 



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"


Date2010-08-20 19:47
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: csLADSPA and the system_i command
I mean

/usr/bin/open  safari

Victor
On 20 Aug 2010, at 19:39, Victor Lazzarini wrote:

> ah, shouldn't you give system_i the full path to the command? I  
> don't think PATH is taken into consideration.
>
> Victor
>
> On 20 Aug 2010, at 19:16, Peiman Khosravi wrote:
>
>> Thanks,
>>
>> I have tried changing the application name but still doesn't work.
>>
>> Doing further tests this is the error I get in the Console:
>>
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS  
>> level = 32768.0
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch  
>> now loaded
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio  
>> buffered in 1024 sample-frame blocks
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not  
>> writing to sound disk
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	SECTION  
>> 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
>> alloc for instr 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh:  
>> line 1: open: command not found
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
>> alloc for instr 1:
>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh:  
>> line 1: open: command not found
>>
>> It seems that Ardour is not interpreting the system commands. I  
>> can't think why.
>>
>> P
>>
>>
>>
>> On 20 Aug 2010, at 17:57, PINOT Francois wrote:
>>
>>> Here on linux, changing the system_i text of the csd to  
>>> {{ firefox }}, it opens firefox both from audacity and from ardour  
>>> (ubuntu 10.4, csound 5.12 built from cvs, audacity and ardour  
>>> installed from ubuntu packages).
>>>
>>> Regards
>>>
>>> Francois
>>>
>>>
>>> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>>>> Hello,
>>>>
>>>> How come running this csd as plug-in in audacity will open safari  
>>>> (using the system_i opcode) but in Ardour it only functions as a  
>>>> gain plug-in?
>>>>
>>>> Thanks in advance
>>>>
>>>> Peiman
>>>>
>>>>
>>>>
>>>> 
>>>> Name=  Gain Plugin Mono
>>>> Maker=  John Doe
>>>> UniqueID=  10542323234
>>>> Copyright=GNU
>>>> ControlPort=  Gain |  gain
>>>> Range=0|2
>>>> 
>>>> 
>>>> 
>>>>
>>>> sr = 44100
>>>> ksmps = 64
>>>> nchnls = 1
>>>>
>>>> instr 1
>>>>
>>>>
>>>>
>>>> ires system_i 1, {{
>>>> 		open -a safari
>>>> 		}}
>>>>
>>>> kGain chnget "gain"
>>>> 	ainL inch 1
>>>> 	out ainL*kGain
>>>> endin
>>>>
>>>> 
>>>> 
>>>> i1 0 3600
>>>> 
>>>> >>>
>>>> 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"
>>>
>>
>>
>>
>> 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"
>



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"


Date2010-08-20 19:47
FromVictor Lazzarini
Subject[Csnd] Re: Re: Re: Re: Re: csLADSPA and the system_i command
Btw, to find a command file, type

which command


On 20 Aug 2010, at 19:40, Peiman Khosravi wrote:

> I see. Makes sense. But what is the path for open? It's not in /bin/  
> as I expected it to be.
>
> Thanks
>
> Peiman
>
> On 20 Aug 2010, at 19:39, Victor Lazzarini wrote:
>
>> ah, shouldn't you give system_i the full path to the command? I  
>> don't think PATH is taken into consideration.
>>
>> Victor
>>
>> On 20 Aug 2010, at 19:16, Peiman Khosravi wrote:
>>
>>> Thanks,
>>>
>>> I have tried changing the application name but still doesn't work.
>>>
>>> Doing further tests this is the error I get in the Console:
>>>
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS  
>>> level = 32768.0
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch  
>>> now loaded
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio  
>>> buffered in 1024 sample-frame blocks
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not  
>>> writing to sound disk
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	 
>>> SECTION 1:
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
>>> alloc for instr 1:
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh:  
>>> line 1: open: command not found
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new  
>>> alloc for instr 1:
>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh:  
>>> line 1: open: command not found
>>>
>>> It seems that Ardour is not interpreting the system commands. I  
>>> can't think why.
>>>
>>> P
>>>
>>>
>>>
>>> On 20 Aug 2010, at 17:57, PINOT Francois wrote:
>>>
>>>> Here on linux, changing the system_i text of the csd to  
>>>> {{ firefox }}, it opens firefox both from audacity and from  
>>>> ardour (ubuntu 10.4, csound 5.12 built from cvs, audacity and  
>>>> ardour installed from ubuntu packages).
>>>>
>>>> Regards
>>>>
>>>> Francois
>>>>
>>>>
>>>> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>>>>> Hello,
>>>>>
>>>>> How come running this csd as plug-in in audacity will open  
>>>>> safari (using the system_i opcode) but in Ardour it only  
>>>>> functions as a gain plug-in?
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>> Peiman
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>> Name=  Gain Plugin Mono
>>>>> Maker=  John Doe
>>>>> UniqueID=  10542323234
>>>>> Copyright=GNU
>>>>> ControlPort=  Gain |  gain
>>>>> Range=0|2
>>>>> 
>>>>> 
>>>>> 
>>>>>
>>>>> sr = 44100
>>>>> ksmps = 64
>>>>> nchnls = 1
>>>>>
>>>>> instr 1
>>>>>
>>>>>
>>>>>
>>>>> ires system_i 1, {{
>>>>> 		open -a safari
>>>>> 		}}
>>>>>
>>>>> kGain chnget "gain"
>>>>> 	ainL inch 1
>>>>> 	out ainL*kGain
>>>>> endin
>>>>>
>>>>> 
>>>>> 
>>>>> i1 0 3600
>>>>> 
>>>>> >>>>
>>>>> 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"
>>>>
>>>
>>>
>>>
>>> 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"
>>
>
>
>
> 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"


Date2010-08-20 19:48
FromPeiman Khosravi
Subject[Csnd] Re: Re: Re: Re: Re: Re: csLADSPA and the system_i command
lovely! Let me check that with the full path....

...yes it works! "usr/bin/open -a Audacity"

Thanks Victor.

Peiman



On 20 Aug 2010, at 19:47, Victor Lazzarini wrote:

> Btw, to find a command file, type
> 
> which command
> 
> 
> On 20 Aug 2010, at 19:40, Peiman Khosravi wrote:
> 
>> I see. Makes sense. But what is the path for open? It's not in /bin/ as I expected it to be.
>> 
>> Thanks
>> 
>> Peiman
>> 
>> On 20 Aug 2010, at 19:39, Victor Lazzarini wrote:
>> 
>>> ah, shouldn't you give system_i the full path to the command? I don't think PATH is taken into consideration.
>>> 
>>> Victor
>>> 
>>> On 20 Aug 2010, at 19:16, Peiman Khosravi wrote:
>>> 
>>>> Thanks,
>>>> 
>>>> I have tried changing the application name but still doesn't work.
>>>> 
>>>> Doing further tests this is the error I get in the Console:
>>>> 
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	0dBFS level = 32768.0
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	orch now loaded
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	audio buffered in 1024 sample-frame blocks
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	not writing to sound disk
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	SECTION 1:
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	new alloc for instr 1:
>>>> 20/08/2010 19:01:04	[0x0-0x14a14a].org.ardour.Ardour2[2687]	sh: line 1: open: command not found
>>>> 
>>>> It seems that Ardour is not interpreting the system commands. I can't think why.
>>>> 
>>>> P
>>>> 
>>>> 
>>>> 
>>>> On 20 Aug 2010, at 17:57, PINOT Francois wrote:
>>>> 
>>>>> Here on linux, changing the system_i text of the csd to {{ firefox }}, it opens firefox both from audacity and from ardour (ubuntu 10.4, csound 5.12 built from cvs, audacity and ardour installed from ubuntu packages).
>>>>> 
>>>>> Regards
>>>>> 
>>>>> Francois
>>>>> 
>>>>> 
>>>>> Le 20/08/2010 04:31, Peiman Khosravi a écrit :
>>>>>> Hello,
>>>>>> 
>>>>>> How come running this csd as plug-in in audacity will open safari (using the system_i opcode) but in Ardour it only functions as a gain plug-in?
>>>>>> 
>>>>>> Thanks in advance
>>>>>> 
>>>>>> Peiman
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Name=  Gain Plugin Mono
>>>>>> Maker=  John Doe
>>>>>> UniqueID=  10542323234
>>>>>> Copyright=GNU
>>>>>> ControlPort=  Gain |  gain
>>>>>> Range=0|2
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> sr = 44100
>>>>>> ksmps = 64
>>>>>> nchnls = 1
>>>>>> 
>>>>>> instr 1
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ires system_i 1, {{
>>>>>> 		open -a safari
>>>>>> 		}}
>>>>>> 
>>>>>> kGain chnget "gain"
>>>>>> 	ainL inch 1
>>>>>> 	out ainL*kGain
>>>>>> endin
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> i1 0 3600
>>>>>> 
>>>>>> >>>>> 
>>>>>> 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"
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 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"
>>> 
>> 
>> 
>> 
>> 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"
> 



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"