muellmusik / Utopia

This is an attempt at a generic library of tools for making Network Music Apps in SuperCollider
43 stars 8 forks source link

What is the status of the Repulque classes? #11

Open muellmusik opened 9 years ago

muellmusik commented 9 years ago

I'm just trying to clean things up, as I'd like to do a proper release of Utopia, but I'm not sure what's happening with these classes. There seem to be three sorts of things here:

Alberto and Julian, what do you suggest?

adcxyz commented 9 years ago

Hi Scott, sorry, not much time, concert tomorrow at ICAD in Graz -

NMLShout - this is generally useful and I would propose to move it into the main class folder

NMLShout is a copy of Shout from Republic, so it could also be moved into its own quark?

  • Subclasses of Peer and Hail - Are these still valid/useful? \ these seem mostly to be about alternative addressing approaches, which perhaps they could be done with a PeerGroup or similar approach?

yes, could also be in PeerGroup - it seemed simpler and clearer to me to keep nameList in historical order, and provide various ways of keeping groups of names in desired orders. NamedList in modality-toolkit is an attempt to abstract this out, so like Shout, maybe NamedList is another candidate for a small quark to be used in various libs like Utopia, modality etc.

Anything that should be moved to the superclasses?

most of it could well go to superclasses

e.g. SkipJack for hailing signal is just to make it permanent, or? yes

Classes which seem to be unfinished: RepMap, RepMapGUI, and Reptopia yes, sorry for the clutter, I just removed them.

muellmusik commented 9 years ago

Hi Scott, sorry, not much time, concert tomorrow at ICAD in Graz -

Ah have fun and hello to everyone there!

NMLShout - this is generally useful and I would propose to move it into the main class folder NMLShout is a copy of Shout from Republic, so it could also be moved into its own quark?

This makes sense. Always happy if things are very modular.

Subclasses of Peer and Hail - Are these still valid/useful? \ these seem mostly to be about alternative addressing approaches, which perhaps they could be done with a PeerGroup or similar approach? yes, could also be in PeerGroup - it seemed simpler and clearer to me to keep nameList in historical order, and provide various ways of keeping groups of names in desired orders. NamedList in modality-toolkit is an attempt to abstract this out, so like Shout, maybe NamedList is another candidate for a small quark to be used in various libs like Utopia, modality etc.

Sure! Although if you just want order added that wouldn't be hard to do, just something like:

~namesInOrderAdded = List();
~addrBook.addDependant({|addrBook, what, who|
    if(what == \add, { ~namesInOrderAdded.add(who.name); });
});

or something like that.

BMInOutArray might be useful to consult in terms of some of the issues arising from ordered dictionaries.

Anything that should be moved to the superclasses? most of it could well go to superclasses

e.g. SkipJack for hailing signal is just to make it permanent, or?

yes

Okay, I need to have a little think about permanence. The clocks should probably do this as well.

Classes which seem to be unfinished: RepMap, RepMapGUI, and Reptopia yes, sorry for the clutter, I just removed them.

Thanks