Csound Csound-dev Csound-tekno Search About

[Csnd] opcode dir on linux

Date2010-11-11 07:38
FromStefan Thomas
Subject[Csnd] opcode dir on linux
Dear community,
I have (I guess sucessfully) csound 5.1.2 from source on my unbuntu-puredyne machine.
I can process some files without problems (e.g. the tutorial-files by Dr. Boulanger) but I others I can't.
I think it hast to do with the opcode-dir.
I have a folder opcodes on ~/bin/csound/opcodes.
But how can I set this path? I think I should modify /etc/profiles but I don't know what  I do have to write into this file.
I also looked at custom.py but I didn't found there a direct hint concerning the opcode-variable.
Thanks for Your patience
Stefan

Date2010-11-11 08:17
FromRory Walsh
Subject[Csnd] Re: opcode dir on linux
You can use 'export OPCODEDIR=~/bin/csound/opcodes'.

Rory.


On 11 November 2010 07:38, Stefan Thomas
 wrote:
> Dear community,
> I have (I guess sucessfully) csound 5.1.2 from source on my unbuntu-puredyne
> machine.
> I can process some files without problems (e.g. the tutorial-files by Dr.
> Boulanger) but I others I can't.
> I think it hast to do with the opcode-dir.
> I have a folder opcodes on ~/bin/csound/opcodes.
> But how can I set this path? I think I should modify /etc/profiles but I
> don't know what  I do have to write into this file.
> I also looked at custom.py but I didn't found there a direct hint concerning
> the opcode-variable.
> Thanks for Your patience
> Stefan
>


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-11-11 08:34
FromAndres Cabrera
Subject[Csnd] Re: Re: opcode dir on linux
You can add Rory's line to the end of /etc/profiles. Then log out and
log back in again.

Cheers,
Andres

On Thu, Nov 11, 2010 at 8:17 AM, Rory Walsh  wrote:
> You can use 'export OPCODEDIR=~/bin/csound/opcodes'.
>
> Rory.
>
>
> On 11 November 2010 07:38, Stefan Thomas
>  wrote:
>> Dear community,
>> I have (I guess sucessfully) csound 5.1.2 from source on my unbuntu-puredyne
>> machine.
>> I can process some files without problems (e.g. the tutorial-files by Dr.
>> Boulanger) but I others I can't.
>> I think it hast to do with the opcode-dir.
>> I have a folder opcodes on ~/bin/csound/opcodes.
>> But how can I set this path? I think I should modify /etc/profiles but I
>> don't know what  I do have to write into this file.
>> I also looked at custom.py but I didn't found there a direct hint concerning
>> the opcode-variable.
>> Thanks for Your patience
>> Stefan
>>
>
>
> 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"
>
>



-- 


Andrés


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-11-11 10:08
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: opcode dir on linux
> Dear community,
> I have (I guess sucessfully) csound 5.1.2 from source on my
> unbuntu-puredyne
> machine.


Wow!  antique from 2006



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-11-11 14:11
FromStefan Thomas
Subject[Csnd] Re: Re: opcode dir on linux
Dear community,
unfortunately, I don't have a file /etc/profiles, I only have /etc/profile
I'added at the end of /etc/profile
export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
But after a reboot I couldn't start my x-server!
Could the reason be, that I don't use the bash but the zhs?

2010/11/11 <jpff@cs.bath.ac.uk>
> Dear community,
> I have (I guess sucessfully) csound 5.1.2 from source on my
> unbuntu-puredyne
> machine.


Wow!  antique from 2006



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-11-11 14:14
FromRory Walsh
Subject[Csnd] Re: Re: Re: opcode dir on linux
that shouldn't affect anything really. Have you tried taking it out
and rebooting to see if x-server starts ok again? And are you sure you
didn't delete something else by accident?

On 11 November 2010 14:11, Stefan Thomas
 wrote:
> Dear community,
> unfortunately, I don't have a file /etc/profiles, I only have /etc/profile
> I'added at the end of /etc/profile
>>
>> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>
> But after a reboot I couldn't start my x-server!
> Could the reason be, that I don't use the bash but the zhs?
>
> 2010/11/11 
>>
>> > Dear community,
>> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> > unbuntu-puredyne
>> > machine.
>>
>>
>> Wow!  antique from 2006
>>
>>
>>
>> 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-11-11 14:44
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Re: Re: opcode dir on linux
The change Rory suggested was a bash /sh change.  Personally I always use
tcsh and the syntax and file is different for that change.  Never come
across zhs, but a small google suggests that the fil e to change is
/etc/zhs and the syntax is

export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes

but I would rather use

export OPCODEDIR= /home/jpff/bin/Csound5.12.1/Opcodes

as I distruct ~ in this contxt (just because on is paranoic does not mean
they are not out to get you)

==John ff

>
> On 11 November 2010 14:11, Stefan Thomas
>  wrote:
>> Dear community,
>> unfortunately, I don't have a file /etc/profiles, I only have
>> /etc/profile
>> I'added at the end of /etc/profile
>>>
>>> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>>
>> But after a reboot I couldn't start my x-server!
>> Could the reason be, that I don't use the bash but the zhs?
>>
>> 2010/11/11 
>>>
>>> > Dear community,
>>> > I have (I guess sucessfully) csound 5.1.2 from source on my
>>> > unbuntu-puredyne
>>> > machine.
>>>
>>>
>>> Wow!  antique from 2006
>>>
>>>
>>>
>>> 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-11-11 15:31
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: opcode dir on linux
Hi,

I don't think the line you added can break starting x, but as Rory
said, try to take it out, to see if that was the problem.

You can also set the environment variable in a terminal and then run
Csound, but this will be only for that particular instance.

Cheers,
Andres

On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
 wrote:
> Dear community,
> unfortunately, I don't have a file /etc/profiles, I only have /etc/profile
> I'added at the end of /etc/profile
>>
>> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>
> But after a reboot I couldn't start my x-server!
> Could the reason be, that I don't use the bash but the zhs?
>
> 2010/11/11 
>>
>> > Dear community,
>> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> > unbuntu-puredyne
>> > machine.
>>
>>
>> Wow!  antique from 2006
>>
>>
>>
>> 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"
>>
>
>



-- 


Andrés


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-11-11 17:49
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: opcode dir on linux
Dear community,
I changed the files /etc/zsh/zshrc and ~.zshrc
But now I've got after rebooting:
/etc/zsh/zshrc:export:52: not valid in this context: /home/myname/bin/Csound5.12.1/Opcodes
/home/stefan/.zshrc:export:83: not valid in this context: /home/myname/bin/Csound5.12.1/Opcodes
And when I type csound I get:
time resolution is 0.500 ns
Error opening plugin directory '': No such file or directory
zsh: exit 255   csound
Maybee I did something wrong with building csound?
First I did(after unzipping)
 scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1 buildLoris=0
then I run sudo python install.py

 
2010/11/11 Andres Cabrera <mantaraya36@gmail.com>
Hi,

I don't think the line you added can break starting x, but as Rory
said, try to take it out, to see if that was the problem.

You can also set the environment variable in a terminal and then run
Csound, but this will be only for that particular instance.

Cheers,
Andres

On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> unfortunately, I don't have a file /etc/profiles, I only have /etc/profile
> I'added at the end of /etc/profile
>>
>> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>
> But after a reboot I couldn't start my x-server!
> Could the reason be, that I don't use the bash but the zhs?
>
> 2010/11/11 <jpff@cs.bath.ac.uk>
>>
>> > Dear community,
>> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> > unbuntu-puredyne
>> > machine.
>>
>>
>> Wow!  antique from 2006
>>
>>
>>
>> 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"
>>
>
>



--


Andrés


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-11-11 17:53
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: opcode dir on linux
Hi,

Maybe zsh uses a different command for export?

Cheers,
Andres

On Thu, Nov 11, 2010 at 5:49 PM, Stefan Thomas
 wrote:
> Dear community,
> I changed the files /etc/zsh/zshrc and ~.zshrc
> But now I've got after rebooting:
>>
>> /etc/zsh/zshrc:export:52: not valid in this context:
>> /home/myname/bin/Csound5.12.1/Opcodes
>> /home/stefan/.zshrc:export:83: not valid in this context:
>> /home/myname/bin/Csound5.12.1/Opcodes
>
> And when I type csound I get:
>>
>> time resolution is 0.500 ns
>> Error opening plugin directory '': No such file or directory
>> zsh: exit 255   csound
>
> Maybee I did something wrong with building csound?
> First I did(after unzipping)
>  scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1
> buildLoris=0
> then I run sudo python install.py
>
>
> 2010/11/11 Andres Cabrera 
>>
>> Hi,
>>
>> I don't think the line you added can break starting x, but as Rory
>> said, try to take it out, to see if that was the problem.
>>
>> You can also set the environment variable in a terminal and then run
>> Csound, but this will be only for that particular instance.
>>
>> Cheers,
>> Andres
>>
>> On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
>>  wrote:
>> > Dear community,
>> > unfortunately, I don't have a file /etc/profiles, I only have
>> > /etc/profile
>> > I'added at the end of /etc/profile
>> >>
>> >> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>> >
>> > But after a reboot I couldn't start my x-server!
>> > Could the reason be, that I don't use the bash but the zhs?
>> >
>> > 2010/11/11 
>> >>
>> >> > Dear community,
>> >> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> >> > unbuntu-puredyne
>> >> > machine.
>> >>
>> >>
>> >> Wow!  antique from 2006
>> >>
>> >>
>> >>
>> >> 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"
>> >>
>> >
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> 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"
>>
>
>



-- 


Andrés


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-11-11 19:44
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: opcode dir on linux
Dear community,
I think I've made a little success:
I changed now to the bash as my main shell.
I wrote in .bashrc and in /etc/bash.bashrc
export OPCODEDIR=/home/myname/bin/Csound5.12.1/Opcodes
But csound still does not revognize some of the opcodes.
E.g. it doesn't know ftgen. I get the message
error:  no legal opcode, line 9:
for the below quoted file:

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr     = 48000
kr     = 480
ksmps  = 100
nchnls = 2
giwave_sinus ftgen 0,0,8192,10, 1
massign 1, 101
instr 101
 icps    cpsmidi
  iamp    ampmidi     10000
kenv linenr 1, 0.3, 0.1, 0.01
iwave = giwave_sinus
asig oscil kenv*iamp, icps, iwave
      outs      asig, asig
      endin
 
</CsInstruments>
<CsScore>
f0 3600
i101   0    3600

</CsScore>
</CsoundSynthesizer>


2010/11/11 Andres Cabrera <mantaraya36@gmail.com>
Hi,

Maybe zsh uses a different command for export?

Cheers,
Andres

On Thu, Nov 11, 2010 at 5:49 PM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> I changed the files /etc/zsh/zshrc and ~.zshrc
> But now I've got after rebooting:
>>
>> /etc/zsh/zshrc:export:52: not valid in this context:
>> /home/myname/bin/Csound5.12.1/Opcodes
>> /home/stefan/.zshrc:export:83: not valid in this context:
>> /home/myname/bin/Csound5.12.1/Opcodes
>
> And when I type csound I get:
>>
>> time resolution is 0.500 ns
>> Error opening plugin directory '': No such file or directory
>> zsh: exit 255   csound
>
> Maybee I did something wrong with building csound?
> First I did(after unzipping)
>  scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1
> buildLoris=0
> then I run sudo python install.py
>
>
> 2010/11/11 Andres Cabrera <mantaraya36@gmail.com>
>>
>> Hi,
>>
>> I don't think the line you added can break starting x, but as Rory
>> said, try to take it out, to see if that was the problem.
>>
>> You can also set the environment variable in a terminal and then run
>> Csound, but this will be only for that particular instance.
>>
>> Cheers,
>> Andres
>>
>> On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
>> <kontrapunktstefan@googlemail.com> wrote:
>> > Dear community,
>> > unfortunately, I don't have a file /etc/profiles, I only have
>> > /etc/profile
>> > I'added at the end of /etc/profile
>> >>
>> >> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>> >
>> > But after a reboot I couldn't start my x-server!
>> > Could the reason be, that I don't use the bash but the zhs?
>> >
>> > 2010/11/11 <jpff@cs.bath.ac.uk>
>> >>
>> >> > Dear community,
>> >> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> >> > unbuntu-puredyne
>> >> > machine.
>> >>
>> >>
>> >> Wow!  antique from 2006
>> >>
>> >>
>> >>
>> >> 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"
>> >>
>> >
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> 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"
>>
>
>



--


Andrés


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-11-12 00:07
FromRory Walsh
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: opcode dir on linux
I don't think it's finding any of the opcodes, I think Csound just
stops after finding the first one it doesn't recognise, i.e., ftgen.
Usually when I build on Linux my opcodes are contained in the main
Csound5 folder, in your case Csound5.12.1. Did you move them all into
a folder called Opcodes? If not try

export OPCODEDIR=/home/myname/bin/Csound5.12.1

Try that command from the terminal, then try running Csound to make
sure it works before adding it to bash.bashrc

Rory.


On 11 November 2010 19:44, Stefan Thomas
 wrote:
> Dear community,
> I think I've made a little success:
> I changed now to the bash as my main shell.
> I wrote in .bashrc and in /etc/bash.bashrc
> export OPCODEDIR=/home/myname/bin/Csound5.12.1/Opcodes
> But csound still does not revognize some of the opcodes.
> E.g. it doesn't know ftgen. I get the message
>>
>> error:  no legal opcode, line 9:
>
> for the below quoted file:
>
> 
> 
> 
> 
> sr     = 48000
> kr     = 480
> ksmps  = 100
> nchnls = 2
> giwave_sinus ftgen 0,0,8192,10, 1
> massign 1, 101
> instr 101
>  icps    cpsmidi
>   iamp    ampmidi     10000
> kenv linenr 1, 0.3, 0.1, 0.01
> iwave = giwave_sinus
> asig oscil kenv*iamp, icps, iwave
>       outs      asig, asig
>       endin
>
> 
> 
> f0 3600
> i101   0    3600
>
> 
> 
>
>
> 2010/11/11 Andres Cabrera 
>>
>> Hi,
>>
>> Maybe zsh uses a different command for export?
>>
>> Cheers,
>> Andres
>>
>> On Thu, Nov 11, 2010 at 5:49 PM, Stefan Thomas
>>  wrote:
>> > Dear community,
>> > I changed the files /etc/zsh/zshrc and ~.zshrc
>> > But now I've got after rebooting:
>> >>
>> >> /etc/zsh/zshrc:export:52: not valid in this context:
>> >> /home/myname/bin/Csound5.12.1/Opcodes
>> >> /home/stefan/.zshrc:export:83: not valid in this context:
>> >> /home/myname/bin/Csound5.12.1/Opcodes
>> >
>> > And when I type csound I get:
>> >>
>> >> time resolution is 0.500 ns
>> >> Error opening plugin directory '': No such file or directory
>> >> zsh: exit 255   csound
>> >
>> > Maybee I did something wrong with building csound?
>> > First I did(after unzipping)
>> >  scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1
>> > buildLoris=0
>> > then I run sudo python install.py
>> >
>> >
>> > 2010/11/11 Andres Cabrera 
>> >>
>> >> Hi,
>> >>
>> >> I don't think the line you added can break starting x, but as Rory
>> >> said, try to take it out, to see if that was the problem.
>> >>
>> >> You can also set the environment variable in a terminal and then run
>> >> Csound, but this will be only for that particular instance.
>> >>
>> >> Cheers,
>> >> Andres
>> >>
>> >> On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
>> >>  wrote:
>> >> > Dear community,
>> >> > unfortunately, I don't have a file /etc/profiles, I only have
>> >> > /etc/profile
>> >> > I'added at the end of /etc/profile
>> >> >>
>> >> >> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>> >> >
>> >> > But after a reboot I couldn't start my x-server!
>> >> > Could the reason be, that I don't use the bash but the zhs?
>> >> >
>> >> > 2010/11/11 
>> >> >>
>> >> >> > Dear community,
>> >> >> > I have (I guess sucessfully) csound 5.1.2 from source on my
>> >> >> > unbuntu-puredyne
>> >> >> > machine.
>> >> >>
>> >> >>
>> >> >> Wow!  antique from 2006
>> >> >>
>> >> >>
>> >> >>
>> >> >> 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"
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >> Andrés
>> >>
>> >>
>> >> 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"
>> >>
>> >
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> 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-11-12 01:49
FromFelipe Sateler
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: opcode dir on linux
Also, if you built csound with double precision, the variable to set
is OPCODE64DIR

And zsh uses the same export syntax as bash. I agree with john that
you should avoid the use of ~ in those files, though.

On Thu, Nov 11, 2010 at 21:07, Rory Walsh  wrote:
> I don't think it's finding any of the opcodes, I think Csound just
> stops after finding the first one it doesn't recognise, i.e., ftgen.
> Usually when I build on Linux my opcodes are contained in the main
> Csound5 folder, in your case Csound5.12.1. Did you move them all into
> a folder called Opcodes? If not try
>
> export OPCODEDIR=/home/myname/bin/Csound5.12.1
>
> Try that command from the terminal, then try running Csound to make
> sure it works before adding it to bash.bashrc
>
> Rory.
>
>
> On 11 November 2010 19:44, Stefan Thomas
>  wrote:
>> Dear community,
>> I think I've made a little success:
>> I changed now to the bash as my main shell.
>> I wrote in .bashrc and in /etc/bash.bashrc
>> export OPCODEDIR=/home/myname/bin/Csound5.12.1/Opcodes
>> But csound still does not revognize some of the opcodes.
>> E.g. it doesn't know ftgen. I get the message
>>>
>>> error:  no legal opcode, line 9:
>>
>> for the below quoted file:
>>
>> 
>> 
>> 
>> 
>> sr     = 48000
>> kr     = 480
>> ksmps  = 100
>> nchnls = 2
>> giwave_sinus ftgen 0,0,8192,10, 1
>> massign 1, 101
>> instr 101
>>  icps    cpsmidi
>>   iamp    ampmidi     10000
>> kenv linenr 1, 0.3, 0.1, 0.01
>> iwave = giwave_sinus
>> asig oscil kenv*iamp, icps, iwave
>>       outs      asig, asig
>>       endin
>>
>> 
>> 
>> f0 3600
>> i101   0    3600
>>
>> 
>> 
>>
>>
>> 2010/11/11 Andres Cabrera 
>>>
>>> Hi,
>>>
>>> Maybe zsh uses a different command for export?
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Thu, Nov 11, 2010 at 5:49 PM, Stefan Thomas
>>>  wrote:
>>> > Dear community,
>>> > I changed the files /etc/zsh/zshrc and ~.zshrc
>>> > But now I've got after rebooting:
>>> >>
>>> >> /etc/zsh/zshrc:export:52: not valid in this context:
>>> >> /home/myname/bin/Csound5.12.1/Opcodes
>>> >> /home/stefan/.zshrc:export:83: not valid in this context:
>>> >> /home/myname/bin/Csound5.12.1/Opcodes
>>> >
>>> > And when I type csound I get:
>>> >>
>>> >> time resolution is 0.500 ns
>>> >> Error opening plugin directory '': No such file or directory
>>> >> zsh: exit 255   csound
>>> >
>>> > Maybee I did something wrong with building csound?
>>> > First I did(after unzipping)
>>> >  scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1
>>> > buildLoris=0
>>> > then I run sudo python install.py
>>> >
>>> >
>>> > 2010/11/11 Andres Cabrera 
>>> >>
>>> >> Hi,
>>> >>
>>> >> I don't think the line you added can break starting x, but as Rory
>>> >> said, try to take it out, to see if that was the problem.
>>> >>
>>> >> You can also set the environment variable in a terminal and then run
>>> >> Csound, but this will be only for that particular instance.
>>> >>
>>> >> Cheers,
>>> >> Andres
>>> >>
>>> >> On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
>>> >>  wrote:
>>> >> > Dear community,
>>> >> > unfortunately, I don't have a file /etc/profiles, I only have
>>> >> > /etc/profile
>>> >> > I'added at the end of /etc/profile
>>> >> >>
>>> >> >> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>>> >> >
>>> >> > But after a reboot I couldn't start my x-server!
>>> >> > Could the reason be, that I don't use the bash but the zhs?
>>> >> >
>>> >> > 2010/11/11 
>>> >> >>
>>> >> >> > Dear community,
>>> >> >> > I have (I guess sucessfully) csound 5.1.2 from source on my
>>> >> >> > unbuntu-puredyne
>>> >> >> > machine.
>>> >> >>
>>> >> >>
>>> >> >> Wow!  antique from 2006
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> 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"
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >> Andrés
>>> >>
>>> >>
>>> >> 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"
>>> >>
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>>
>>> 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"
>
>



-- 

Saludos,
Felipe Sateler


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-11-12 05:53
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: opcode dir on linux
I finally solved the problem.
I had to add in the .zshrc
export OPCODEDIR=/home/myname/bin/Csound5.12.1
and not
export OPCODEDIR=/home/myname/bin/Csound5.12.1/Opcodes
what I did before.
I apologize for my dullness!
Thanks for Your help and patience,
Stefan

2010/11/12 Felipe Sateler <fsateler@gmail.com>
Also, if you built csound with double precision, the variable to set
is OPCODE64DIR

And zsh uses the same export syntax as bash. I agree with john that
you should avoid the use of ~ in those files, though.

On Thu, Nov 11, 2010 at 21:07, Rory Walsh <rorywalsh@ear.ie> wrote:
> I don't think it's finding any of the opcodes, I think Csound just
> stops after finding the first one it doesn't recognise, i.e., ftgen.
> Usually when I build on Linux my opcodes are contained in the main
> Csound5 folder, in your case Csound5.12.1. Did you move them all into
> a folder called Opcodes? If not try
>
> export OPCODEDIR=/home/myname/bin/Csound5.12.1
>
> Try that command from the terminal, then try running Csound to make
> sure it works before adding it to bash.bashrc
>
> Rory.
>
>
> On 11 November 2010 19:44, Stefan Thomas
> <kontrapunktstefan@googlemail.com> wrote:
>> Dear community,
>> I think I've made a little success:
>> I changed now to the bash as my main shell.
>> I wrote in .bashrc and in /etc/bash.bashrc
>> export OPCODEDIR=/home/myname/bin/Csound5.12.1/Opcodes
>> But csound still does not revognize some of the opcodes.
>> E.g. it doesn't know ftgen. I get the message
>>>
>>> error:  no legal opcode, line 9:
>>
>> for the below quoted file:
>>
>> <CsoundSynthesizer>
>> <CsOptions>
>> </CsOptions>
>> <CsInstruments>
>> sr     = 48000
>> kr     = 480
>> ksmps  = 100
>> nchnls = 2
>> giwave_sinus ftgen 0,0,8192,10, 1
>> massign 1, 101
>> instr 101
>>  icps    cpsmidi
>>   iamp    ampmidi     10000
>> kenv linenr 1, 0.3, 0.1, 0.01
>> iwave = giwave_sinus
>> asig oscil kenv*iamp, icps, iwave
>>       outs      asig, asig
>>       endin
>>
>> </CsInstruments>
>> <CsScore>
>> f0 3600
>> i101   0    3600
>>
>> </CsScore>
>> </CsoundSynthesizer>
>>
>>
>> 2010/11/11 Andres Cabrera <mantaraya36@gmail.com>
>>>
>>> Hi,
>>>
>>> Maybe zsh uses a different command for export?
>>>
>>> Cheers,
>>> Andres
>>>
>>> On Thu, Nov 11, 2010 at 5:49 PM, Stefan Thomas
>>> <kontrapunktstefan@googlemail.com> wrote:
>>> > Dear community,
>>> > I changed the files /etc/zsh/zshrc and ~.zshrc
>>> > But now I've got after rebooting:
>>> >>
>>> >> /etc/zsh/zshrc:export:52: not valid in this context:
>>> >> /home/myname/bin/Csound5.12.1/Opcodes
>>> >> /home/stefan/.zshrc:export:83: not valid in this context:
>>> >> /home/myname/bin/Csound5.12.1/Opcodes
>>> >
>>> > And when I type csound I get:
>>> >>
>>> >> time resolution is 0.500 ns
>>> >> Error opening plugin directory '': No such file or directory
>>> >> zsh: exit 255   csound
>>> >
>>> > Maybee I did something wrong with building csound?
>>> > First I did(after unzipping)
>>> >  scons buildOSC=1 buildCsound5GUI=1 buildPythonOpcodes=1 useOSC=1
>>> > buildLoris=0
>>> > then I run sudo python install.py
>>> >
>>> >
>>> > 2010/11/11 Andres Cabrera <mantaraya36@gmail.com>
>>> >>
>>> >> Hi,
>>> >>
>>> >> I don't think the line you added can break starting x, but as Rory
>>> >> said, try to take it out, to see if that was the problem.
>>> >>
>>> >> You can also set the environment variable in a terminal and then run
>>> >> Csound, but this will be only for that particular instance.
>>> >>
>>> >> Cheers,
>>> >> Andres
>>> >>
>>> >> On Thu, Nov 11, 2010 at 2:11 PM, Stefan Thomas
>>> >> <kontrapunktstefan@googlemail.com> wrote:
>>> >> > Dear community,
>>> >> > unfortunately, I don't have a file /etc/profiles, I only have
>>> >> > /etc/profile
>>> >> > I'added at the end of /etc/profile
>>> >> >>
>>> >> >> export OPCODEDIR= ~/bin/Csound5.12.1/Opcodes
>>> >> >
>>> >> > But after a reboot I couldn't start my x-server!
>>> >> > Could the reason be, that I don't use the bash but the zhs?
>>> >> >
>>> >> > 2010/11/11 <jpff@cs.bath.ac.uk>
>>> >> >>
>>> >> >> > Dear community,
>>> >> >> > I have (I guess sucessfully) csound 5.1.2 from source on my
>>> >> >> > unbuntu-puredyne
>>> >> >> > machine.
>>> >> >>
>>> >> >>
>>> >> >> Wow!  antique from 2006
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> 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"
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >> Andrés
>>> >>
>>> >>
>>> >> 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"
>>> >>
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>>
>>> 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"
>
>



--

Saludos,
Felipe Sateler


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"