<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>Thanks for help on sc and emacs.&nbsp; Seems a swingOSC server is running when started alone.<br><br>&gt; What happens if you manually do, in a terminal:<br>&gt; java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar<br>&gt; "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>&gt; 127.0.0.1:57120<br><br>[JCH@localhost ~]$ java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>-h option requires address specification! (-h &lt;hostName:port&gt;)<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 with netbeans and eclipse which is in /opt/jdk1.6.0_14/bin, with links to jar, javac, and java in etc/alternatives, paths set in .bashrc, and environ vars pointing to that dir.<br><br>Sourceforge.net swingOSC instructions show adding lines to sclang.sc.&nbsp; How would I go about pointing to a different java with Planetccrma SC-world?&nbsp; <br><br>GUI.swing;<br>SwingOSC.java = "/opt/jdk1.6.0_14/bin/java";<br>SwingOSC.program = ("/usr/share/SuperCollider/SwingOSC/SwingOSC.jar").standardizePath;<br>SwingOSC.default.boot;<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 able to get qjackctl to work since doing a clean install of f10 recently, and loosing QT4 rpm, which comes now with it's own installer like netbeans, etc.&nbsp; I tried compiling qjackctl against the new QT4 libs, but it still did not work, so I uninstalled that attempt.&nbsp; The vers. above seems to be a fedora one, not the ccrma one, which I do not see anylonger in the rpm list.<br><br>Jack starts.&nbsp; Just trying to use the usb sound card from SC and emacs.<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 11:37:08 -0700<br>&gt; <br>&gt; On Sat, 2009-08-08 at 18:07 +0000, James Hearon wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; re: supercollider/emacs, f10 i386<br>&gt; &gt; <br>&gt; &gt; Thanks for info on swingOSC in supercollider world package. I tried<br>&gt; &gt; installing that one but still get the same error:<br>&gt; <br>&gt; (did you uninstall your manual install?)<br>&gt; <br>&gt; &gt; ERROR: SwingOSC server not running<br>&gt; <br>&gt; Well, this is the last line in (probably) multiline feedback from<br>&gt; SuperCollider so it is impossible to know _why_ that is happening. <br>&gt; <br>&gt; What happens if you do, in a terminal:<br>&gt; (this is what I get in my fc10 laptop):<br>&gt; <br>&gt; $ which java|xargs ls -l|awk '{print $10}'|xargs ls -l <br>&gt; <br>&gt; lrwxrwxrwx 1 root root 39 2009-08-07 17:35 /etc/alternatives/java<br>&gt; -&gt; /usr/lib/jvm/jre-1.6.0-openjdk/bin/java<br>&gt; <br>&gt; What happens if you manually do, in a terminal:<br>&gt; <br>&gt; java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar<br>&gt; "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>&gt; 127.0.0.1:57120<br>&gt; <br>&gt; (all in one line, this would start the SwingOSC server)<br>&gt; <br>&gt; &gt; ----------------<br>&gt; &gt; for using a usb soundcard with supercollider/emacs,<br>&gt; &gt; "cat /proc/asound/cards" shows the order I setup in modprobe file.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;  0 [I82801CAICH3   ]: ICH - Intel 82801CA-ICH3<br>&gt; &gt;                       Intel 82801CA-ICH3 with AD1881A at irq 11<br>&gt; &gt;  1 [USB            ]: USB-Audio - Transit USB<br>&gt; &gt;                       M-Audio Transit USB at usb-0000:00:1d.1-2, full<br>&gt; &gt; speed<br>&gt; &gt;  2 [Modem          ]: ICH-MODEM - Intel 82801CA-ICH3 Modem<br>&gt; &gt;                       Intel 82801CA-ICH3 Modem at irq 11<br>&gt; &gt; <br>&gt; &gt; for running jack with qjackctl, I've not had any luck getting qjackctl<br>&gt; &gt; to run. <br>&gt; &gt; <br>&gt; &gt; [root@localhost JCH]# qjackctl<br>&gt; &gt; Qt: Session management error: None of the authentication protocols<br>&gt; &gt; specified are supported<br>&gt; &gt; qjackctl: symbol lookup error: qjackctl: undefined symbol:<br>&gt; &gt; _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap<br>&gt; <br>&gt; Two things:<br>&gt; - which version of qjackctl do you have installed?<br>&gt;   to find out: rpm -q qjackctl <br>&gt; <br>&gt; there is something wrong with the versions of packages you have<br>&gt; installed, qjackctl is not finding a symbol when it tries to start, it<br>&gt; could be because you have older packages installed than what it needs.<br>&gt; Have you tried to install it manually in the past?<br>&gt; <br>&gt; - why are you running as root? That is not necessary and certainly not<br>&gt; recommended. You need to run _everything_ as a normal user (ie: don't<br>&gt; start something in one account and try to use it from another. <br>&gt; <br>&gt; -- Fernando<br>&gt; <br>&gt; <br><br /><hr />Get back to school stuff for them and cashback for you. <a href='http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1' target='_new'>Try Bing now.</a></body>
</html>