Page 1 of 1

Posted: 03 Jan 2019, 20:34
by Gilsornette
Hello
I'm using some XY pad modules in a patch and I'd like them to return to certain values on opening my workspace.
I was trying to do it with [Usine Patch Settings] sending a trigger to the reset patch inlet with [patch on initialization]
but the value of the X1 parameter (resetted) is 0.2172 when I expected it to be 0.5. (median value). Am I doing something wrong?
And what would be the solution if I want another value on reset?
By the way I'm also looking for a simple way to trigger a value. In Max you just "bang" a value, what about in Usine?
Is there a kind of [value] module?
Sorry for those very basics questions...

Posted: 03 Jan 2019, 21:53
by oli_lab
simple way to trigger a value : module variable (var)

Posted: 03 Jan 2019, 22:34
by Gilsornette
Thank you. So I can trigger (Var) with (On Init).
Any idea about why I don't get median values on reseting the patch?

Posted: 03 Jan 2019, 23:17
by SylvainT
Hello,

Most modules in Usine have a reset value, you can edit this value.
Unfortunately, on "XY Pad" module, this value is not editable. It could be a good suggestion, with an array input.
You can use a "pass" module, linked to x1, y1, x2, y2 ...., with a 0.5 value in input. You link a "on activation" module on pass input.
Each time you activate the patch, the x and y value will be reseted to median value.

Sylvain

Posted: 04 Jan 2019, 01:58
by 23fx23
can also do 'wireless' bangs usine IML vi 'send usine internal message' module,
ie rename target module alt-clicking on it, 'MYXY' , then on the message module:

SET_TARGET_PATCH SENDER_PATCH
SET_VALUE 'MYXY' X-1 0.5
SET_VALUE 'MYXY' Y-1 0.5

for ex will reset x and y to 0,5. can add many vars keeping the patch clean , and connect what you want to send message button inlet, like on init.

Posted: 04 Jan 2019, 15:05
by Gilsornette
Sylvain, 23fx23, thank you very much for your help!
all the best