[Csnd] Announce: Csoundo Processing Library
Date | 2010-08-09 01:58 |
From | Jacob Joaquin |
Subject | [Csnd] Announce: Csoundo Processing Library |
I'm happy to announce the first release of Csoundo, a Processing library for Csound. Csoundo Repository @ Github http://github.com/jacobjoaquin/Csoundo Download Csoundo http://github.com/jacobjoaquin/Csoundo/downloads This has only been tested on OS X Leopard and Snow Leopard. In fact, it ships with the OS X csnd.jar, so it might work for anyone on OS X out of the box, once you install Csoundo into your Processing sketchbook 'libraries' folder (see the README for details). For other platforms, you'll need to replace the csnd.jar file with your system's csnd.jar file. Not sure if it'll work on Windows or Linux, but I'd love to hear either way. It comes with three examples: A mouse theremin, f-table to graph and a visualization experiment. Thanks to everyone who has been helping me out here on the list and over private email. I will definitely include a 'special thanks' in future releases. Best, Jake |
Date | 2010-08-09 10:25 |
From | Rory Walsh |
Subject | [Csnd] Re: Announce: Csoundo Processing Library |
Thanks Jakob, I look forward to testing this on windows and Linux. Isn't it a Csound library for Processing however, rather than the other way around as you've described it? Either way I'll let you know how I get on. Rory. On 9 August 2010 01:58, Jacob Joaquin |
Date | 2010-08-09 16:10 |
From | Rory Walsh |
Subject | [Csnd] Re: Announce: Csoundo Processing Library |
Hi Jacob, and apologies for misspelling your name earlier! I've tried to get this working on Linux but I'm getting an error saying: csoundo 0.1.1 by Jacob Joaquin http://csoundblog.com _jcsound native code library failed to load. java.lang.UnsatisfiedLinkError: no _jcsound in java.library.path I just rebuilt Csound with buildJavaWrapper so I have my own csnd.jar file which I then used to replace the one that you had in your zip file. Anything else I should be doing? I have my OPCODEDIR set and it contains lib_jcsound.so so I don't know why Processing isn't seeing it. I then tried adding my csound directory to the java.library.path using the following command: rory@d630:~/SourceCode/csound/csound5$ java -D java.library.path=/home/rory/SourceCode/csound/csound5 Which results in this: Exception in thread "main" java.lang.NoClassDefFoundError: java/library/path=/home/rory/SourceCode/csound/csound5 Caused by: java.lang.ClassNotFoundException: java.library.path=.home.rory.SourceCode.csound.csound5 at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: java.library.path=/home/rory/SourceCode/csound/csound5. Program will exit. Any ideas? Regards, Rory. 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" |
Date | 2010-08-09 16:16 |
From | Felipe Sateler |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
Attachments | signature.asc |
On 09/08/10 11:10, Rory Walsh wrote: > Hi Jacob, and apologies for misspelling your name earlier! I've tried > to get this working on Linux but I'm getting an error saying: > > csoundo 0.1.1 by Jacob Joaquin http://csoundblog.com > _jcsound native code library failed to load. > java.lang.UnsatisfiedLinkError: no _jcsound in java.library.path You need to install lib_jcsound.so somewhere in your java JNI search path. > > I just rebuilt Csound with buildJavaWrapper so I have my own csnd.jar > file which I then used to replace the one that you had in your zip > file. Anything else I should be doing? I have my OPCODEDIR set and it > contains lib_jcsound.so so I don't know why Processing isn't seeing > it. I then tried adding my csound directory to the java.library.path > using the following command: > > rory@d630:~/SourceCode/csound/csound5$ java -D > java.library.path=/home/rory/SourceCode/csound/csound5 I believe (not sure) that with that command you actually wiped out the entire java search path and replaced it with your csound build dir, instead of just adding the dir. Thus, no wonder a java program will not work. Try installing lib_jcsound.so somewhere in the java JNI search path (in debian [and derivatives, I think], this can be /usr/lib/jni) instead. -- Saludos, Felipe Sateler |
Date | 2010-08-09 19:33 |
From | Rory Walsh |
Subject | [Csnd] Re: Announce: Csoundo Processing Library |
Works fine on windows. Still no luck on linux however.. On 9 August 2010 01:58, Jacob Joaquin |
Date | 2010-08-09 20:04 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
Might have to do with ".pyd" required for Python extension modules on Windows and ".so" on Linux. Regards, Mike On Mon, Aug 9, 2010 at 2:33 PM, Rory Walsh |
Date | 2010-08-09 20:06 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
Why would Python have anything to do with the java wrappers? On 9 August 2010 20:04, Michael Gogins |
Date | 2010-08-09 20:38 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Re: Re: Announce: Csoundo Processing Library |
Duuuh.... but it still could be a library loading or naming problem... Regards, Mike On Mon, Aug 9, 2010 at 3:06 PM, Rory Walsh |
Date | 2010-08-09 20:50 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
Yes, of course run ldconfig or run ldd on the extension library or pldd on the program. Regards, Mike On Mon, Aug 9, 2010 at 3:51 PM, Victor Lazzarini |
Date | 2010-08-09 20:51 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
On Mon, Aug 9, 2010 at 11:33 AM, Rory Walsh |
Date | 2010-08-09 20:51 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
Maybe it's there but it can't find one of its dependencies (ie. libcsnd.so or libcsound.so). Maybe a case of running ldconfig? On 9 Aug 2010, at 16:10, Rory Walsh wrote: > _jcsound native code library failed to load. 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" |
Date | 2010-08-09 20:58 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
And by the way, I really appreciate the extra work you guys are doing, testing it out, trying to get it to run on other platforms, asking and answering questions, etc... Thank you! Jake 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" |
Date | 2010-08-09 21:06 |
From | "Caecos" |
Subject | [Csnd] RE: Re: Re: Announce: Csoundo Processing Library |
Just my two cents... It works for me too on Windows (XP Pro, Vista Ultimate et Seven Ultimate). I used the Csound binairies (floating version) from Sourceforge. Marc -----Message d'origine----- De : Jacob Joaquin [mailto:jacobjoaquin@gmail.com] Envoyé : 9 août 2010 15:59 À : csound@lists.bath.ac.uk Objet : [Csnd] Re: Re: Announce: Csoundo Processing Library And by the way, I really appreciate the extra work you guys are doing, testing it out, trying to get it to run on other platforms, asking and answering questions, etc... Thank you! Jake 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" |
Date | 2010-08-09 21:12 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
Jacob Joaquin wrote: > And by the way, I really appreciate the extra work you guys are doing, > testing it out, trying to get it to run on other platforms, asking and > answering questions, etc... > > A note: The Linux version of AVSynthesis also requires csnd.jar and lib_jcsound.so. It expects to find the jar file in CLASSPATH and the lib in $HOME/AVSynthesis/lib. The paths to both of those components are declared in the launch command : java -Xmx1024m -Djava.library.path=./lib -cp AVSynthesis.jar:./lib/* org.avs.AVSynthesis Perhaps a similar command could be used for your library ? On Linux, lib_jcsound.so is installed to /usr/local/lib, csnd.jar to /usr/local/lib/csound/java (when I build Csound myself). I haven't got into Processing yet, so give me some time to get it set up, then I'll look into the library problem. Best, dp 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" |
Date | 2010-08-09 23:06 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: Announce: Csoundo Processing Library |
Still no luck here. I've tried modifying Dave's command line but I still get errors. I've also tried running ldconfig but that didn't help either. My main issue is that I can seem to add the needed paths to my csound java/lib files to the java.library.path, as I can't do this Processing is giving out saying that _jcsound native code library failed to load. java.lang.UnsatisfiedLinkError: no _jcsound in java.library.path Obviously I need to set the path up properly. I've tried every combination of what Dave provided and what I could find on the net, still no joy. On 9 August 2010 21:12, Dave Phillips |
Date | 2010-08-09 23:14 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: Announce: Csoundo Processing Library |
One more thing. When I try something as simple as: java -Djava.library.path=/usr/local/lib/csound/java/ I get a list of usage commands. Surely this should not call usage commands? From what I've seen elsewhere this should be a perfectly valid command.. On 9 August 2010 23:06, Rory Walsh |
Date | 2010-08-10 00:19 |
From | Felipe Sateler |
Subject | [Csnd] Re: Re: Re: Re: Re: Announce: Csoundo Processing Library |
Attachments | signature.asc |
On 09/08/10 18:14, Rory Walsh wrote: > One more thing. When I try something as simple as: > > java -Djava.library.path=/usr/local/lib/csound/java/ > > I get a list of usage commands. Surely this should not call usage > commands? From what I've seen elsewhere this should be a perfectly > valid command.. I believe it is not. Java is a command that runs java programs. In the above command, you have not run any programs, thus java tells you how to invoke it. Have you tried Michael's suggestion (invoking ldd on lib_jcsound.so)? If the command says it cannot find libcsnd or libcsound, try prepending LD_LIBRARY_PATH=/path/to/csound to the invocation. -- Saludos, Felipe Sateler |
Date | 2010-08-10 00:51 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Announce: Csoundo Processing Library |
Felipe Sateler wrote: > On 09/08/10 18:14, Rory Walsh wrote: > >> One more thing. When I try something as simple as: >> >> java -Djava.library.path=/usr/local/lib/csound/java/ >> >> I get a list of usage commands. Surely this should not call usage >> commands? From what I've seen elsewhere this should be a perfectly >> valid command.. >> > > I believe it is not. Java is a command that runs java programs. In the > above command, you have not run any programs, thus java tells you how to > invoke it. > > Felipe is correct. My bad, I should have posted the complete launch command for AVS : java -Xmx1024m -Djava.library.path=./lib -cp AVSynthesis.jar:./lib/* org.avs.AVSynthesis Best, dp 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" |
Date | 2010-08-10 07:53 |
From | Rory Walsh |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Announce: Csoundo Processing Library |
On the contrary Dave, you did post the complete command line. I just wasn't quite sure what the 'org.avs.AVSynthesis' referred to. I'm just looking through the script that launches processing now to see if I can find out where I can add this command.. On 10 August 2010 00:51, Dave Phillips |
Date | 2010-08-11 21:26 |
From | Enrico Francioni |
Subject | [Csnd] Re: Announce: Csoundo Processing Library |
hi! I'm installing Csoundo, but, for osx (10.4), I can not understand the step number 3 of the installation: 3) Copy the Csoundo folder into your Processing 'libraries' folder. To find out where your sketchbook 'libraries' is located, open preferences in Processing. bye e |
Date | 2010-08-11 22:01 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
On Wed, Aug 11, 2010 at 1:26 PM, Enrico Francioni |
Date | 2010-08-12 12:38 |
From | Enrico Francioni |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
…but also in ppc? thanks, e -- View this message in context: http://csound.1045644.n5.nabble.com/Announce-Csoundo-Processing-Library-tp2268382p2473130.html Sent from the Csound - General mailing list archive at Nabble.com. 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" |
Date | 2010-08-12 13:06 |
From | Dave Phillips |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
Jacob Joaquin wrote: > Here's are better instructions at Processing.org: > > http://wiki.processing.org/w/How_to_Install_a_Contributed_Library > > > And here's my attempt at explaining it better... Thanks, Jake, the instructions look good. I've installed Processing on Ubuntu 10.04, 32-bit, with Csound compiled for doubles. Installation is a no-brainer, and I've been running the examples from the Getting Started book (a great text, btw). Today I'll install and test Csoundo. > I'll include better directions in the next release. > Looking forward to it already. :) Best, dp 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" |
Date | 2010-08-12 13:47 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
On Thu, Aug 12, 2010 at 4:38 AM, Enrico Francioni |
Date | 2010-08-12 14:18 |
From | "Caecos" |
Subject | [Csnd] RE: Re: Re: Re: Announce: Csoundo Processing Library |
On Windows, Csoundo does not works with the double version of Csound, only the floating one. Marc -----Message d'origine----- De : Jacob Joaquin [mailto:jacobjoaquin@gmail.com] Envoyé : 12 août 2010 08:47 À : csound@lists.bath.ac.uk Objet : [Csnd] Re: Re: Re: Announce: Csoundo Processing Library On Thu, Aug 12, 2010 at 4:38 AM, Enrico Francioni |
Date | 2010-08-12 14:21 |
From | "Dr. Richard Boulanger" |
Subject | [Csnd] Re: RE: Re: Re: Re: Announce: Csoundo Processing Library |
on OSX 10.6 it is complaining about the incompatible floating point version of Csound ? On Thu, Aug 12, 2010 at 9:18 AM, Caecos <mddemers@hotmail.com> wrote: On Windows, Csoundo does not works with the double version of Csound, only the floating one. |
Date | 2010-08-12 14:29 |
From | "Caecos" |
Subject | [Csnd] RE: Re: RE: Re: Re: Re: Announce: Csoundo Processing Library |
Quite strange… I will try to find a Mac to try it out this weekend… Marc De :
rboulanger56@gmail.com [mailto:rboulanger56@gmail.com] De la part de Dr.
Richard Boulanger
on OSX 10.6 it is complaining about the incompatible floating point version of Csound ? On Thu, Aug 12, 2010 at 9:18 AM, Caecos <mddemers@hotmail.com> wrote: On Windows, Csoundo does not works with the double version of Csound, only the floating one.
Envoyé : 12 août 2010 08:47 Objet : [Csnd] Re: Re: Re: Announce: Csoundo Processing Library
|
Date | 2010-08-13 01:17 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: RE: Re: Re: Re: Announce: Csoundo Processing Library |
On Thu, Aug 12, 2010 at 6:21 AM, Dr. Richard Boulanger |
Date | 2010-09-05 09:34 |
From | Enrico Francioni |
Subject | [Csnd] Re: Re: Announce: Csoundo Processing Library |
Hi Jacob. I installed Processing 1.2.1 and I downloaded the new version of your csoundo-0.1.2 on my ppc OSX 10.4.11. Then I copied csoundo (no csoundo-0.1.2) in the folder: Users/ enrico / Documents / Processing / Sketchbook / libraries. Processing works with the "Examples"… but this message when I turn the files taken from csoundo (Sketchbook). Why? Perhaps csoundo does not work on my ppc OS 10.4.11? Thanks, e ERROR MESSAGE: [ClassNotFoundException: csnd.Csound] csoundo 0.1.2 by Jacob Joaquin http://csoundblog.com processing.app.debug.RunnerException: ClassNotFoundException: csnd.Csound at processing.app.Sketch.placeException(Sketch.java:1543) at processing.app.debug.Runner.findException(Runner.java:583) at processing.app.debug.Runner.reportException(Runner.java:558) at processing.app.debug.Runner.exception(Runner.java:498) at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367) at processing.app.debug.EventThread.handleEvent(EventThread.java:255) at processing.app.debug.EventThread.run(EventThread.java:89) processing.app.debug.RunnerException: ClassNotFoundException: csnd.Csound at processing.app.Sketch.placeException(Sketch.java:1543) at processing.app.debug.Runner.findException(Runner.java:583) at processing.app.debug.Runner.reportException(Runner.java:558) at processing.app.debug.Runner.exception(Runner.java:498) at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367) at processing.app.debug.EventThread.handleEvent(EventThread.java:255) at processing.app.debug.EventThread.run(EventThread.java:89) Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: csnd/Csound at csoundo.Engine. |
Date | 2010-09-06 23:54 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: Announce: Csoundo Processing Library |
On Sun, Sep 5, 2010 at 1:34 AM, Enrico Francioni |