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

Re: [sc-users] Notes and observations from a large SC project



On 7/28/09 4:23 PM, Andrea Valle wrote:
Thanks Scott(s)

 But are you concerned with node order or asynchronous actions?

IMHO the two most boring aspects of SC :)

- About order: the possibility of auto-ordering the chain of synths when needed would be a great improvement.
(I'm trying to create a microlanguage over SC to implement it and forget ordering for fast prototyping)

I ended up solving some of our problems by using a dynamic, lazy Group tree... we defined a basic group structure we wanted to use, something like:
    -synths
    -effects
    -spatialization
        -panning
        -postpanning
    -postprocessing

These could be predefined in a config file, and any could be referred to by name when creating a synth....
    Synth(..., target: GroupManager.get.synths )
The GroupManager object knew how to initialize all the groups in the right order, etc. It ultimately worked like an Environment that used lazy evaluation (ala proxyspace) where, if you refer to a group that doesn't exist, it's automatically created. So, Synth(..., GroupManager.get.madeUpGroup) would work even if you hadn't yet defined madeUpGroup (in development). We could then go back LATER and determine exactly where in the tree madeUpGroup fits, without having to go back into our old code and change targets around, pass groups in, etc.

This is certainly a different solution than auto-ordering (we had so much going on, there would have been no way of auto-ordering it....). Auto-ordering would be excellent for quick prototyping, I agree. We should talk off-list about how you're implementing this...

- Scott

- About asynchronicity. It's clearly possible to sync (I've asked about this), but sometimes I'd like to  simply have a sync var in ServerOptions. If true, syncing is always on and you forget Server-Client.

Just 2c from a user perspective

Best

-a-


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------
" This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)