[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Auto start the server in scvim
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] Auto start the server in scvim
- From: Dan Stowell <danstowell@xxxxxxxxx>
- Date: Thu, 12 Mar 2009 07:33:50 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QjZVfNfwiosYKz3cVTwOfSHZf4BheoBDWGIPJ3Sc4Xk=; b=Wt79qeesk7dRIAYSUVnN1EWZTaKpdYNL7I+Lqzfh5dGW1hyEC3Be2k9cKajIUub/Ht qXRZcn5iUiofVKPJcVIYfZdQCwlpb6XR+vNwtLiaQeyR4bd7ifOhkw6QexkgISunpPBa ksM7Ai4jSeUhPCGwp1uujKXLhz25JDSvzKK98=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ISzqP0RpZ2me4RcYvuBqhM5nHhEInGR5RGEuyZWBe+pDZ3UDOO+wf2OfI/90N77Sfo h7QJTXf+rpgbAivPHMnLgcy5hTLOzfvP/xYi/3WYgPmeESHelQ/oOBnvsrKDE8HHGcvu 1pWxRo8EEAHO9G/OqyEGEG4Lq0/MxAWH9JCKc=
- In-reply-to: <8f67b6f80903111717s4b583f3dv416586c803a9810a@xxxxxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <8f67b6f80903111717s4b583f3dv416586c803a9810a@xxxxxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Hi -
Sounds like you're almost there....
Adding the line
s = Server.local.boot;
into your .sclang.sc looks fine to me. (You could probably just do
"s.boot" instead, I think.)
So the reason for the error message you're seeing is probably that the
line ABOVE has a mistake - does the previous line end with a
semicolon? Make sure it does or else the language parser will think
the two lines are actually one long nonsense line.
Dan
2009/3/12, Mr.SpOOn <mr.spoon21@xxxxxxxxx>:
> Hi,
> I'm trying to use Supercollider with Vim. I managed to install scvim
> and it seems to work. I had some problems in getting some sounds,
> because I was trying this:
>
> {SinOsc.ar}.play;
>
> and when I tried to send the line to the server, with the F6 key, in
> the sclang window appeared this:
>
> Server 'localhost' not running
> nil
>
> I found some helpful thread in the mailing list and now I start the
> server (I think) with this line:
>
> s.boot;
>
> Now I can hear the sound. Is there any way to make the server to start
> automatically?
>
> I've tried to put this line in the .sclang.sc file:
>
> s = Server.local.boot;
>
> but now, when I run scvim, I get this error in the sclang window:
> ERROR: Parse error
> in file 'selected text'
> line 3 char 1:
> s� = Server.local.boot;
>
> -----------------------------------
> ERROR: Command line parse failed
> StartUp done.
>
> Any suggestion? Am I doing something wrong?
>
> Thanks, bye
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>
--
http://www.mcld.co.uk
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/