[Csnd] Trying to get Csoundo Processing library to work on Windows 7
Date | 2012-04-13 19:04 |
From | Cacophony7 |
Subject | [Csnd] Trying to get Csoundo Processing library to work on Windows 7 |
Yesterday I downloaded Processing 1.5.1 from the Processing website and Csoundo (alpha) from the github website and I'm trying hard to get the library to work inside of Processing but first I need to install the library before I can even figure out how it works. Jacob Joaquin left a README file and part of it states: ---------------------------------------------------------------------------- There have been reports of Csoundo working on various versions of Windows. I do not have Windows installed. If you have better instructions, please email me, and I will incorporate them into the Csoundo knowledge base. 1) Install Csound: http://csound.sourceforge.net/ 2) Copy the Csoundo folder into your Processing 'libraries' folder. See instructions at Processing.org: http://wiki.processing.org/w/How_to_Install_a_Contributed_Library 3) Copy the csnd.jar here: yoursketchbook/libraries/csoundo/library ---------------------------------------------------------------------------- BUT I couldn't find the csnd.jar file within the Csoundo download (or a folder named, "yoursketchbook"). However, I found 3 Java files (.java but not .jar): - Csoundo.java - Engine.java - Mutex.java please help, I'm trying hard to get Csoundo to work. I might have to go to the Processing forum or e-mail Jacob Joaquin. I'll try anything ethical or, after that, anything that would resemble an educated guess. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5639076.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-13 19:38 |
From | David |
Subject | Re: [Csnd] Trying to get Csoundo Processing library to work on |
Have you worked in Java before? A "jar" file is really just a zip (compressed) file containing compiled Java code and other resources your Java app requires. You have to compile the Java code first, to create "class" files, which you would then package into a "jar" file with the appropriate Java tool. I took a look at the github site, and it appears he's only distributing it as source code, so you'll need to compile the stuff yourself. Since Processing is built on top of Java, you have a Java compiler already. "yoursketchbook" is the name of the Processing sketch or project you want to use Csoundo with. Just substitute your name for "yoursketchbook". If I have time (I can't promise), I'll try it myself this weekend. I already have Processing and Csound installed on my Windows 7 machine. I'm interested in Csound and Processing as well. David. On Fri, Apr 13, 2012 at 2:04 PM, Cacophony7 <michaelsparks37@gmail.com> wrote: > Yesterday I downloaded Processing 1.5.1 from the Processing website and > Csoundo (alpha) from the github website and I'm trying hard to get the > library to work inside of Processing but first I need to install the library > before I can even figure out how it works. > > Jacob Joaquin left a README file and part of it states: > ---------------------------------------------------------------------------- > There have been reports of Csoundo working on various versions of > Windows. I do not have Windows installed. If you have better > instructions, please email me, and I will incorporate them into the > Csoundo knowledge base. > > 1) Install Csound: > > http://csound.sourceforge.net/ > > > 2) Copy the Csoundo folder into your Processing 'libraries' folder. > See instructions at Processing.org: > > http://wiki.processing.org/w/How_to_Install_a_Contributed_Library > > > 3) Copy the csnd.jar here: > > yoursketchbook/libraries/csoundo/library > ---------------------------------------------------------------------------- > BUT I couldn't find the csnd.jar file within the Csoundo download (or a > folder named, "yoursketchbook"). > However, I found 3 Java files (.java but not .jar): > - Csoundo.java > - Engine.java > - Mutex.java > > please help, I'm trying hard to get Csoundo to work. > I might have to go to the Processing forum or e-mail Jacob Joaquin. I'll try > anything ethical or, after that, anything that would resemble an educated > guess. > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5639076.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-04-13 19:41 |
From | Rory Walsh |
Subject | Re: [Csnd] Trying to get Csoundo Processing library to work on |
No need for drastic actions, although Jacob is most approachable! When you install Csound you should have a csnd.jar file in the Csound bin, or plugin(can't remember which, but on windows it will only be there if you chose to install the java libraries). Copy the file from there and put it into the Csoundo library folder with the other .jar files. I set this up on a fresh PC last week and it worked fine. I also have a student who is interested in adding to the library so watch this space. I really think Processing is a nice language, and coupling it with Csound is great, especially considering that Processing apps can be exported straight to Android(or they say. It's available in the latest version but I haven't checked it out). People should be able to build Processing apps that use the Csound engine and then port the whole lot to Android by plugging in their phone. Rory. On 13 April 2012 19:04, Cacophony7 |
Date | 2012-04-13 19:51 |
From | David |
Subject | Re: [Csnd] Trying to get Csoundo Processing library to work on |
Yes, in fact there's a book/ebook on writing Processing apps for Android and iOS phones: Making Musical Apps: Real-time Audio Synthesis On Android And iOS by Peter Brinkmann O'Reilly Media | February 28, 2012 | Trade Paperback It doesn't cover Csound though :-( Setting up the Processing environment for Android is a little complicated, but it works. On Fri, Apr 13, 2012 at 2:41 PM, Rory Walsh |
Date | 2012-04-13 20:01 |
From | Rory Walsh |
Subject | Re: [Csnd] Trying to get Csoundo Processing library to work on |
That's good to hear! On 13 April 2012 19:51, David |
Date | 2012-04-13 20:09 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Ok, I took that jar file and put it in C:\Users\Owner\Documents\Processing\libraries\csoundo\library and it seems funny to me that the My Documents folder is just "Documents" in the directory now I need some Processing code example to see if it works. Got anything I can just copy-and-paste into the PDE (IDE)? I also moved and renamed my Processing directory. I hope that it doesn't mess with it. as for my Java experiece I only got to say "Hello World" to it. I'll just put it to you that way. I really want Csoundo to continue. I don't want it to get abandoned because it seems like such a cool idea. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5639319.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-13 20:15 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
I'm not sure about moving the directory. You can set it however in the preferences settings. If you have the library in the right place you should be able to open lots of examples directly within Processing. Check either examples or sketchbooks, or libraries?! Sorry, not at my PC right now, I can't quite remember! On 13 April 2012 20:09, Cacophony7 |
Date | 2012-04-13 20:52 |
From | David |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Sorry, think I had the wrong book. I'll look for the right one when I get home. |
Date | 2012-04-14 17:11 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
It seems to me that there is no 64-bit version of Csoundo. I think I'm going to learn some Java just for fun.... I want to get involved. I also wish that Qt had a language binding for Processing. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5640821.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-14 17:15 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
The latest version available is for doubles, even if it doesn't appear so. On 14 April 2012 17:11, Cacophony7 |
Date | 2012-04-14 19:22 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
I deleted Processing (1.5.1?) and downloaded/installed Processing 2.0a5 because I was too incompetent to install the Csoundo library BUT the "import library..." still doesn't detect the damn csnd.jar file! I don't seem to understand this stuff. I really do appreciate all the help and hints that you give me. Thanks. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5640976.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-14 19:38 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
I'm going to do an install here and get back to you.. |
Date | 2012-04-14 21:43 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Ok. Can you confirm that you placed the csoundo folder* into your Processing sketches folder? By default it is set up inside your documents folder. After that you only need to copy and place the csnd.jar file from your Csound bin dir to the csoundo/library directory. After that start Processing and go to the 'examples' menu command. That will open a browseable examples folder. At the bottom of the list of example you should see 'csoundo'. Click on it and open one of the examples. It should run without any issues? If it doesn't can you copy and send the error message you get? On 14 April 2012 19:38, Rory Walsh |
Date | 2012-04-15 01:40 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
First of all... I'm using CubicExplorer (http://www.cubicreality.com/) NOT Windows Explorer in order to highlight, copy, and paste these directories into THIS reply C:\Users\Owner\Documents\Processing Desktop | Computer | Disk (C:) | Users | Owner | My documents | Processing is my sketchbook location right now, which contains the csoundo folder C:\Users\Owner\Documents\Processing\csoundo which contains (with file extensions showing!) Csoundo.java Engine.java Mutex.java and the library folder (not "libraries") C:\Users\Owner\Documents\Processing\csoundo\library which contains the csnd.jar file copied from C:\Michael\Csound\bin So I opened up Processing (the actual software. Version 2.0a5), clicked on "File" from the menu, clicked on "Examples..." on the sub-menu and did NOT find a "csoundo" folder, on the bottom of the "standard examples" list, under the "Libraries" folder NOR does random.pde from C:\Michael\jacobjoaquin-Csoundo-7aeb39a\examples\random work. It just states that (bottom output of the Processing interface) ~ ~ | | |The package "csoundo" does not exist. You might be missing a library | |------------------------------------------------------------------------------| |No library found for csoundo | |As of release 1.0, libraries must be installed in a folder named | |'libraries' inside the 'sketchbook' folder | |------------------------------------------------------------------------------| NOR does "Sketch" , "Import Library..." , "Add Library..." show me THE csoundo library -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5641343.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 10:30 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Is csoundo.jar also contained in the library file? The contents of my library folder are csnd.jar and csoundo.jar? Can you confirm that you are using the following download: https://github.com/downloads/jacobjoaquin/Csoundo/csoundo-0.1.2.double.1.zip On 15 April 2012 01:40, Cacophony7 |
Date | 2012-04-15 13:40 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Hey thanks for the different download. It's working but random.pde still gives me an error at the bottom of the Processing interface: csoundo 0.1.2 by Jacob Joaquin http://csoundblog.com Thread-3 Unable to read CSD file. PortMIDI real time MIDI plugin for Csound PortAudio real-time audio module for Csound virtual_keyboard real time MIDI plugin for Csound 0dBFS level = 32768.0 Csound version 5.17 (double samples) Mar 19 2012 libsndfile-1.0.23 Reading options from $CSOUNDRC: C:\Michael\Csound\.csoundrc UnifiedCSD: C:\Michael\jacobjoaquin-Csoundo-7aeb39a\examples\random\data__CSOUNDO__.csd STARTING FILE Creating options Creating orchestra Creating score RAWWAVE_PATH: C:\Michael\Csound\samples/ rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled Parsing successful! Null type in tree -- aborting csoundo is inside of "Examples..." now under "Contributed Libraries". Did you find this download at http://csoundblog.com ? -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5641846.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 14:09 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
I found his download here: https://github.com/jacobjoaquin/Csoundo/downloads Strange error about the random example? I can run it fine from here? I'm not sure what 'Null type in tree' means either!? On 15 April 2012 13:40, Cacophony7 |
Date | 2012-04-15 14:55 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Well I took that download you gave me and downloaded it in my personal folder THEN I moved it to my sketchbook, right? Windows 7 was like, "do you want to move this file without encryption?". I was like, "yes". Then Windows asked me the same question again for another file. I was like, "yes yes, every file dammit!" -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5641933.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 14:58 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
This sounds right. If the other examples run ok but random doesn't then you don't have a problem with csoundo me thinks. Do the other examples work ok? On 15 April 2012 14:55, Cacophony7 |
Date | 2012-04-15 15:09 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
negative! none of them work in "Examples..." -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5641953.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 15:12 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Ah. Ok. Here, when you go to import library to you get the option to import csoundo? On 15 April 2012 15:09, Cacophony7 |
Date | 2012-04-15 15:51 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
"Sketch", "Import Library", "csoundo" on the bottom, click on it and then this code automatically pops up import csoundo.*; and in "Sketch", "Import Library", "Add Library...", I get the opportunity to remove "csoundo", implying that Csoundo is obviously installed. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5642014.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 15:53 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
This would indicate that all the libraries and what not are in the correct place. I have to say that I haven't tried this with the latest processing. I'm using the latest most stable release, I think it's 1.5. I really can't think why it's not working but perhaps somthing gives in the latest version of Processing 2? On 15 April 2012 15:51, Cacophony7 |
Date | 2012-04-15 15:57 |
From | Jacob Joaquin |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
I've been paying attention to this thread. Sorry I can't be of more help. But I can confirm that it does run on 1.5 for me. I've not updated to Processing 2, but there's a good chance that has something to do with. Also, I'm finally getting my hands on a Windows machine sometime this week. I'll be able to look into this and PythonScore. Best, Jake On Sun, Apr 15, 2012 at 7:53 AM, Rory Walsh |
Date | 2012-04-15 16:00 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Great Jake. I've been following your posts about your python stuff. Keep em coming! On 15 April 2012 15:57, Jacob Joaquin |
Date | 2012-04-15 16:08 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Love your work Jacob, even though I can't seem to get my hands on it. I can go back to Processing 1 or I can learn some Java (like I said) or both. -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5642029.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-15 20:21 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Last shot. Try using 1.5 again and see if it works? Follow the same steps as before. It might just work! On 15 April 2012 16:08, Cacophony7 |
Date | 2012-04-17 23:16 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
...Thank Jacob Joaquin, thank Rory walsh, and thank GOD! IT WORKS! all of the examples run! -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5647751.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-17 23:22 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
That's great. Please share anything you come up with. Processing is a really nice language to cut one's teeth on. On 17 April 2012 23:16, Cacophony7 |
Date | 2012-04-18 01:35 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Well I want to make a website dedicated to Csoundo to the best of my ability. I am re-learning HTML and all I got is a Csoundo image that I made from freeware, Paint.NET. http://csound.1045644.n5.nabble.com/file/n5647937/Csoundo.jpeg I want to help Csoundo and ensure that it doesn't become an abandoned project. I also think that it would be nice if there was a Processing binding for Qt so that we could have some better looking knobs, buttons, sliders, switches and boxes and make real Reason looking instruments INSIDE of Processing with Csoundo.(if that's possible but we already have CsoundQt {QuteCsound}) We can probably do better than Propellerhead Software if we stick together. Right now I am currently a Reason user. Reason is expensive(!) and Csound is capable of overthrowing Reason BUT Reason makes music FASTER than Csound does (maybey... that's just an opinion. The point is that there's a catch, right?). Both of them are evolving quickly. According to the Wikipedia, Qt is written in C++. Qt is freeware, right? -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5647937.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-18 01:43 |
From | Michael Gogins |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
Qt is not freeware. It is open source software that is free for the downloading. Not quite the same thing. Regards, Mike On Tue, Apr 17, 2012 at 8:35 PM, Cacophony7 |
Date | 2012-04-18 01:49 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
Open source software that is free for downloading is NOT freeware? I don't understand. You mean I can have Qt for free if I can compile it myself? -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5647951.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-18 02:00 |
From | Justin Glenn Smith |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
it is free softwarehttp://en.wikipedia.org/wiki/Free_software which is not the same as freeware http://en.wikipedia.org/wiki/Freeware there are additional rights you have with free software that you do not have with freeware On 04/17/2012 05:49 PM, Cacophony7 wrote: > Open source software that is free for downloading is NOT freeware? > I don't understand. > You mean I can have Qt for free if I can compile it myself? > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5647951.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-04-18 02:13 |
From | Michael Gogins |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
These distinctions are somewhat complex but can be important. Basically, freeware is software that you can download for free in executable form, but you can't see the source code. The tracker Buzz is freeware in this sense. Free software has source code that you can download, read, and re-use, but only if the new software you make with the source code is itself free software. The Linux kernel, the GCC compiler, and the Apache Web server are free software in this sense. Open source software has source code that you can download, read, and re-use for most purposes. Csound is open source software in this sense. You can make proprietary software using open source software, but usually you are required to accompany your software with an open source license and also you must make available any changes you make to the open source software to the public. There is also public domain software, with which you can do absolutely anything you like. An example of public domain software is BWF Meta Edit for tagging soundfies. It is government software, in the public domain, but some libraries it uses are open source. Much software produced by the U.S. government is public domain and much of that software is very good. Hope this helps, Mike On Tue, Apr 17, 2012 at 8:49 PM, Cacophony7 |
Date | 2012-04-18 06:10 |
From | Cacophony7 |
Subject | [Csnd] Re: Trying to get Csoundo Processing library to work on |
So it's even BETTER than freeware?... or is there a catch? -- View this message in context: http://csound.1045644.n5.nabble.com/Trying-to-get-Csoundo-Processing-library-to-work-on-Windows-7-tp5639076p5648208.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-04-18 12:08 |
From | luis jure |
Subject | Re: [Csnd] Re: Trying to get Csoundo Processing library to work on |
on 2012-04-17 at 22:10 Cacophony7 wrote: >So it's even BETTER than freeware?... or is there a catch? he-he... no, there is no "catch". and yes, it's better than freeware. as someone who has been using only free software for more than a decade, and take it for granted, it comes as a surprise your skepticism. but i guess it speaks about the prevailing attitude in the outside world, and how much i had forgotten about it. perhaps there is a catch after all: free software is not just like proprietary software but gratis; in proprietary software the user is a client, as a user of free software you are part of the community, just like the developers. or you can be a user *and* a developer. happy csounding, lj |