Julian Rohrhuber wrote:
> Well, theoretically, scsynth couls supply a client with free node 
> ids, but this would require a round trip for each synth. Considering 
> that ids may be used at a rate appropriate to granular synthesis, 
> this makes not too much sense.

but usually when doing granular synthesis you won't need to modify the grains
individually after they've been started, so you normally use -1 as a node id 
anyway.

> What you do in sclang normally is to 
> give each client a unique integer id and divide up the integer id 
> space into the maximal number of clients (I think it is 32 in sclang 
> currently), providing each client with their own id range.

a possibly interesting solution --not only for node ids-- would be to use
universally unique identifiers (UUID, [1]), which are basically 128 bit hashes.
they could be generated on each node without any need for communication. i'm
wondering how high the probability of hash collision would be in a realistic
scenario, and how clashes could be resolved. of course this would require quite
a lot of architectural changes in scsynth and sclang ...

<sk>

[1] http://en.wikipedia.org/wiki/Universally_Unique_Identifier
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to