Csound Csound-dev Csound-tekno Search About

[Csnd] Using CS6Editor frontend

Date2014-03-12 00:39
Fromhlolli
Subject[Csnd] Using CS6Editor frontend
Hi all.

I'm trying to use CS6Editor on Linux. I cd to Csound6.02/frontends/CS6Editor
and run ant. Then the computer starts to compile via javac. But I hit a wall 

package csnd6 does not exist
    [javac] import csnd6.Csound;

error: package csnd6 does not exist
    [javac] import csnd6.CsoundArgVList;

error: package csnd6 does not exist
    [javac] import csnd6.csnd6;

I know those definitions are located in
CS6Editor/src/cs6editor/MainWindow.java

maybe the solution is to link differently when using import?? Maybe some
java expert knows how to do this?




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-03-13 18:29
FromSteven Yi
SubjectRe: [Csnd] Using CS6Editor frontend
I built that application using Netbeans and the ant file is from
there. I have the csnd.jar setup within Netbeans so that's how that
gets compiled.  I think to run it from the commandline, you may need
to set the lib location manually, using something like:

ant -Dlibs.csnd6.classpath=/path/to/csnd.jar

I haven't tried that, but just from looking at the
nbproject/build-impl.xml that looks like the value to set.  Could you
give that a try?

steven

On Tue, Mar 11, 2014 at 8:39 PM, hlolli  wrote:
> Hi all.
>
> I'm trying to use CS6Editor on Linux. I cd to Csound6.02/frontends/CS6Editor
> and run ant. Then the computer starts to compile via javac. But I hit a wall
>
> package csnd6 does not exist
>     [javac] import csnd6.Csound;
>
> error: package csnd6 does not exist
>     [javac] import csnd6.CsoundArgVList;
>
> error: package csnd6 does not exist
>     [javac] import csnd6.csnd6;
>
> I know those definitions are located in
> CS6Editor/src/cs6editor/MainWindow.java
>
> maybe the solution is to link differently when using import?? Maybe some
> java expert knows how to do this?
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2014-03-13 23:33
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
I installed NetBeans I don't know how to add compiler paths in that program or search path to add csnd6.jar.

But with

ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar

I was able to do successful build. I didn't get any executable file or run script, so maybe I should ask first, how do you run CS6Editor?

thanks Steven


2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
I built that application using Netbeans and the ant file is from
there. I have the csnd.jar setup within Netbeans so that's how that
gets compiled.  I think to run it from the commandline, you may need
to set the lib location manually, using something like:

ant -Dlibs.csnd6.classpath=/path/to/csnd.jar

I haven't tried that, but just from looking at the
nbproject/build-impl.xml that looks like the value to set.  Could you
give that a try?

steven

On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
> Hi all.
>
> I'm trying to use CS6Editor on Linux. I cd to Csound6.02/frontends/CS6Editor
> and run ant. Then the computer starts to compile via javac. But I hit a wall
>
> package csnd6 does not exist
>     [javac] import csnd6.Csound;
>
> error: package csnd6 does not exist
>     [javac] import csnd6.CsoundArgVList;
>
> error: package csnd6 does not exist
>     [javac] import csnd6.csnd6;
>
> I know those definitions are located in
> CS6Editor/src/cs6editor/MainWindow.java
>
> maybe the solution is to link differently when using import?? Maybe some
> java expert knows how to do this?
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





--
Hlöðver Sigurðsson

Date2014-03-13 23:39
FromSteven Yi
SubjectRe: [Csnd] Using CS6Editor frontend
I would run it from with Netbeans while developing it. After building
it, there should be a CS6Editor.jar file in the dist folder.  (You
might need to use 'ant jar').  With that, you should be able to use
something like:

java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar

Let me know if there's issues!
steven

On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson  wrote:
> I installed NetBeans I don't know how to add compiler paths in that program
> or search path to add csnd6.jar.
>
> But with
>
> ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>
> I was able to do successful build. I didn't get any executable file or run
> script, so maybe I should ask first, how do you run CS6Editor?
>
> thanks Steven
>
>
> 2014-03-13 18:29 GMT+00:00 Steven Yi :
>
>> I built that application using Netbeans and the ant file is from
>> there. I have the csnd.jar setup within Netbeans so that's how that
>> gets compiled.  I think to run it from the commandline, you may need
>> to set the lib location manually, using something like:
>>
>> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>>
>> I haven't tried that, but just from looking at the
>> nbproject/build-impl.xml that looks like the value to set.  Could you
>> give that a try?
>>
>> steven
>>
>> On Tue, Mar 11, 2014 at 8:39 PM, hlolli  wrote:
>> > Hi all.
>> >
>> > I'm trying to use CS6Editor on Linux. I cd to
>> > Csound6.02/frontends/CS6Editor
>> > and run ant. Then the computer starts to compile via javac. But I hit a
>> > wall
>> >
>> > package csnd6 does not exist
>> >     [javac] import csnd6.Csound;
>> >
>> > error: package csnd6 does not exist
>> >     [javac] import csnd6.CsoundArgVList;
>> >
>> > error: package csnd6 does not exist
>> >     [javac] import csnd6.csnd6;
>> >
>> > I know those definitions are located in
>> > CS6Editor/src/cs6editor/MainWindow.java
>> >
>> > maybe the solution is to link differently when using import?? Maybe some
>> > java expert knows how to do this?
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >
>> >
>> > Send bugs reports to the Sourceforge bug trackers
>> > csound6:
>> >             https://sourceforge.net/p/csound/tickets/
>> > csound5:
>> >             https://sourceforge.net/p/csound/bugs/
>> > 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 trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


Date2014-03-14 00:42
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
In netbeans I added csnd6.jar in path and that removed all the compilor error messages, I'm only left with one:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path

Im guessing this is supposed to be lib_jcsound6.so maybe a typo error in some code?



2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
I would run it from with Netbeans while developing it. After building
it, there should be a CS6Editor.jar file in the dist folder.  (You
might need to use 'ant jar').  With that, you should be able to use
something like:

java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar

Let me know if there's issues!
steven

On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> I installed NetBeans I don't know how to add compiler paths in that program
> or search path to add csnd6.jar.
>
> But with
>
> ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>
> I was able to do successful build. I didn't get any executable file or run
> script, so maybe I should ask first, how do you run CS6Editor?
>
> thanks Steven
>
>
> 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>
>> I built that application using Netbeans and the ant file is from
>> there. I have the csnd.jar setup within Netbeans so that's how that
>> gets compiled.  I think to run it from the commandline, you may need
>> to set the lib location manually, using something like:
>>
>> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>>
>> I haven't tried that, but just from looking at the
>> nbproject/build-impl.xml that looks like the value to set.  Could you
>> give that a try?
>>
>> steven
>>
>> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> > Hi all.
>> >
>> > I'm trying to use CS6Editor on Linux. I cd to
>> > Csound6.02/frontends/CS6Editor
>> > and run ant. Then the computer starts to compile via javac. But I hit a
>> > wall
>> >
>> > package csnd6 does not exist
>> >     [javac] import csnd6.Csound;
>> >
>> > error: package csnd6 does not exist
>> >     [javac] import csnd6.CsoundArgVList;
>> >
>> > error: package csnd6 does not exist
>> >     [javac] import csnd6.csnd6;
>> >
>> > I know those definitions are located in
>> > CS6Editor/src/cs6editor/MainWindow.java
>> >
>> > maybe the solution is to link differently when using import?? Maybe some
>> > java expert knows how to do this?
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >
>> >
>> > Send bugs reports to the Sourceforge bug trackers
>> > csound6:
>> >             https://sourceforge.net/p/csound/tickets/
>> > csound5:
>> >             https://sourceforge.net/p/csound/bugs/
>> > 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 trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





--
Hlöðver Sigurðsson

Date2014-03-14 16:46
FromSteven Yi
SubjectRe: [Csnd] Using CS6Editor frontend
That is the correct name; Java will modify the library name depending
on platform.  This means you're java.library.path is not defined, a
requirement for Java applications to run the native part of the Csound
API from Java.  On some platforms, the library is automatically picked
up from where it is installed.  On Linux though, you may need to give
that value when running the app, i.e.:

java -Djava.library.path=/path/to/directory/where/.so/is -jar ...


On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson  wrote:
> In netbeans I added csnd6.jar in path and that removed all the compilor
> error messages, I'm only left with one:
>
> _jcsound6 native code library failed to load.
> java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>
> Im guessing this is supposed to be lib_jcsound6.so maybe a typo error in
> some code?
>
>
>
> 2014-03-13 23:39 GMT+00:00 Steven Yi :
>
>> I would run it from with Netbeans while developing it. After building
>> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> might need to use 'ant jar').  With that, you should be able to use
>> something like:
>>
>> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>>
>> Let me know if there's issues!
>> steven
>>
>> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson 
>> wrote:
>> > I installed NetBeans I don't know how to add compiler paths in that
>> > program
>> > or search path to add csnd6.jar.
>> >
>> > But with
>> >
>> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >
>> > I was able to do successful build. I didn't get any executable file or
>> > run
>> > script, so maybe I should ask first, how do you run CS6Editor?
>> >
>> > thanks Steven
>> >
>> >
>> > 2014-03-13 18:29 GMT+00:00 Steven Yi :
>> >
>> >> I built that application using Netbeans and the ant file is from
>> >> there. I have the csnd.jar setup within Netbeans so that's how that
>> >> gets compiled.  I think to run it from the commandline, you may need
>> >> to set the lib location manually, using something like:
>> >>
>> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >>
>> >> I haven't tried that, but just from looking at the
>> >> nbproject/build-impl.xml that looks like the value to set.  Could you
>> >> give that a try?
>> >>
>> >> steven
>> >>
>> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli  wrote:
>> >> > Hi all.
>> >> >
>> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> > Csound6.02/frontends/CS6Editor
>> >> > and run ant. Then the computer starts to compile via javac. But I hit
>> >> > a
>> >> > wall
>> >> >
>> >> > package csnd6 does not exist
>> >> >     [javac] import csnd6.Csound;
>> >> >
>> >> > error: package csnd6 does not exist
>> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >
>> >> > error: package csnd6 does not exist
>> >> >     [javac] import csnd6.csnd6;
>> >> >
>> >> > I know those definitions are located in
>> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >
>> >> > maybe the solution is to link differently when using import?? Maybe
>> >> > some
>> >> > java expert knows how to do this?
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >> >
>> >> >
>> >> > Send bugs reports to the Sourceforge bug trackers
>> >> > csound6:
>> >> >             https://sourceforge.net/p/csound/tickets/
>> >> > csound5:
>> >> >             https://sourceforge.net/p/csound/bugs/
>> >> > 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 trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


Date2014-03-30 02:24
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
This is what made CS6editor run:

In Project properties in NetBeans
I chose -Run
and in VM option field I inserted:
-Djava.library.path=/usr/local/lib/

and Bingo.

Now since I'm so used to CsoundQT I'm having problems with console flags. So I was hoping you could send me your test.csd file which the program CS6Editor is originally looking for(offlist email). I made my own csd file but I'm not getting realtime audio. Plus, how do you evaluate the csound code in realtime like you did on your youtube video. Is this some key combination?


2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
That is the correct name; Java will modify the library name depending
on platform.  This means you're java.library.path is not defined, a
requirement for Java applications to run the native part of the Csound
API from Java.  On some platforms, the library is automatically picked
up from where it is installed.  On Linux though, you may need to give
that value when running the app, i.e.:

java -Djava.library.path=/path/to/directory/where/.so/is -jar ...


On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> In netbeans I added csnd6.jar in path and that removed all the compilor
> error messages, I'm only left with one:
>
> _jcsound6 native code library failed to load.
> java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>
> Im guessing this is supposed to be lib_jcsound6.so maybe a typo error in
> some code?
>
>
>
> 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>
>> I would run it from with Netbeans while developing it. After building
>> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> might need to use 'ant jar').  With that, you should be able to use
>> something like:
>>
>> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>>
>> Let me know if there's issues!
>> steven
>>
>> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > I installed NetBeans I don't know how to add compiler paths in that
>> > program
>> > or search path to add csnd6.jar.
>> >
>> > But with
>> >
>> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >
>> > I was able to do successful build. I didn't get any executable file or
>> > run
>> > script, so maybe I should ask first, how do you run CS6Editor?
>> >
>> > thanks Steven
>> >
>> >
>> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> I built that application using Netbeans and the ant file is from
>> >> there. I have the csnd.jar setup within Netbeans so that's how that
>> >> gets compiled.  I think to run it from the commandline, you may need
>> >> to set the lib location manually, using something like:
>> >>
>> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >>
>> >> I haven't tried that, but just from looking at the
>> >> nbproject/build-impl.xml that looks like the value to set.  Could you
>> >> give that a try?
>> >>
>> >> steven
>> >>
>> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> > Hi all.
>> >> >
>> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> > Csound6.02/frontends/CS6Editor
>> >> > and run ant. Then the computer starts to compile via javac. But I hit
>> >> > a
>> >> > wall
>> >> >
>> >> > package csnd6 does not exist
>> >> >     [javac] import csnd6.Csound;
>> >> >
>> >> > error: package csnd6 does not exist
>> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >
>> >> > error: package csnd6 does not exist
>> >> >     [javac] import csnd6.csnd6;
>> >> >
>> >> > I know those definitions are located in
>> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >
>> >> > maybe the solution is to link differently when using import?? Maybe
>> >> > some
>> >> > java expert knows how to do this?
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> >
>> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >> >
>> >> >
>> >> > Send bugs reports to the Sourceforge bug trackers
>> >> > csound6:
>> >> >             https://sourceforge.net/p/csound/tickets/
>> >> > csound5:
>> >> >             https://sourceforge.net/p/csound/bugs/
>> >> > 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 trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





--
Hlöðver Sigurðsson

Date2014-04-01 20:51
FromSteven Yi
SubjectRe: [Csnd] Using CS6Editor frontend
I think it's running in realtime for me as I have this in my ~/.csound6rc file:

-+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true

I put that editor together pretty quickly as a proof of concept environment.

It looks like the shortcut I used is shift-enter. The code looks at
what tab is selected and will either send the selected text as score
or as orc code to Csound.

Hope that helps!
steven

On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson  wrote:
> This is what made CS6editor run:
>
> In Project properties in NetBeans
> I chose -Run
> and in VM option field I inserted:
> -Djava.library.path=/usr/local/lib/
>
> and Bingo.
>
> Now since I'm so used to CsoundQT I'm having problems with console flags. So
> I was hoping you could send me your test.csd file which the program
> CS6Editor is originally looking for(offlist email). I made my own csd file
> but I'm not getting realtime audio. Plus, how do you evaluate the csound
> code in realtime like you did on your youtube video. Is this some key
> combination?
>
>
> 2014-03-14 16:46 GMT+00:00 Steven Yi :
>
>> That is the correct name; Java will modify the library name depending
>> on platform.  This means you're java.library.path is not defined, a
>> requirement for Java applications to run the native part of the Csound
>> API from Java.  On some platforms, the library is automatically picked
>> up from where it is installed.  On Linux though, you may need to give
>> that value when running the app, i.e.:
>>
>> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>>
>>
>> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson 
>> wrote:
>> > In netbeans I added csnd6.jar in path and that removed all the compilor
>> > error messages, I'm only left with one:
>> >
>> > _jcsound6 native code library failed to load.
>> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >
>> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error in
>> > some code?
>> >
>> >
>> >
>> > 2014-03-13 23:39 GMT+00:00 Steven Yi :
>> >
>> >> I would run it from with Netbeans while developing it. After building
>> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> might need to use 'ant jar').  With that, you should be able to use
>> >> something like:
>> >>
>> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >>
>> >> Let me know if there's issues!
>> >> steven
>> >>
>> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson 
>> >> wrote:
>> >> > I installed NetBeans I don't know how to add compiler paths in that
>> >> > program
>> >> > or search path to add csnd6.jar.
>> >> >
>> >> > But with
>> >> >
>> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >
>> >> > I was able to do successful build. I didn't get any executable file
>> >> > or
>> >> > run
>> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >
>> >> > thanks Steven
>> >> >
>> >> >
>> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi :
>> >> >
>> >> >> I built that application using Netbeans and the ant file is from
>> >> >> there. I have the csnd.jar setup within Netbeans so that's how that
>> >> >> gets compiled.  I think to run it from the commandline, you may need
>> >> >> to set the lib location manually, using something like:
>> >> >>
>> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >>
>> >> >> I haven't tried that, but just from looking at the
>> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> you
>> >> >> give that a try?
>> >> >>
>> >> >> steven
>> >> >>
>> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli  wrote:
>> >> >> > Hi all.
>> >> >> >
>> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> > and run ant. Then the computer starts to compile via javac. But I
>> >> >> > hit
>> >> >> > a
>> >> >> > wall
>> >> >> >
>> >> >> > package csnd6 does not exist
>> >> >> >     [javac] import csnd6.Csound;
>> >> >> >
>> >> >> > error: package csnd6 does not exist
>> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >
>> >> >> > error: package csnd6 does not exist
>> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >
>> >> >> > I know those definitions are located in
>> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >
>> >> >> > maybe the solution is to link differently when using import??
>> >> >> > Maybe
>> >> >> > some
>> >> >> > java expert knows how to do this?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > View this message in context:
>> >> >> >
>> >> >> >
>> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >> >> >
>> >> >> >
>> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> > csound6:
>> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> > csound5:
>> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> > 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 trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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-04-01 20:57
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
Yes, I was just on a flight without internet. I was able to find that all out on the plain, very simple. Sometimes I ask too early for help. But this looks exciting. Only think I miss is that macros don't seem to work if you define macros text in the csd file and call it in CS6Edtiror by $MACROS, to speed up live coding typing.


2014-04-01 19:51 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
I think it's running in realtime for me as I have this in my ~/.csound6rc file:

-+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true

I put that editor together pretty quickly as a proof of concept environment.

It looks like the shortcut I used is shift-enter. The code looks at
what tab is selected and will either send the selected text as score
or as orc code to Csound.

Hope that helps!
steven

On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> This is what made CS6editor run:
>
> In Project properties in NetBeans
> I chose -Run
> and in VM option field I inserted:
> -Djava.library.path=/usr/local/lib/
>
> and Bingo.
>
> Now since I'm so used to CsoundQT I'm having problems with console flags. So
> I was hoping you could send me your test.csd file which the program
> CS6Editor is originally looking for(offlist email). I made my own csd file
> but I'm not getting realtime audio. Plus, how do you evaluate the csound
> code in realtime like you did on your youtube video. Is this some key
> combination?
>
>
> 2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>
>> That is the correct name; Java will modify the library name depending
>> on platform.  This means you're java.library.path is not defined, a
>> requirement for Java applications to run the native part of the Csound
>> API from Java.  On some platforms, the library is automatically picked
>> up from where it is installed.  On Linux though, you may need to give
>> that value when running the app, i.e.:
>>
>> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>>
>>
>> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > In netbeans I added csnd6.jar in path and that removed all the compilor
>> > error messages, I'm only left with one:
>> >
>> > _jcsound6 native code library failed to load.
>> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >
>> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error in
>> > some code?
>> >
>> >
>> >
>> > 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> I would run it from with Netbeans while developing it. After building
>> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> might need to use 'ant jar').  With that, you should be able to use
>> >> something like:
>> >>
>> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >>
>> >> Let me know if there's issues!
>> >> steven
>> >>
>> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> >> wrote:
>> >> > I installed NetBeans I don't know how to add compiler paths in that
>> >> > program
>> >> > or search path to add csnd6.jar.
>> >> >
>> >> > But with
>> >> >
>> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >
>> >> > I was able to do successful build. I didn't get any executable file
>> >> > or
>> >> > run
>> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >
>> >> > thanks Steven
>> >> >
>> >> >
>> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >
>> >> >> I built that application using Netbeans and the ant file is from
>> >> >> there. I have the csnd.jar setup within Netbeans so that's how that
>> >> >> gets compiled.  I think to run it from the commandline, you may need
>> >> >> to set the lib location manually, using something like:
>> >> >>
>> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >>
>> >> >> I haven't tried that, but just from looking at the
>> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> you
>> >> >> give that a try?
>> >> >>
>> >> >> steven
>> >> >>
>> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> >> > Hi all.
>> >> >> >
>> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> > and run ant. Then the computer starts to compile via javac. But I
>> >> >> > hit
>> >> >> > a
>> >> >> > wall
>> >> >> >
>> >> >> > package csnd6 does not exist
>> >> >> >     [javac] import csnd6.Csound;
>> >> >> >
>> >> >> > error: package csnd6 does not exist
>> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >
>> >> >> > error: package csnd6 does not exist
>> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >
>> >> >> > I know those definitions are located in
>> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >
>> >> >> > maybe the solution is to link differently when using import??
>> >> >> > Maybe
>> >> >> > some
>> >> >> > java expert knows how to do this?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > View this message in context:
>> >> >> >
>> >> >> >
>> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >> >> >
>> >> >> >
>> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> > csound6:
>> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> > csound5:
>> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> > 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 trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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"






--
Hlöðver Sigurðsson

Date2014-04-01 21:05
FromSteven Yi
SubjectRe: [Csnd] Using CS6Editor frontend
That's a tricky thing having to do with Csound's compiler. From what I
remember of the code, I think macros are discarded each run.  John or
Victor would know better about those things.

Could you try evaluating the macro definition in addition to the new
text you would like to compile?

BTW: I think CsoundQt has the ability to select and evaluate Csound
code to a live instance, but I don't remember if it's in the latest
version that comes with the Csound installer or not.

On Tue, Apr 1, 2014 at 3:57 PM, Hlöðver Sigurðsson  wrote:
> Yes, I was just on a flight without internet. I was able to find that all
> out on the plain, very simple. Sometimes I ask too early for help. But this
> looks exciting. Only think I miss is that macros don't seem to work if you
> define macros text in the csd file and call it in CS6Edtiror by $MACROS, to
> speed up live coding typing.
>
>
> 2014-04-01 19:51 GMT+00:00 Steven Yi :
>>
>> I think it's running in realtime for me as I have this in my ~/.csound6rc
>> file:
>>
>> -+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true
>>
>> I put that editor together pretty quickly as a proof of concept
>> environment.
>>
>> It looks like the shortcut I used is shift-enter. The code looks at
>> what tab is selected and will either send the selected text as score
>> or as orc code to Csound.
>>
>> Hope that helps!
>> steven
>>
>> On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson 
>> wrote:
>> > This is what made CS6editor run:
>> >
>> > In Project properties in NetBeans
>> > I chose -Run
>> > and in VM option field I inserted:
>> > -Djava.library.path=/usr/local/lib/
>> >
>> > and Bingo.
>> >
>> > Now since I'm so used to CsoundQT I'm having problems with console
>> > flags. So
>> > I was hoping you could send me your test.csd file which the program
>> > CS6Editor is originally looking for(offlist email). I made my own csd
>> > file
>> > but I'm not getting realtime audio. Plus, how do you evaluate the csound
>> > code in realtime like you did on your youtube video. Is this some key
>> > combination?
>> >
>> >
>> > 2014-03-14 16:46 GMT+00:00 Steven Yi :
>> >
>> >> That is the correct name; Java will modify the library name depending
>> >> on platform.  This means you're java.library.path is not defined, a
>> >> requirement for Java applications to run the native part of the Csound
>> >> API from Java.  On some platforms, the library is automatically picked
>> >> up from where it is installed.  On Linux though, you may need to give
>> >> that value when running the app, i.e.:
>> >>
>> >> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>> >>
>> >>
>> >> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson 
>> >> wrote:
>> >> > In netbeans I added csnd6.jar in path and that removed all the
>> >> > compilor
>> >> > error messages, I'm only left with one:
>> >> >
>> >> > _jcsound6 native code library failed to load.
>> >> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >> >
>> >> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error
>> >> > in
>> >> > some code?
>> >> >
>> >> >
>> >> >
>> >> > 2014-03-13 23:39 GMT+00:00 Steven Yi :
>> >> >
>> >> >> I would run it from with Netbeans while developing it. After
>> >> >> building
>> >> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> >> might need to use 'ant jar').  With that, you should be able to use
>> >> >> something like:
>> >> >>
>> >> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >> >>
>> >> >> Let me know if there's issues!
>> >> >> steven
>> >> >>
>> >> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson
>> >> >> 
>> >> >> wrote:
>> >> >> > I installed NetBeans I don't know how to add compiler paths in
>> >> >> > that
>> >> >> > program
>> >> >> > or search path to add csnd6.jar.
>> >> >> >
>> >> >> > But with
>> >> >> >
>> >> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >> >
>> >> >> > I was able to do successful build. I didn't get any executable
>> >> >> > file
>> >> >> > or
>> >> >> > run
>> >> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >> >
>> >> >> > thanks Steven
>> >> >> >
>> >> >> >
>> >> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi :
>> >> >> >
>> >> >> >> I built that application using Netbeans and the ant file is from
>> >> >> >> there. I have the csnd.jar setup within Netbeans so that's how
>> >> >> >> that
>> >> >> >> gets compiled.  I think to run it from the commandline, you may
>> >> >> >> need
>> >> >> >> to set the lib location manually, using something like:
>> >> >> >>
>> >> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >> >>
>> >> >> >> I haven't tried that, but just from looking at the
>> >> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> >> you
>> >> >> >> give that a try?
>> >> >> >>
>> >> >> >> steven
>> >> >> >>
>> >> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli  wrote:
>> >> >> >> > Hi all.
>> >> >> >> >
>> >> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> >> > and run ant. Then the computer starts to compile via javac. But
>> >> >> >> > I
>> >> >> >> > hit
>> >> >> >> > a
>> >> >> >> > wall
>> >> >> >> >
>> >> >> >> > package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.Csound;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >> >
>> >> >> >> > I know those definitions are located in
>> >> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >> >
>> >> >> >> > maybe the solution is to link differently when using import??
>> >> >> >> > Maybe
>> >> >> >> > some
>> >> >> >> > java expert knows how to do this?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> >> > Sent from the Csound - General mailing list archive at
>> >> >> >> > Nabble.com.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> >> > csound6:
>> >> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> >> > csound5:
>> >> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> >> > 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 trackers
>> >> >> >> csound6:
>> >> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> >> csound5:
>> >> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> >> Discussions of bugs and features can be posted here
>> >> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> >> "unsubscribe
>> >> >> >> csound"
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Hlöðver Sigurðsson
>> >> >>
>> >> >>
>> >> >> Send bugs reports to the Sourceforge bug trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> 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"
>>
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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-04-01 21:18
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
Yes, Im familiar with csoundQT live coding function. I put more faith in CS6Editor because of frequent crashing. At least when using Blue, I never crash, just get errors. Same with cabbage, it can livecode too but it also tends to crash. Well of course to be fair it's 99% of the time because of illeagal commands or chocking the CPU, but somehow, like when choosing wrong table size for GEN01, I didn't crash from blue, maybe luck I don't know. Also I think for the nerd factor of using almost notepad looking environment will astonish some audience :)


2014-04-01 20:05 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
That's a tricky thing having to do with Csound's compiler. From what I
remember of the code, I think macros are discarded each run.  John or
Victor would know better about those things.

Could you try evaluating the macro definition in addition to the new
text you would like to compile?

BTW: I think CsoundQt has the ability to select and evaluate Csound
code to a live instance, but I don't remember if it's in the latest
version that comes with the Csound installer or not.

On Tue, Apr 1, 2014 at 3:57 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Yes, I was just on a flight without internet. I was able to find that all
> out on the plain, very simple. Sometimes I ask too early for help. But this
> looks exciting. Only think I miss is that macros don't seem to work if you
> define macros text in the csd file and call it in CS6Edtiror by $MACROS, to
> speed up live coding typing.
>
>
> 2014-04-01 19:51 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>>
>> I think it's running in realtime for me as I have this in my ~/.csound6rc
>> file:
>>
>> -+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true
>>
>> I put that editor together pretty quickly as a proof of concept
>> environment.
>>
>> It looks like the shortcut I used is shift-enter. The code looks at
>> what tab is selected and will either send the selected text as score
>> or as orc code to Csound.
>>
>> Hope that helps!
>> steven
>>
>> On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > This is what made CS6editor run:
>> >
>> > In Project properties in NetBeans
>> > I chose -Run
>> > and in VM option field I inserted:
>> > -Djava.library.path=/usr/local/lib/
>> >
>> > and Bingo.
>> >
>> > Now since I'm so used to CsoundQT I'm having problems with console
>> > flags. So
>> > I was hoping you could send me your test.csd file which the program
>> > CS6Editor is originally looking for(offlist email). I made my own csd
>> > file
>> > but I'm not getting realtime audio. Plus, how do you evaluate the csound
>> > code in realtime like you did on your youtube video. Is this some key
>> > combination?
>> >
>> >
>> > 2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> That is the correct name; Java will modify the library name depending
>> >> on platform.  This means you're java.library.path is not defined, a
>> >> requirement for Java applications to run the native part of the Csound
>> >> API from Java.  On some platforms, the library is automatically picked
>> >> up from where it is installed.  On Linux though, you may need to give
>> >> that value when running the app, i.e.:
>> >>
>> >> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>> >>
>> >>
>> >> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> >> wrote:
>> >> > In netbeans I added csnd6.jar in path and that removed all the
>> >> > compilor
>> >> > error messages, I'm only left with one:
>> >> >
>> >> > _jcsound6 native code library failed to load.
>> >> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >> >
>> >> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error
>> >> > in
>> >> > some code?
>> >> >
>> >> >
>> >> >
>> >> > 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >
>> >> >> I would run it from with Netbeans while developing it. After
>> >> >> building
>> >> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> >> might need to use 'ant jar').  With that, you should be able to use
>> >> >> something like:
>> >> >>
>> >> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >> >>
>> >> >> Let me know if there's issues!
>> >> >> steven
>> >> >>
>> >> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson
>> >> >> <hlolli@gmail.com>
>> >> >> wrote:
>> >> >> > I installed NetBeans I don't know how to add compiler paths in
>> >> >> > that
>> >> >> > program
>> >> >> > or search path to add csnd6.jar.
>> >> >> >
>> >> >> > But with
>> >> >> >
>> >> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >> >
>> >> >> > I was able to do successful build. I didn't get any executable
>> >> >> > file
>> >> >> > or
>> >> >> > run
>> >> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >> >
>> >> >> > thanks Steven
>> >> >> >
>> >> >> >
>> >> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >> >
>> >> >> >> I built that application using Netbeans and the ant file is from
>> >> >> >> there. I have the csnd.jar setup within Netbeans so that's how
>> >> >> >> that
>> >> >> >> gets compiled.  I think to run it from the commandline, you may
>> >> >> >> need
>> >> >> >> to set the lib location manually, using something like:
>> >> >> >>
>> >> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >> >>
>> >> >> >> I haven't tried that, but just from looking at the
>> >> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> >> you
>> >> >> >> give that a try?
>> >> >> >>
>> >> >> >> steven
>> >> >> >>
>> >> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> >> >> > Hi all.
>> >> >> >> >
>> >> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> >> > and run ant. Then the computer starts to compile via javac. But
>> >> >> >> > I
>> >> >> >> > hit
>> >> >> >> > a
>> >> >> >> > wall
>> >> >> >> >
>> >> >> >> > package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.Csound;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >> >
>> >> >> >> > I know those definitions are located in
>> >> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >> >
>> >> >> >> > maybe the solution is to link differently when using import??
>> >> >> >> > Maybe
>> >> >> >> > some
>> >> >> >> > java expert knows how to do this?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> >> > Sent from the Csound - General mailing list archive at
>> >> >> >> > Nabble.com.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> >> > csound6:
>> >> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> >> > csound5:
>> >> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> >> > 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 trackers
>> >> >> >> csound6:
>> >> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> >> csound5:
>> >> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> >> Discussions of bugs and features can be posted here
>> >> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> >> "unsubscribe
>> >> >> >> csound"
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Hlöðver Sigurðsson
>> >> >>
>> >> >>
>> >> >> Send bugs reports to the Sourceforge bug trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> 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"
>>
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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"






--
Hlöðver Sigurðsson

Date2014-04-01 21:20
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
Sorry, I mean I think CS6Editor will crash less often than CsoundQT. Im in florida having beer in the sun, so I'm writing bit confusingly.

-Hlolli


2014-04-01 20:18 GMT+00:00 Hlöðver Sigurðsson <hlolli@gmail.com>:
Yes, Im familiar with csoundQT live coding function. I put more faith in CS6Editor because of frequent crashing. At least when using Blue, I never crash, just get errors. Same with cabbage, it can livecode too but it also tends to crash. Well of course to be fair it's 99% of the time because of illeagal commands or chocking the CPU, but somehow, like when choosing wrong table size for GEN01, I didn't crash from blue, maybe luck I don't know. Also I think for the nerd factor of using almost notepad looking environment will astonish some audience :)


2014-04-01 20:05 GMT+00:00 Steven Yi <stevenyi@gmail.com>:

That's a tricky thing having to do with Csound's compiler. From what I
remember of the code, I think macros are discarded each run.  John or
Victor would know better about those things.

Could you try evaluating the macro definition in addition to the new
text you would like to compile?

BTW: I think CsoundQt has the ability to select and evaluate Csound
code to a live instance, but I don't remember if it's in the latest
version that comes with the Csound installer or not.

On Tue, Apr 1, 2014 at 3:57 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Yes, I was just on a flight without internet. I was able to find that all
> out on the plain, very simple. Sometimes I ask too early for help. But this
> looks exciting. Only think I miss is that macros don't seem to work if you
> define macros text in the csd file and call it in CS6Edtiror by $MACROS, to
> speed up live coding typing.
>
>
> 2014-04-01 19:51 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>>
>> I think it's running in realtime for me as I have this in my ~/.csound6rc
>> file:
>>
>> -+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true
>>
>> I put that editor together pretty quickly as a proof of concept
>> environment.
>>
>> It looks like the shortcut I used is shift-enter. The code looks at
>> what tab is selected and will either send the selected text as score
>> or as orc code to Csound.
>>
>> Hope that helps!
>> steven
>>
>> On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > This is what made CS6editor run:
>> >
>> > In Project properties in NetBeans
>> > I chose -Run
>> > and in VM option field I inserted:
>> > -Djava.library.path=/usr/local/lib/
>> >
>> > and Bingo.
>> >
>> > Now since I'm so used to CsoundQT I'm having problems with console
>> > flags. So
>> > I was hoping you could send me your test.csd file which the program
>> > CS6Editor is originally looking for(offlist email). I made my own csd
>> > file
>> > but I'm not getting realtime audio. Plus, how do you evaluate the csound
>> > code in realtime like you did on your youtube video. Is this some key
>> > combination?
>> >
>> >
>> > 2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> That is the correct name; Java will modify the library name depending
>> >> on platform.  This means you're java.library.path is not defined, a
>> >> requirement for Java applications to run the native part of the Csound
>> >> API from Java.  On some platforms, the library is automatically picked
>> >> up from where it is installed.  On Linux though, you may need to give
>> >> that value when running the app, i.e.:
>> >>
>> >> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>> >>
>> >>
>> >> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> >> wrote:
>> >> > In netbeans I added csnd6.jar in path and that removed all the
>> >> > compilor
>> >> > error messages, I'm only left with one:
>> >> >
>> >> > _jcsound6 native code library failed to load.
>> >> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >> >
>> >> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error
>> >> > in
>> >> > some code?
>> >> >
>> >> >
>> >> >
>> >> > 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >
>> >> >> I would run it from with Netbeans while developing it. After
>> >> >> building
>> >> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> >> might need to use 'ant jar').  With that, you should be able to use
>> >> >> something like:
>> >> >>
>> >> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >> >>
>> >> >> Let me know if there's issues!
>> >> >> steven
>> >> >>
>> >> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson
>> >> >> <hlolli@gmail.com>
>> >> >> wrote:
>> >> >> > I installed NetBeans I don't know how to add compiler paths in
>> >> >> > that
>> >> >> > program
>> >> >> > or search path to add csnd6.jar.
>> >> >> >
>> >> >> > But with
>> >> >> >
>> >> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >> >
>> >> >> > I was able to do successful build. I didn't get any executable
>> >> >> > file
>> >> >> > or
>> >> >> > run
>> >> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >> >
>> >> >> > thanks Steven
>> >> >> >
>> >> >> >
>> >> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >> >
>> >> >> >> I built that application using Netbeans and the ant file is from
>> >> >> >> there. I have the csnd.jar setup within Netbeans so that's how
>> >> >> >> that
>> >> >> >> gets compiled.  I think to run it from the commandline, you may
>> >> >> >> need
>> >> >> >> to set the lib location manually, using something like:
>> >> >> >>
>> >> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >> >>
>> >> >> >> I haven't tried that, but just from looking at the
>> >> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> >> you
>> >> >> >> give that a try?
>> >> >> >>
>> >> >> >> steven
>> >> >> >>
>> >> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> >> >> > Hi all.
>> >> >> >> >
>> >> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> >> > and run ant. Then the computer starts to compile via javac. But
>> >> >> >> > I
>> >> >> >> > hit
>> >> >> >> > a
>> >> >> >> > wall
>> >> >> >> >
>> >> >> >> > package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.Csound;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >> >
>> >> >> >> > I know those definitions are located in
>> >> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >> >
>> >> >> >> > maybe the solution is to link differently when using import??
>> >> >> >> > Maybe
>> >> >> >> > some
>> >> >> >> > java expert knows how to do this?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> >> > Sent from the Csound - General mailing list archive at
>> >> >> >> > Nabble.com.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> >> > csound6:
>> >> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> >> > csound5:
>> >> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> >> > 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 trackers
>> >> >> >> csound6:
>> >> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> >> csound5:
>> >> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> >> Discussions of bugs and features can be posted here
>> >> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> >> "unsubscribe
>> >> >> >> csound"
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Hlöðver Sigurðsson
>> >> >>
>> >> >>
>> >> >> Send bugs reports to the Sourceforge bug trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> 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"
>>
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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"






--
Hlöðver Sigurðsson



--
Hlöðver Sigurðsson

Date2014-04-01 22:21
FromAndres Cabrera
SubjectRe: [Csnd] Using CS6Editor frontend
Hi,

I have made some important stability changes in CsoundQt relatively recently, are you using the very latest version? If it is csound that is crashing, any front end that uses the API will go down with it. But we are interested in hearing of any particular reproduceable crashes, in Csound or any of the applications.

Cheers,
Andrés


On Tue, Apr 1, 2014 at 1:18 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
Yes, Im familiar with csoundQT live coding function. I put more faith in CS6Editor because of frequent crashing. At least when using Blue, I never crash, just get errors. Same with cabbage, it can livecode too but it also tends to crash. Well of course to be fair it's 99% of the time because of illeagal commands or chocking the CPU, but somehow, like when choosing wrong table size for GEN01, I didn't crash from blue, maybe luck I don't know. Also I think for the nerd factor of using almost notepad looking environment will astonish some audience :)


2014-04-01 20:05 GMT+00:00 Steven Yi <stevenyi@gmail.com>:

That's a tricky thing having to do with Csound's compiler. From what I
remember of the code, I think macros are discarded each run.  John or
Victor would know better about those things.

Could you try evaluating the macro definition in addition to the new
text you would like to compile?

BTW: I think CsoundQt has the ability to select and evaluate Csound
code to a live instance, but I don't remember if it's in the latest
version that comes with the Csound installer or not.

On Tue, Apr 1, 2014 at 3:57 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Yes, I was just on a flight without internet. I was able to find that all
> out on the plain, very simple. Sometimes I ask too early for help. But this
> looks exciting. Only think I miss is that macros don't seem to work if you
> define macros text in the csd file and call it in CS6Edtiror by $MACROS, to
> speed up live coding typing.
>
>
> 2014-04-01 19:51 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>>
>> I think it's running in realtime for me as I have this in my ~/.csound6rc
>> file:
>>
>> -+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true
>>
>> I put that editor together pretty quickly as a proof of concept
>> environment.
>>
>> It looks like the shortcut I used is shift-enter. The code looks at
>> what tab is selected and will either send the selected text as score
>> or as orc code to Csound.
>>
>> Hope that helps!
>> steven
>>
>> On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > This is what made CS6editor run:
>> >
>> > In Project properties in NetBeans
>> > I chose -Run
>> > and in VM option field I inserted:
>> > -Djava.library.path=/usr/local/lib/
>> >
>> > and Bingo.
>> >
>> > Now since I'm so used to CsoundQT I'm having problems with console
>> > flags. So
>> > I was hoping you could send me your test.csd file which the program
>> > CS6Editor is originally looking for(offlist email). I made my own csd
>> > file
>> > but I'm not getting realtime audio. Plus, how do you evaluate the csound
>> > code in realtime like you did on your youtube video. Is this some key
>> > combination?
>> >
>> >
>> > 2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> That is the correct name; Java will modify the library name depending
>> >> on platform.  This means you're java.library.path is not defined, a
>> >> requirement for Java applications to run the native part of the Csound
>> >> API from Java.  On some platforms, the library is automatically picked
>> >> up from where it is installed.  On Linux though, you may need to give
>> >> that value when running the app, i.e.:
>> >>
>> >> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>> >>
>> >>
>> >> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> >> wrote:
>> >> > In netbeans I added csnd6.jar in path and that removed all the
>> >> > compilor
>> >> > error messages, I'm only left with one:
>> >> >
>> >> > _jcsound6 native code library failed to load.
>> >> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >> >
>> >> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error
>> >> > in
>> >> > some code?
>> >> >
>> >> >
>> >> >
>> >> > 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >
>> >> >> I would run it from with Netbeans while developing it. After
>> >> >> building
>> >> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> >> might need to use 'ant jar').  With that, you should be able to use
>> >> >> something like:
>> >> >>
>> >> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >> >>
>> >> >> Let me know if there's issues!
>> >> >> steven
>> >> >>
>> >> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson
>> >> >> <hlolli@gmail.com>
>> >> >> wrote:
>> >> >> > I installed NetBeans I don't know how to add compiler paths in
>> >> >> > that
>> >> >> > program
>> >> >> > or search path to add csnd6.jar.
>> >> >> >
>> >> >> > But with
>> >> >> >
>> >> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >> >
>> >> >> > I was able to do successful build. I didn't get any executable
>> >> >> > file
>> >> >> > or
>> >> >> > run
>> >> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >> >
>> >> >> > thanks Steven
>> >> >> >
>> >> >> >
>> >> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >> >
>> >> >> >> I built that application using Netbeans and the ant file is from
>> >> >> >> there. I have the csnd.jar setup within Netbeans so that's how
>> >> >> >> that
>> >> >> >> gets compiled.  I think to run it from the commandline, you may
>> >> >> >> need
>> >> >> >> to set the lib location manually, using something like:
>> >> >> >>
>> >> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >> >>
>> >> >> >> I haven't tried that, but just from looking at the
>> >> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> >> you
>> >> >> >> give that a try?
>> >> >> >>
>> >> >> >> steven
>> >> >> >>
>> >> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> >> >> > Hi all.
>> >> >> >> >
>> >> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> >> > and run ant. Then the computer starts to compile via javac. But
>> >> >> >> > I
>> >> >> >> > hit
>> >> >> >> > a
>> >> >> >> > wall
>> >> >> >> >
>> >> >> >> > package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.Csound;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >> >
>> >> >> >> > I know those definitions are located in
>> >> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >> >
>> >> >> >> > maybe the solution is to link differently when using import??
>> >> >> >> > Maybe
>> >> >> >> > some
>> >> >> >> > java expert knows how to do this?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> >> > Sent from the Csound - General mailing list archive at
>> >> >> >> > Nabble.com.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> >> > csound6:
>> >> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> >> > csound5:
>> >> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> >> > 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 trackers
>> >> >> >> csound6:
>> >> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> >> csound5:
>> >> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> >> Discussions of bugs and features can be posted here
>> >> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> >> "unsubscribe
>> >> >> >> csound"
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Hlöðver Sigurðsson
>> >> >>
>> >> >>
>> >> >> Send bugs reports to the Sourceforge bug trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> 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"
>>
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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"






--
Hlöðver Sigurðsson


Date2014-04-05 12:52
FromHlöðver Sigurðsson
SubjectRe: [Csnd] Using CS6Editor frontend
Try this Andres:

<CsoundSynthesizer>

<CsOptions>

</CsOptions>

<CsInstruments>

sr = 48000

ksmps = 128

nchnls = 2

0dbfs = 1


giSq ftgen 2, 0, 256, -7, 1, 128, 1, 0, -1, 128, -1



#include "live.txt"


instr 1

kTimi times

if (kTimi%2 == 0) goto nota

goto endir

nota:

event "i", 2, 0, 1

rireturn

endir:

reinit nota

endin


instr 2

kVol = -20

kNote = 8.00

$Square

endin


</CsInstruments>

<CsScore>

f 0 3600

i 1 0 360



</CsScore>

</CsoundSynthesizer>


where live.txt is


#define Square #
kNota = cpspch(kNote)
kamp = ampdbfs(kVol)
aSig oscil kamp, kNota, giSq
kEnv expon 1, 1, 0.01
aFilt moogvcf aSig*kEnv, 5000, 0.8
outs aFilt, aFilt
#


CsoundQT crashes when I revalueate kVol = -20 or kNote = 8.00

can you see if this will crash your CsoundQt?

I'm btw using 0.8.2 version on Linux Fedora.







2014-04-01 21:21 GMT+00:00 Andres Cabrera <mantaraya36@gmail.com>:
Hi,

I have made some important stability changes in CsoundQt relatively recently, are you using the very latest version? If it is csound that is crashing, any front end that uses the API will go down with it. But we are interested in hearing of any particular reproduceable crashes, in Csound or any of the applications.

Cheers,
Andrés


On Tue, Apr 1, 2014 at 1:18 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
Yes, Im familiar with csoundQT live coding function. I put more faith in CS6Editor because of frequent crashing. At least when using Blue, I never crash, just get errors. Same with cabbage, it can livecode too but it also tends to crash. Well of course to be fair it's 99% of the time because of illeagal commands or chocking the CPU, but somehow, like when choosing wrong table size for GEN01, I didn't crash from blue, maybe luck I don't know. Also I think for the nerd factor of using almost notepad looking environment will astonish some audience :)


2014-04-01 20:05 GMT+00:00 Steven Yi <stevenyi@gmail.com>:

That's a tricky thing having to do with Csound's compiler. From what I
remember of the code, I think macros are discarded each run.  John or
Victor would know better about those things.

Could you try evaluating the macro definition in addition to the new
text you would like to compile?

BTW: I think CsoundQt has the ability to select and evaluate Csound
code to a live instance, but I don't remember if it's in the latest
version that comes with the Csound installer or not.

On Tue, Apr 1, 2014 at 3:57 PM, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
> Yes, I was just on a flight without internet. I was able to find that all
> out on the plain, very simple. Sometimes I ask too early for help. But this
> looks exciting. Only think I miss is that macros don't seem to work if you
> define macros text in the csd file and call it in CS6Edtiror by $MACROS, to
> speed up live coding typing.
>
>
> 2014-04-01 19:51 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>>
>> I think it's running in realtime for me as I have this in my ~/.csound6rc
>> file:
>>
>> -+rtaudio=pa_bl -g -o dac -W -d -+ignore_csopts=true
>>
>> I put that editor together pretty quickly as a proof of concept
>> environment.
>>
>> It looks like the shortcut I used is shift-enter. The code looks at
>> what tab is selected and will either send the selected text as score
>> or as orc code to Csound.
>>
>> Hope that helps!
>> steven
>>
>> On Sat, Mar 29, 2014 at 9:24 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> wrote:
>> > This is what made CS6editor run:
>> >
>> > In Project properties in NetBeans
>> > I chose -Run
>> > and in VM option field I inserted:
>> > -Djava.library.path=/usr/local/lib/
>> >
>> > and Bingo.
>> >
>> > Now since I'm so used to CsoundQT I'm having problems with console
>> > flags. So
>> > I was hoping you could send me your test.csd file which the program
>> > CS6Editor is originally looking for(offlist email). I made my own csd
>> > file
>> > but I'm not getting realtime audio. Plus, how do you evaluate the csound
>> > code in realtime like you did on your youtube video. Is this some key
>> > combination?
>> >
>> >
>> > 2014-03-14 16:46 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >
>> >> That is the correct name; Java will modify the library name depending
>> >> on platform.  This means you're java.library.path is not defined, a
>> >> requirement for Java applications to run the native part of the Csound
>> >> API from Java.  On some platforms, the library is automatically picked
>> >> up from where it is installed.  On Linux though, you may need to give
>> >> that value when running the app, i.e.:
>> >>
>> >> java -Djava.library.path=/path/to/directory/where/.so/is -jar ...
>> >>
>> >>
>> >> On Thu, Mar 13, 2014 at 8:42 PM, Hlöðver Sigurðsson <hlolli@gmail.com>
>> >> wrote:
>> >> > In netbeans I added csnd6.jar in path and that removed all the
>> >> > compilor
>> >> > error messages, I'm only left with one:
>> >> >
>> >> > _jcsound6 native code library failed to load.
>> >> > java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
>> >> >
>> >> > Im guessing this is supposed to be lib_jcsound6.so maybe a typo error
>> >> > in
>> >> > some code?
>> >> >
>> >> >
>> >> >
>> >> > 2014-03-13 23:39 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >
>> >> >> I would run it from with Netbeans while developing it. After
>> >> >> building
>> >> >> it, there should be a CS6Editor.jar file in the dist folder.  (You
>> >> >> might need to use 'ant jar').  With that, you should be able to use
>> >> >> something like:
>> >> >>
>> >> >> java -jar dist/CS6Editor.jar -cp /path/to/csnd6.jar
>> >> >>
>> >> >> Let me know if there's issues!
>> >> >> steven
>> >> >>
>> >> >> On Thu, Mar 13, 2014 at 7:33 PM, Hlöðver Sigurðsson
>> >> >> <hlolli@gmail.com>
>> >> >> wrote:
>> >> >> > I installed NetBeans I don't know how to add compiler paths in
>> >> >> > that
>> >> >> > program
>> >> >> > or search path to add csnd6.jar.
>> >> >> >
>> >> >> > But with
>> >> >> >
>> >> >> > ant -Dlibs.csnd6.classpath=/home/hlolli-linux/Csound6.02/csnd6.jar
>> >> >> >
>> >> >> > I was able to do successful build. I didn't get any executable
>> >> >> > file
>> >> >> > or
>> >> >> > run
>> >> >> > script, so maybe I should ask first, how do you run CS6Editor?
>> >> >> >
>> >> >> > thanks Steven
>> >> >> >
>> >> >> >
>> >> >> > 2014-03-13 18:29 GMT+00:00 Steven Yi <stevenyi@gmail.com>:
>> >> >> >
>> >> >> >> I built that application using Netbeans and the ant file is from
>> >> >> >> there. I have the csnd.jar setup within Netbeans so that's how
>> >> >> >> that
>> >> >> >> gets compiled.  I think to run it from the commandline, you may
>> >> >> >> need
>> >> >> >> to set the lib location manually, using something like:
>> >> >> >>
>> >> >> >> ant -Dlibs.csnd6.classpath=/path/to/csnd.jar
>> >> >> >>
>> >> >> >> I haven't tried that, but just from looking at the
>> >> >> >> nbproject/build-impl.xml that looks like the value to set.  Could
>> >> >> >> you
>> >> >> >> give that a try?
>> >> >> >>
>> >> >> >> steven
>> >> >> >>
>> >> >> >> On Tue, Mar 11, 2014 at 8:39 PM, hlolli <hlolli@gmail.com> wrote:
>> >> >> >> > Hi all.
>> >> >> >> >
>> >> >> >> > I'm trying to use CS6Editor on Linux. I cd to
>> >> >> >> > Csound6.02/frontends/CS6Editor
>> >> >> >> > and run ant. Then the computer starts to compile via javac. But
>> >> >> >> > I
>> >> >> >> > hit
>> >> >> >> > a
>> >> >> >> > wall
>> >> >> >> >
>> >> >> >> > package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.Csound;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.CsoundArgVList;
>> >> >> >> >
>> >> >> >> > error: package csnd6 does not exist
>> >> >> >> >     [javac] import csnd6.csnd6;
>> >> >> >> >
>> >> >> >> > I know those definitions are located in
>> >> >> >> > CS6Editor/src/cs6editor/MainWindow.java
>> >> >> >> >
>> >> >> >> > maybe the solution is to link differently when using import??
>> >> >> >> > Maybe
>> >> >> >> > some
>> >> >> >> > java expert knows how to do this?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > View this message in context:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > http://csound.1045644.n5.nabble.com/Using-CS6Editor-frontend-tp5733166.html
>> >> >> >> > Sent from the Csound - General mailing list archive at
>> >> >> >> > Nabble.com.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Send bugs reports to the Sourceforge bug trackers
>> >> >> >> > csound6:
>> >> >> >> >             https://sourceforge.net/p/csound/tickets/
>> >> >> >> > csound5:
>> >> >> >> >             https://sourceforge.net/p/csound/bugs/
>> >> >> >> > 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 trackers
>> >> >> >> csound6:
>> >> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> >> csound5:
>> >> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> >> Discussions of bugs and features can be posted here
>> >> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> >> "unsubscribe
>> >> >> >> csound"
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Hlöðver Sigurðsson
>> >> >>
>> >> >>
>> >> >> Send bugs reports to the Sourceforge bug trackers
>> >> >> csound6:
>> >> >>             https://sourceforge.net/p/csound/tickets/
>> >> >> csound5:
>> >> >>             https://sourceforge.net/p/csound/bugs/
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe
>> >> >> csound"
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Hlöðver Sigurðsson
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug trackers
>> >> csound6:
>> >>             https://sourceforge.net/p/csound/tickets/
>> >> csound5:
>> >>             https://sourceforge.net/p/csound/bugs/
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Hlöðver Sigurðsson
>>
>>
>> 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"
>>
>>
>>
>
>
>
> --
> Hlöðver Sigurðsson


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"






--
Hlöðver Sigurðsson




--
Hlöðver Sigurðsson