Csound Csound-dev Csound-tekno Search About

[Csnd] blue config csnd.jar

Date2010-08-02 01:23
FromMalte Steiner
Subject[Csnd] blue config csnd.jar
Hello,

where do I configure in Blue where it finds csnd.jar for using the api?

Manual says:

After locating the csnd.jar, take note of the location of the file. You 
will next have to edit the starter script for your platform (blue.bat, 
blue.sh, or blue.command). These scripts all contain a line that says 
"CSND_JAR=xxx" where the xxx is a path. You will need to replace that 
xxx with the location of the csnd.jar. It is suggested that one makes a 
copy of the starter script and gives it new name, such as "myblue.bat" 
or "myblue.sh", before editing. This is because if you upgrade blue by 
running the installer with a newer version, you copy of the starter 
script will not be overwritten.

but the starterscript in bin has no such line and I cant find any other 
scripts. And it doesnt help to put it in bin/blue script.

Cheers,

Malte

Date2010-08-02 03:55
FromSteven Yi
Subject[Csnd] Re: blue config csnd.jar
Hi Malte!

It's very nice to hear from you!  The manually is unfortunately out of
date and that information applied to the older blue (pre-2.0).
There's some info for linux here:

http://sourceforge.net/mailarchive/message.php?msg_name=AANLkTinTKjNUnu4_LcwhPdt5jnK88ULYeLxZokZjN-T0%40mail.gmail.com

which contains:

"Algodon and I worked through this on the mailing list before but I
haven't found a good way to do it automatically.  For now, you can add
this to blue/etc/blue.conf:

default_options="--branding blue -J-Xms256m -J-Xmx768m
-J-Djava.library.path=/usr/lib/jni"

It's that last part that gets the library loaded as that isn't on the
default path.  I'm waiting at this point to see how Netbeans 6.9's
(it's in release candidate stage) installer generator works to see if
I can work with that to have this kind of thing automatically done.  I
don't think this will be ready in 2.1.0 which should be released today
or tomorrow, but maybe in the release after that."

I haven't gotten around to figuring out an automatic way for this yet.
 blue now comes with the csnd.jar but does not come with libcsound and
needs to be configured to find it.  Essentially, that "/usr/lib/jni"
is what you need to modify to be where libcsnd.so is located.  I think
with Debian/Ubuntu, that dir is where apt installs csound.  I have set
this up before on Fedora but I'm not on the machine at the moment to
look up where it is. What OS version are you using?

Otherwise, hope all is well, and I enjoy following your tweets online!

steven

On Sun, Aug 1, 2010 at 8:23 PM, Malte Steiner  wrote:
> Hello,
>
> where do I configure in Blue where it finds csnd.jar for using the api?
>
> Manual says:
>
> After locating the csnd.jar, take note of the location of the file. You will
> next have to edit the starter script for your platform (blue.bat, blue.sh,
> or blue.command). These scripts all contain a line that says "CSND_JAR=xxx"
> where the xxx is a path. You will need to replace that xxx with the location
> of the csnd.jar. It is suggested that one makes a copy of the starter script
> and gives it new name, such as "myblue.bat" or "myblue.sh", before editing.
> This is because if you upgrade blue by running the installer with a newer
> version, you copy of the starter script will not be overwritten.
>
> but the starterscript in bin has no such line and I cant find any other
> scripts. And it doesnt help to put it in bin/blue script.
>
> Cheers,
>
> Malte
> --
> ----
> media art + development
> http://www.block4.com
>
> new on iTunes: Notstandskomitee Automatenmusik
> http://itunes.apple.com/us/album/automatenmusik/id383400418
>
>
>
> 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-02 13:04
FromMalte Steiner
Subject[Csnd] Re: Re: blue config csnd.jar
Hi,

thanks, it might be the trick. I am not sure if it takes csoundapi, it 
didnt say something like it but I can change the sounds with the knobs 
in the orchester view during playback.

Tonight I have a presentation about Linux Audio and I am going to show 
Csound, Blue and Qutecsound too. No deep workshop, just a lecture and 
demonstration.

Glad you enjoy my tweets, hopefully they are interesting.

Cheers,

Malte