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