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

Re: [sc-users] python->OSC->scsynth



On Tuesday 12 May 2009 16:08:22 altern wrote:
> mmm....as far as i understand sclang.sc is triggered by the sclang but
> not by the scsynth. so if you are using python to control scsynth you
> cannot use this. is this right?? i am not sure..


Yes .sclang.sc is a sclang script, so it's written in sclang code.
But you could have something equivalent in a bash script or python script that sets the environment variables to your desired ports.


sincerely,
Marije


>
> Peter O'Doherty(e)k dio:
> > I copied the text from the example .sclang.sc file verbatim but it still
> > doesn't work.
> >
> > In jack, supercollider appears momentarily in the list of output ports
> > but doesn't make an automatic connection with the system inputs. I have
> > to do that manually.
> >
> > Any idea what the problem might be?
> >
> > Thanks,
> > Peter
> >
> >> On Tuesday 12 May 2009 03:21:22 Peter O'Doherty wrote:
> >> > That's something I discovered as well. You have to make the
> >> > connections in jack to the hardware outs manually before you get any
> >> > sound. It's a bit awkward, especially if you're just testing small
> >> > bits of code.
> >>
> >> you can define environment variables
> >> SC_JACK_DEFAULT_INPUTS
> >> and
> >> SC_JACK_DEFAULT_OUTPUTS
> >>
> >>
> >> then scsynth will use these to connect automatically to jack ports.
> >>
> >>
> >> There is an example in the example .sclang.sc file in the linux folder.
> >>
> >>
> >> sincerely,
> >> Marije
> >>
> >> > Peter
> >> >
> >> > > Definitely, there's something in the structure client server or in
> >>
> >> OSC
> >>
> >> > > messages which I can not understand. I tried all ways, including
> >> > > sending messages to sclang via OSCresponder. Fortunately, as I have
> >> > > suggested altern, using the ixi's library sc all goes well, provided
> >> > > that the connections are properly carried out jack (on linux) and
> >> > > Synthdefs are added to a folder synthdefs in the working directory.
> >> > >
> >> > > Thank you.
>
> _______________________________________________
> 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/