<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. Seems a swingOSC server is running when started alone.<br><br>> What happens if you manually do, in a terminal:<br>> java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar<br>> "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>> 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 <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 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. How would I go about pointing to a different java with Planetccrma SC-world? <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. I tried compiling qjackctl against the new QT4 libs, but it still did not work, so I uninstalled that attempt. 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. Just trying to use the usb sound card from SC and emacs.<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 11:37:08 -0700<br>> <br>> On Sat, 2009-08-08 at 18:07 +0000, James Hearon wrote:<br>> > Hi,<br>> > re: supercollider/emacs, f10 i386<br>> > <br>> > Thanks for info on swingOSC in supercollider world package. I tried<br>> > installing that one but still get the same error:<br>> <br>> (did you uninstall your manual install?)<br>> <br>> > ERROR: SwingOSC server not running<br>> <br>> Well, this is the last line in (probably) multiline feedback from<br>> SuperCollider so it is impossible to know _why_ that is happening. <br>> <br>> What happens if you do, in a terminal:<br>> (this is what I get in my fc10 laptop):<br>> <br>> $ which java|xargs ls -l|awk '{print $10}'|xargs ls -l <br>> <br>> lrwxrwxrwx 1 root root 39 2009-08-07 17:35 /etc/alternatives/java<br>> -> /usr/lib/jvm/jre-1.6.0-openjdk/bin/java<br>> <br>> What happens if you manually do, in a terminal:<br>> <br>> java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar<br>> "/usr/share/SuperCollider/SwingOSC/SwingOSC.jar" -t 57111 -L -i -h<br>> 127.0.0.1:57120<br>> <br>> (all in one line, this would start the SwingOSC server)<br>> <br>> > ----------------<br>> > for using a usb soundcard with supercollider/emacs,<br>> > "cat /proc/asound/cards" shows the order I setup in modprobe file.<br>> > <br>> > <br>> > 0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3<br>> > Intel 82801CA-ICH3 with AD1881A at irq 11<br>> > 1 [USB ]: USB-Audio - Transit USB<br>> > M-Audio Transit USB at usb-0000:00:1d.1-2, full<br>> > speed<br>> > 2 [Modem ]: ICH-MODEM - Intel 82801CA-ICH3 Modem<br>> > Intel 82801CA-ICH3 Modem at irq 11<br>> > <br>> > for running jack with qjackctl, I've not had any luck getting qjackctl<br>> > to run. <br>> > <br>> > [root@localhost JCH]# qjackctl<br>> > Qt: Session management error: None of the authentication protocols<br>> > specified are supported<br>> > qjackctl: symbol lookup error: qjackctl: undefined symbol:<br>> > _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap<br>> <br>> Two things:<br>> - which version of qjackctl do you have installed?<br>> to find out: rpm -q qjackctl <br>> <br>> there is something wrong with the versions of packages you have<br>> installed, qjackctl is not finding a symbol when it tries to start, it<br>> could be because you have older packages installed than what it needs.<br>> Have you tried to install it manually in the past?<br>> <br>> - why are you running as root? That is not necessary and certainly not<br>> recommended. You need to run _everything_ as a normal user (ie: don't<br>> start something in one account and try to use it from another. <br>> <br>> -- Fernando<br>> <br>> <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>