Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MKtlElementCollective needs a helpfile #290

Open
LFSaw opened this issue May 23, 2017 · 6 comments
Open

MKtlElementCollective needs a helpfile #290

LFSaw opened this issue May 23, 2017 · 6 comments

Comments

@LFSaw
Copy link
Member

LFSaw commented May 23, 2017

as we are assembling the release for #200, I stumbled over MKtlElementCollective which still needs a basic Help file. I am willing to write it, though need some two sentences on what it does. @adcxyz ?

@adcxyz adcxyz changed the title MKtlElementCollective misses helpfile MKtlElementCollective needs a helpfile Jun 1, 2017
@adcxyz
Copy link
Contributor

adcxyz commented Jun 1, 2017

Actually @sensestage knows this much better, but I'll try anyway - the intro for the help file could be:

MKtlElementCollective contains elements whose values the corresponding device sends (or receives) in grouped form: For example, an OSC device which sends all its button states in a single OSC message with a message name and n values.
Very likely one never needs to make an MKtlElementCollective by hand; it is created automatically when a description file defines a group of elements as a collective.
For code examples, see link::Tutorials/How_to_create_a_description_file:: esp. the sections on collective input and output.

@LFSaw
Copy link
Member Author

LFSaw commented Jun 1, 2017 via email

adcxyz pushed a commit that referenced this issue Jun 1, 2017
@adcxyz
Copy link
Contributor

adcxyz commented Jun 1, 2017

just committed a first pass, hope it makes sense.
nice that modal hibernation is over ;-)

@sensestage
Copy link
Contributor

I'm actually not sure whether the collectives are still working after the code refactoring.

My contributions will stay in bursts - when I happen to be working on a (paid) project needing Modality...

@LFSaw
Copy link
Member Author

LFSaw commented Jun 1, 2017

Last time I checked (with XPee etc) it worked (without me knowing that it where collectives)...

With a little bit of digging, I found the place where they are used:

MKtl(\a, "*xpee*")
MKtl(\a).desc
MKtl(\a).desc.openFile

MKtl(\a).desc.fullDesc[\collectives]

(see MKtl:makeCollectives and OSCMKtlDevice:initCollectives)

@adcxyz
Copy link
Contributor

adcxyz commented Jun 30, 2017

@LFSaw - good enough to close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants