Feature Request #676

distant message to jcom.hub

Added by Renaud Rubiano over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:2011-02-04
Priority:NormalDue date:
Assignee:Théo de la Hogue% Done:

0%

Category:-Spent time:-
Target version:MVC for 0.6
Branch:

Description

I don't found how to send an init to the jcom.hub with a jcom.send. I tried to send this

address ModuleName, init

I think it could be done like that, and it's very usefull.

History

#1 Updated by Théo de la Hogue over 6 years ago

  • Status changed from New to Resolved

Hi Renaud,

it should be possible now...

example1 : a bang into a [jcom.send /degrade~:init] object should initialized the module
(while a [jcom.receive /degrade~:initialized] outputs 0 and 1...)

example2 : a bang into a [jcom.send /movie/rate:reset] object should reset the parameter

This is also true for the jcom.preset because it's registered under the node /preset and so it is possible to have for example a [jcom.send /preset:store/current]. However this would mean that the internal messages /store/current, /store/next of the jcom.preset are useless (or not ? because if I removed it they would not appears into the namespace but also in the documentation ... not sure what is the more consistent ... )

best,
TO

#2 Updated by Renaud Rubiano over 6 years ago

It doesn't work for me, neither Module initialisation nor Parameter reset with a jcom.send object. Have you a patch where these functions work?
The jcom.receive ModuleName:initialized is ok, I've already noticed it in Bergen with you.

I'm not sure that it really usefull to have all the preset parameters appears when you use jcom.namespace to list the messages available for a module. But I think it's a bit earlier to know what to decide about that. I think we have to wait having some patching-experiences with this new framework.

renaud

#3 Updated by Théo de la Hogue over 6 years ago

The problem certainly come from the JamomaConfiguration.xml file.

It have changed so you have to copy it from /Modular/Max/support into
/Max5/Cyclin'74/init/... sorry this is still not automatized...

Is this resolved the problem ?

best
TO

#4 Updated by Renaud Rubiano over 6 years ago

Yes, my problem was that I don't update this file each time I build Jamoma.

Thank you

renaud

#5 Updated by Renaud Rubiano over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF