-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
ossia.remotes always fire on load, even with @type impulse #595
Comments
thanks for the report and the test patcher, will look into that soon |
Here's another example patch showing how this interacts with preset recall. In this example, there are four instances of the same model. Each instance contains a single parameter set to: @type impulse They all fire when the patch is loaded, and also when the presets are recalled. Please open impulseTest_cues.maxpat for the demo. Tagging @bltzr in this as well, following up on our cue_manager conversation from today. |
I think there might 2 separate problems here:
What we discussed today, and agreed was the right behaviour for presets, was that: we want to exclude ACCESS GET, SET & TYPE Impulse from presets (ie. we store all ACCES BI parameters of all types except Impulse) What happens at init is another matter. In any case, as these are two separate problems, it would be better to have 2 separate issues, one for each. What do you think ? Also @jln- ? |
I think |
If it's set the parameter won't show up over oscquery or other devices (e.g. in score) |
I'm actually wondering now - is it necessary or beneficial for ossia.remotes to output their values when a model is loaded? It seems preferable to me that all the remotes would load "silently," not outputting their values unless asked to do so explicitly, e.g. by recalling a preset, or if the parameter in question has a default value. I guess this might complicate things in terms of having remotes accurately reflect parameter state, though, e.g. if a second view of an existing model is added later... |
It is necessary and required imho. Else it would mean that views can get un-synchronized which is not desirable. Further more if remotes are within a model and not in a GUI view. Do I understand correctly that what is bothering you is that models & view get initiated with their default value AND by your default cue that actually initializes your patch ? (at least that was something that bothered me with Jamoma but never got solved). Not sure there would be a way to solve this, though (like "if there's an 'init' cue, don't initialize with default value attribute). |
this issue has lots of digression. Thanks |
this is fixed with 20ddeab please open another issue to talk about default preset etc. |
There seems to be no way to prevent ossia.remote outputting a value when a model and view load. See attached demo:
impulseTest.zip
It would be useful to have this functionality in order to build UI elements into views that only fire when the user actually clicks on them.
The text was updated successfully, but these errors were encountered: