[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Auto start the server in scvim



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/