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

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




On Jul 29, 2009, at 4:55 PM, James Harkins wrote:

On Wed, Jul 29, 2009 at 10:19 AM, Andrea Valle <valle@xxxxxxxxxxx> wrote:
What sort of syntax do you have in mind.

I'm prototyping the thing described in attachment. (Actually the examples work here, but I'm in the middle of the operations...).

Interesting, but also has the risk of being Yet Another Abstraction that may not play nicely with others. Don't get me wrong - it's a very cool idea (!), nice bridge for people who are used to Max scripting, but I think a main-library standard solution should be lighter weight and more in line with current object-style usage.

thanks.
Yea, my first aim is to provide a YAA :) for easy scripting. Simply I'm in need of it. Also, I was thinking of people coming from GUI and of students (and autograph via graphviz is a cool stuff: imagine if someone were able to port layout algos form graphviz to SC). 

But I totally agree with you. We need a general solution. We were speaking with Josh about the problem. In Connector I'm strongly relying on audio bus mapping (at the moment everything is audio). But I would like to build Connector on top of a core feature.
 
So there are two things: - scripting and - autoreordering (assuming that the graph is acyclic). 

It seems to me that your solution is pretty cool for the second. I think we absolutely need something. 

Best

-a-



What if we adapted the node ordering logic from MixerChannel to nodes? You would do:

sourceNode.sendsSignalTo(receiverNode);

And information is then stored in the node object that the reordering code would use to make sure sourceNode is always earlier. Break the connection with:

sourceNode.stopsSendingTo(receiverNode);

hjh


--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

--------------------------------------------------
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)