[Csnd] What's Up with csoundo (for Processing)
Date | 2012-08-19 20:38 |
From | Jim Aikin |
Subject | [Csnd] What's Up with csoundo (for Processing) |
It appears that Jacob Joaquin has abandoned development of the csoundo library for Processing. (Thanks for pointing me in this direction, Steven!) I would _love_ to get this library running, but unfortunately I'm a little out of my depth here. Well, maybe more than a little. I downloaded it and put it in its proper location. I can import it into a new Processing project, but of course I have no idea yet what to DO with it. So I try loading files from the examples directory. I consistently get this error: Exception in thread "Animation Thread" Java.lang.UnsatisfiedLinkError: csnd.csndJNI.VERSION_get()Ljava/lang/String; ...et cetera. The code line that is failing seems to be: cs = new Csoundo(this, "events.csd"); cs.run(); The error highlighted is on the cs.run line. Well, if you can't run it, you won't get far. I know that much. I'm using Processing 1.5.1 in Windows 7, if that makes a difference. Does anyone have any experience with this library? Is anyone working on developing it further? -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-08-29 12:14 |
From | Rory Walsh |
Subject | Re: [Csnd] What's Up with csoundo (for Processing) |
Hi Jim. I've been able to get this working on my Windows 7 machine without too much problems. There was a discussion about this on the list not so long ago, you might be able to find some answers by looking through the archive. Sorry I can't give this more time right now, I'm just back from a long break and I've a million and one things to catch up on. If you don't find a solution in the next few days please ask again, I should have more time to help then. Rory. On 19 August 2012 21:38, Jim Aikin |
Date | 2012-09-11 02:49 |
From | Cacophony7 |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
Hi Jim! It's me, Michael Sparks. I got this csoundo running on Windows 7 months ago. Rory Walsh and other people helped me out (http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-td5639076.html#. love your Csound Power! book. I made it to page 150 and a friend of mine who has never programed before wants to learn Csound. I'm learning Java right now and Java helps me understand the Processing language too #Processing is written in Java) (http://stackoverflow.com/questions/10159008/will-java-help-me-understand-processing). -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715620.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-11 16:43 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
Thanks, Michael. I'll have to go through that thread in more detail ... I just skim-read it, and it appears the answer is lurking in there somewhere, but it's kind of spread out across a number of messages. Something about .jar files, I gather. Since I know basic C++, Java code is not a problem for me. Java dependencies (as in .jar files) are another kettle of flounder.... --JA -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715623.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-11 16:45 |
From | Jacob Joaquin |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
Once again, I have to apologize for not being a good maintainer of this project. If anyone wants admin privileges at github for this project, let me know. Best, Jake
On Tue, Sep 11, 2012 at 8:43 AM, Jim Aikin <midiguru23@sbcglobal.net> wrote: Thanks, Michael. I'll have to go through that thread in more detail ... I codehop.com | #code #art #music |
Date | 2012-09-11 16:52 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
Actually Jake, I might request admin privileges in the future if that's ok. I'll contact you off-list in a few weeks. Thanks, Rory. On 11 September 2012 16:45, Jacob Joaquin |
Date | 2012-09-11 18:58 |
From | Enrico Francioni |
Subject | [Csnd] [OT] |
Hello! I know that my question is off topic. I'm trying to run "Processing" with an external sound card (which will have a microphone attached) but "Processing" does not really want to know ... I am using the Minim library (for working with audio and Processing). Can anyone help me to solve this problem? ciao, enrico /P.S. instead Processing works well with a microphone connected directly to my PC, so with the internal sound card./ -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715628.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-11 20:02 |
From | john saylor |
Subject | Re: [Csnd] [OT] |
ciao On 9/11/12, Enrico Francioni |
Date | 2012-09-12 02:33 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
I wish I could step forward and volunteer -- but alas, I'm not a real programmer, only a hobbyist. I hope someone will have the bandwidth to take it on, as Processing (with the ControlP5 extension) seems to provide a very nice setup for building a Csound GUI. And of course the ability to run Csound in the background while graphics are rendering in the foreground would be an awesome way to do animations-plus-audio. -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715632.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-13 17:29 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
I have now reviewed the message thread from back in April about Csoundo, and I can't see that there's any information in it that would apply to my situation. I've got Csoundo installed properly in Documents/Processing/Libraries, but when I attempt to run any of your example files, I get an error at the line: cs.run(); The output in the console pane is: Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: csnd.csndJNI.VERSION_get()Ljava/lang/String; at csnd.csndJNI.VERSION_get(Native Method) at csnd.csndConstants. |
Date | 2012-09-13 18:46 |
From | Victor.Lazzarini@nuim.ie |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
Attachments | None None |
Date | 2012-09-13 19:08 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
> I reckon the Csound library etc is compiled for 32bit HW (i386) and your Java environment > is 64bit (x86_64). That's entirely possible, Victor, though I wouldn't know how to check whether it's the case. Can anyone suggest what I might be able to do to fix it? --JA -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715725.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-13 23:37 |
From | Steven Yi |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
Hi Jim, You could try running on a cmd prompt: java -version On OSX, there's a command options to force 32-bit mode using: java -d32 that may be available for windows. steven On Thu, Sep 13, 2012 at 8:08 PM, Jim Aikin |
Date | 2012-09-14 00:30 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
At the Command Prompt, I get: C:\Users\Jim Aikin>java -version 'java' is not recognized as an internal or external command, operable program or batch file. Processing is based on Java, but I would have no idea whether it's actually _using_ Java, or whether it's self-contained. OTOH, I know I'm able to run blue, and I know it uses Java, so there's probably something _else_ that I don't understand here. Even if I did get a response that told me which Java version I'm using, I would have no idea how to make use of that information. For starters, I'm not running Processing from the command line.... Thanks for the suggestion. I'm not trying to be a whiner here, I'm just baffled. --JA -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715749.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-14 09:28 |
From | Rory Walsh |
Subject | Re: [Csnd] What's Up with csoundo (for Processing) |
Hi Jim. I've a fresh win7 64 bit machine here that I can try to get it running on. I'll let you know if I have any luck. On Friday, 14 September 2012, Jim Aikin <midiguru23@sbcglobal.net> wrote: > At the Command Prompt, I get: > > C:\Users\Jim Aikin>java -version > 'java' is not recognized as an internal or external command, > operable program or batch file. > > Processing is based on Java, but I would have no idea whether it's actually > _using_ Java, or whether it's self-contained. OTOH, I know I'm able to run > blue, and I know it uses Java, so there's probably something _else_ that I > don't understand here. > > Even if I did get a response that told me which Java version I'm using, I > would have no idea how to make use of that information. For starters, I'm > not running Processing from the command line.... > > Thanks for the suggestion. I'm not trying to be a whiner here, I'm just > baffled. > > --JA > > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715749.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 | 2012-09-14 10:59 |
From | Rory Walsh |
Subject | Re: [Csnd] What's Up with csoundo (for Processing) |
No problems here Jim(with Processing 1.5.1, see below for Processing 2.0b.3). ------Processing 1.5.1-------- I'm starting to think you may have downloaded the wrong version of Csound. Did you installed the doubles version from this page: https://github.com/jacobjoaquin/Csoundo/downloads If so then it's just a case of dumping csnd.jar into the Csoundo libraries folder, and then placing the entire csoundo folder into your Processing->Libraries folder. This Processing folder is the one placed by default into your Documents folder. You don't need to put anything into the actual Processing program folder, wherever you may have installed that. After you put the Csound folder there you can open Processing and go to open the examples. Csoundo will be down at the bottom under contributed libraries. Click on something like random to see to see if it all works. ------Processing 2.0.b3-------- With Processing 2.0.b3 I get the following error: _jcsound native code library failed to load. java.lang.UnsatisfiedLinkError: C:\Users\Rory\Documents\SourceCode\CsoundInstall\Csound\bin\_jcsound.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform Strange because I'm using an Intel 64bit platform? Anyone have any ideas? It would be neat to be able to design Csound app with Processing and then bounce them directly over to one's phone(http://wiki.processing.org/w/Android). On 14 September 2012 09:28, Rory Walsh |
Date | 2012-09-14 13:57 |
From | David |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
That just means the Java run-time executable isn't in the PATH variable. If you want to run Java from a command line, you have to add it to the PATH environment variable (Control Panel -> System -> Advanced tab -> Environment Variables -> Edit). Same with Linux, it has to be in the PATH environment variable. It may be found by other applications, like Processing, because the location is stored somewhere, but that won't help from the command line. David. On Thu, Sep 13, 2012 at 7:30 PM, Jim Aikin |
Date | 2012-09-14 16:07 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
> I'm starting to think you may have downloaded the wrong version of > Csound. Nope. Doubles version 5.18.02. > If so then it's just a case of dumping csnd.jar into the Csoundo > libraries folder, and then placing the entire csoundo folder into your > Processing->Libraries folder. It's in the correct place. I have three other Processing libraries in that same location, and they all work fine. But csoundo fails consistently. I'm using Windows 7 Home Premium 64-bit. This might be a 32-vs.-64 problem, but you seem to be saying you're using 64-bit too. It occurred to me, in a momentary flash, that maybe I was supposed to create a .csd file and put it somewhere. But no, the .csd files for the examples are all in the data folders, which presumably is where Processing expects to find them. So that's not the explanation either. What I get is this: UnsatisfiedLinkError: csnd.csndJNI.VERSION_get()Ljava/lang/String; at csnd.csndJNI.VERSION_get(Native Method) at csnd.csndConstants. |
Date | 2012-09-14 16:10 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
Sorry Jim, I meant to say the wrong version of csoudo! Are you absolutely sure you are using the doubles version of csoundo? You need to dig to find it.. On 14 September 2012 16:07, Jim Aikin |
Date | 2012-09-14 17:24 |
From | Jim Aikin |
Subject | [Csnd] Re: What's Up with csoundo (for Processing) |
> Sorry Jim, I meant to say the wrong version of csoudo! Are you > absolutely sure you are using the doubles version of csoundo? You need > to dig to find it.. Well, the Downloads page on Jacob's github site _only_ has the doubles.zip file of csoundo 0.1.2. There doesn't seem to be any floats file. So I'm not sure where I would need to dig, but as far as I can see, the doubles version is definitely the one that I'm using, unless the zip file is mislabeled. Can you be more specific about the digging part? -- View this message in context: http://csound.1045644.n5.nabble.com/What-s-Up-with-csoundo-for-Processing-tp5715005p5715775.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-09-15 03:44 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: What's Up with csoundo (for Processing) |
I guess you have the right download. There must be something we're missing. I'll go over all the details again tomorrow and see if I can come up with anything that might help. I'm pretty sure we are both using the same OS? On 14 September 2012 17:24, Jim Aikin |