<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>Made some progress with SC-World and Emacs.&nbsp; Thanks for your help.<br><br>For the planet package with SwingOSC which is installed with supercollider-world, since SwingOSC server needed to be started manually, the scripts from the sourceforge swingosc package helped me.&nbsp; I only used the scripts, not the package.&nbsp; Those are SwingOSC_TCP.sh, and SwingOSC_UDP.sh.&nbsp; I changed the path to reflect the planet installed SwingOSC.jar.<br><br>java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar
/build/SwingOSC.jar -t 57111 -L -h
127.0.0.1:57120<br><br>java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar /usr/share/SuperCollider/SwingOSC/SwingOSC.jar -t 57111 -L -h 127.0.0.1:57120<br><br>Then I ran $bash ./SwingOSC_TCP.sh to start the server, and opened another terminal for $ emacs -sclang.<br><br>Seems good now for running gui examples.<br>-----<br>For audio problem.&nbsp; Thank you for rpm info on qt showing qt4.&nbsp; I installed a qtsdk-2009-03 in /opt, but discovered I also had an rpm for qt4 which I guess came with f10.<br><br>The repro qt needed updating to solve the symlink qjackctl issue, and now qjackctl is working again.<br><br><br><br>&gt; Subject: Re: [PlanetCCRMA] Supercollider emacs<br>&gt; From: nando@ccrma.Stanford.EDU<br>&gt; To: j_hearon@hotmail.com<br>&gt; CC: planetccrma@ccrma.Stanford.EDU<br>&gt; Date: Sat, 8 Aug 2009 19:52:53 -0700<br>&gt; <br>&gt; On Sun, 2009-08-09 at 01:09 +0000, James Hearon wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; Thanks for help on sc and emacs.  Seems a swingOSC server is running<br>&gt; &gt; when started alone.<br>&gt; <br>&gt; Then java is working fine. <br>&gt; <br>&gt; &gt; &gt; What happens if you manually do, in a terminal:<br>&gt; &gt; &gt; java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel<br>&gt; &gt; -jar<br>&gt; &gt; &gt; "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>&gt; &gt; &gt; 127.0.0.1:57120<br>&gt; &gt; <br>&gt; &gt; [JCH@localhost ~]$ java<br>&gt; &gt; -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar<br>&gt; &gt; "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>&gt; &gt; -h option requires address specification! (-h &lt;hostName:port&gt;)<br>&gt; &gt; SwingOSC v0.61. receiving TCP at address 127.0.0.1:57111<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ...but for getting it going with SC with emacs, I'm using a sun jdk<br>&gt; &gt; with netbeans and eclipse which is in /opt/jdk1.6.0_14/bin, with links<br>&gt; &gt; to jar, javac, and java in etc/alternatives, paths set in .bashrc, and<br>&gt; &gt; environ vars pointing to that dir.<br>&gt; <br>&gt; That should not make (I think) a difference. If java started from a<br>&gt; terminal is working then I think java started from within emacs should<br>&gt; work as well. <br>&gt; <br>&gt; What _else_ is printed when you try to start swingosc from inside emacs?<br>&gt; <br>&gt; As a workaround you could try starting the java line I sent you (which<br>&gt; seems to work), leave that running, and then go into emacs and start<br>&gt; swingosc - it should recognize the java process that is already running<br>&gt; and be happy. <br>&gt; <br>&gt; &gt; Sourceforge.net swingOSC instructions show adding lines to sclang.sc.<br>&gt; &gt; How would I go about pointing to a different java with Planetccrma<br>&gt; &gt; SC-world?  <br>&gt; &gt; <br>&gt; &gt; GUI.swing;<br>&gt; &gt; SwingOSC.java = "/opt/jdk1.6.0_14/bin/java";<br>&gt; &gt; SwingOSC.program =<br>&gt; &gt; ("/usr/share/SuperCollider/SwingOSC/SwingOSC.jar").standardizePath;<br>&gt; &gt; SwingOSC.default.boot;<br>&gt; &gt; ----<br>&gt; <br>&gt; I don't think you need to point to anything, at least if you are using<br>&gt; my packages. Just use "java" (or rather, erase all the stuff you added).<br>&gt; If "alternatives" are correctly set the proper java will be picked up<br>&gt; just as when you execute it from a terminal. If not then there should be<br>&gt; more error messages to look at. <br>&gt; <br>&gt; &gt; for using usb soundcard with SC and emacs<br>&gt; &gt; vers. of qjackctl is:<br>&gt; &gt; <br>&gt; &gt; [JCH@localhost ~]$ rpm -q qjackctl<br>&gt; &gt; qjackctl-0.3.4-1.fc10.i386<br>&gt; &gt; <br>&gt; &gt; trying to start qjackctl as normal user gives segfault.<br>&gt; &gt; <br>&gt; &gt; [JCH@localhost ~]$ qjackctl<br>&gt; &gt; Segmentation fault<br>&gt; &gt; <br>&gt; &gt; I'm using ccrma rpm jack audio connection kit, but have never been<br>&gt; &gt; able to get qjackctl to work since doing a clean install of f10<br>&gt; &gt; recently, and loosing QT4 rpm, which comes now with it's own installer<br>&gt; &gt; like netbeans, etc. <br>&gt; <br>&gt; I don't understand this at all. The default qt in fc10 is qt version<br>&gt; 4.x, in my fc10 laptop what I have installed is:<br>&gt; <br>&gt; $ rpm -q qt<br>&gt; qt-4.5.2-1.fc10.i386<br>&gt; <br>&gt; You should not have to install any other qt stuff. Maybe the confusion<br>&gt; is because the package is no longer called qt4? (that happens when a<br>&gt; version stabilizes and becomes the default). <br>&gt; <br>&gt; &gt; I tried compiling qjackctl against the new QT4 libs, but it still did<br>&gt; &gt; not work, so I uninstalled that attempt. <br>&gt; <br>&gt; Something must have been left over from that install and it is messing<br>&gt; up with the existing qjackctl. You should look into /usr/local/* to see<br>&gt; if anything was left over there. You should also reinstall the qjackctl<br>&gt; package, something could have written over it. <br>&gt; <br>&gt; &gt; The vers. above seems to be a fedora one, not the ccrma one, which I<br>&gt; &gt; do not see anylonger in the rpm list.<br>&gt; <br>&gt; Qjackctl has migrated over to the Fedora repositories (as many other<br>&gt; packages). <br>&gt; <br>&gt; &gt; Jack starts.  Just trying to use the usb sound card from SC and emacs.<br>&gt; <br>&gt; -- Fernando<br>&gt; <br>&gt; <br><br /><hr />Get your vacation photos on your phone! <a href='http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM' target='_new'>Click here.</a></body>
</html>