Demultiplexer Objects

20 views
Skip to first unread message

Jan Vantomme

unread,
Jun 26, 2015, 8:02:48 AM6/26/15
to axolot...@googlegroups.com
I've just finished developing some Demultiplexer objects.
The objects and test patches are available on GitHub: https://github.com/vormplus/AxolotiObjects

@Johannes: feel free to add them to the official Axoloti distribution. They might be useful for other people.

Johannes Taelman

unread,
Jun 27, 2015, 8:40:10 AM6/27/15
to Jan Vantomme, axolot...@googlegroups.com
Sorry I can't add them as they are
here is why:

* this is a family of objects, rather than creating them individually with an editor, it is more maintainable to generate them in code. The current object set creation is found in src/generatedobjects check for instance Create_inmuxn in src/generatedobjects/mux.java
The object generator is normally hidden functionality, and can be enabled by setting <ExpertMode>true</ExpertMode> in .preferences.xml

But I must admit this object generator code is quite messy, lots of references left to tilde suffix, when I was trying to follow more of the pd/max object naming conventions.

* the way you created the hashes is not really what is intended, and does not match the internal hash creation. The hash does not include the description of object, inlets and outlets and other stuff that does not affect its functionality.

The idea of the hash is that documents copy the object hash at creation time, so when the implementation of an object has changed (to fix a bug for instance), the user can be warned that this change may affect the functioning of a patch.

* The object format has changed a bit last week, replacing the %% markup for inlets, outlets and parameters with proper c-style names.

The hash is not well implemented. It is
* not verified when loading the objects
* relied on to match the right synonym object when opening a patch. Synonym objects are used to auto-adapt to inlet data types. Matching should be based on a unique object ID.

Will try to fix as much as possible asap.
I added demux objects in the "unstable" branch. They are a bit different than yours, with a default inlet for each outlet.

Also new is a help patch reference in objects, that can be found in the object popup menu. Only available in the demux objects for now...


--
You received this message because you are subscribed to the Google Groups "axoloti-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axoloti-user...@googlegroups.com.
To post to this group, send email to axolot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/axoloti-users/f9a47b4f-eeba-4766-bdef-73835f726d1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages