[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Re: Background server processing
hi andrzej,
> Message: 2
> Date: Fri, 3 Mar 2006 15:50:28 +0100
> From: Andrzej Kopec <akopec@xxxxxxxxxxxxx>
> Subject: [sc-users] Re: Background server processing
[...]
> >
> > you could try to run a second server in NRT
> > (non-realtime) mode for processing stuff in the
> > background ...
>
> But how to get it? with Pipe (but:lack of
> communication) or "unixCmd" (total lack of
> communication)? Or can server be booted in NRT?
ah ok. but that would be a nice proposal anyway : be
able to run a server in NRT mode, it would just sit
there and wait for a command that asks it to process a
OSC file ... this would be really nice . you are
right, this is not possible at the moment.
> The point is how to process buffers (which exist on
> the server) (eg. analyze a few minutes
> of recorded sound a while ago, then cut it to lesser
> fragments, and -- let's say -- save in
> separate buffers) to not disturb music already going
> from speakers.
> Of course -- I can write my piece so that during
> mentioned above processes goes something
> computationally cheap, but why do I have to limit
> myself?
> (In the end -- is it the SuperCollider, no? :)
that's interesting, i've been wanting to do something
similar but haven't found a solution to do it in
supercollider server. like, analyzing a recording,
finding transitions and re-sorting chunks etc. seems
to be similiar to what you are trying to do.
you could write the buffer to disk and run a separate
program to analyze it, like maybe csound or so which
is capable of writing text files for example...
otherwise : you could write the buffer to disk and
analyze the sound on the language side, by spawning a
new Task or Routine and inside the new thread read
bits from the file using the SoundFile class ...
ciao , -sciss-
____________________________________________________
On Yahoo!7
Messenger - Make free PC-to-PC calls to your friends overseas.
http://au.messenger.yahoo.com