[PlanetCCRMA] Supercollider emacs

James Hearon j_hearon at hotmail.com
Sat Aug 8 11:07:26 PDT 2009


Hi,
re: supercollider/emacs, f10 i386

Thanks for info on swingOSC in supercollider world package. I tried installing that one but still get the same error:

ERROR: SwingOSC server not running

----------------
for using a usb soundcard with supercollider/emacs, "cat /proc/asound/cards" shows the order I setup in modprobe file.


 0 [I82801CAICH3   ]: ICH - Intel 82801CA-ICH3
                      Intel 82801CA-ICH3 with AD1881A at irq 11
 1 [USB            ]: USB-Audio - Transit USB
                      M-Audio Transit USB at usb-0000:00:1d.1-2, full speed
 2 [Modem          ]: ICH-MODEM - Intel 82801CA-ICH3 Modem
                      Intel 82801CA-ICH3 Modem at irq 11

for running jack with qjackctl, I've not had any luck getting qjackctl to run. 

[root at localhost JCH]# qjackctl
Qt: Session management error: None of the authentication protocols specified are supported
qjackctl: symbol lookup error: qjackctl: undefined symbol: _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap



> Subject: Re: [PlanetCCRMA] Supercollider emacs
> From: nando at ccrma.Stanford.EDU
> To: j_hearon at hotmail.com
> CC: planetccrma at ccrma.Stanford.EDU
> Date: Fri, 7 Aug 2009 09:54:31 -0700
> 
> On Wed, 2009-08-05 at 18:44 +0000, James Hearon wrote:
> > Hi,
> > Thanks for previous info on SC and Emacs.  I have some of it working
> > now on f10.  I tried installing swingOSC per instructions in the
> > swingOSC package, and pointing it to my java by adding lines to
> > sclang.sc;
> > -----
> > Add these lines to your .sclang.sc
> > 
> > GUI.swing;
> > SwingOSC.java = "/usr/lib/jvm/java-6-sun/jre/bin/java";
> > SwingOSC.program = ("PREFIX/bin/SwingOSC.jar").standardizePath;
> > SwingOSC.default.boot;
> > -----
> > 
> > when I try out a gui example in Emacs I get a "swingOsc server not
> > running" error.  I'm wondering what else I might to do to start
> > swingOSC.
> 
> Hmmm, why did you install swingosc? It is available in the Planet CCRMA
> repositories... I forget which version of Fedora you have, you should be
> able to install "supercollider-world" and bring in all the supercollider
> related packages. 
> 
> I'd suggest you uninstall what you installed and try the prebuilt
> swingosc, it should run "out of the box". That is, once sc has started:
> 
>   g = SwingOSC.default.boot;
> 
> should get it up and running...
> 
> > =========
> > Also I cannot seem to figure out how to get sound from SC to my
> > soundcard.  I read and followed instructions on planetccrma re:
> > soundcards and edited modprobe.conf.dist so that my usb audio card
> > comes up the same (I think), and have gotten audio thru the card with
> > other apps.
> > 
> > Just not sure how to get audio to the usb card from SC and EMACS. 
> 
> How are you starting jack? Through qjackctl? What other applications
> have you tried?
> 
> > Audio comes out the sound card on the motherboard currently.  I
> > believe I listed the usb_audio as index 1 in modprobe.
> > 
> > ...from s = Server.local.boot;
> > 
> > JACK server starting in non-realtime mode
> > creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|
> > 32bit
> > Using ALSA driver ICH running on Intel 82801CA-ICH3 with AD1881A at
> > irq 11
> > configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2
> > periods
> > ALSA: final selected sample format for capture: 16bit little-endian
> > ALSA: use 2 periods for capture
> > ALSA: final selected sample format for playback: 16bit little-endian
> > ALSA: use 2 periods for playback
> > JackDriver: client name is 'SuperCollider'
> > JackDriver: connected  system:capture_1 to SuperCollider:in_1
> > JackDriver: connected  system:capture_2 to SuperCollider:in_2
> > JackDriver: connected  SuperCollider:out_1 to system:playback_1
> > JackDriver: connected  SuperCollider:out_2 to system:playback_2
> > SuperCollider 3 server ready..
> > JackDriver: max output latency 42.7 ms
> > notification is on
> 
> Well, it seems that jack is running fine. And it looks like it is using
> the onboard soundcard. 
> 
> What do you see in "cat /proc/asound/cards"?
> 
> -- Fernando
> 
> 

_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20090808/6017dd40/attachment.html 


More information about the PlanetCCRMA mailing list