Multistate Button in Usine?
Multistate Button in Usine?
Hi, my first post, I'm new to HH4 and having fun.
Basic question: How do I realizea Multistate Button in HH?
I wanne control two paramaters of a plugin. If the one is on, the other is off.
Both parameters have violet conntections as in- and output.
When i push the button the text should change, send the value to the input of the one plugin parameter
and the opposite value to the other plugin parameter.
Best Regards
Djordjo
Basic question: How do I realizea Multistate Button in HH?
I wanne control two paramaters of a plugin. If the one is on, the other is off.
Both parameters have violet conntections as in- and output.
When i push the button the text should change, send the value to the input of the one plugin parameter
and the opposite value to the other plugin parameter.
Best Regards
Djordjo
New to Usine Hollyhock
if you need to control just 2 parameters in inverted state, then use Switch module and wire output to first parameter and 1-X module, then output of 1-X to second parameter.
in Switch settings you can set different text for ON and OFF states and also different pictures if you want.
in Switch settings you can set different text for ON and OFF states and also different pictures if you want.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE
Thanks.
How do I realize a button that triggers only one value like a "reset" for example?
And is there a way to monitor the data in the patch? I used to patch in Logics environment and there you could create some monitors and connect them to the output of objects.
That was pretty useful and clear.
How do I realize a button that triggers only one value like a "reset" for example?
And is there a way to monitor the data in the patch? I used to patch in Logics environment and there you could create some monitors and connect them to the output of objects.
That was pretty useful and clear.
New to Usine Hollyhock
Hello,
You make a mistake.
In Usine, a "button" is a trigger, and a "switch" has two states, 0 or 1.
To transform a switch in a trigger, use the "from 0 to 1" or "from 1 to 0" module.
To have your multistate switch it is simplier to just use the group function of the switch (have a look in the manual).
To monitor datas, many possibilities, you can use the "trace" module, you can clic on the point in the middle of a wire, you can use an "oscilloscope" module, you can had a fader .....
All the best
Sylvain
You make a mistake.
In Usine, a "button" is a trigger, and a "switch" has two states, 0 or 1.
To transform a switch in a trigger, use the "from 0 to 1" or "from 1 to 0" module.
To have your multistate switch it is simplier to just use the group function of the switch (have a look in the manual).
To monitor datas, many possibilities, you can use the "trace" module, you can clic on the point in the middle of a wire, you can use an "oscilloscope" module, you can had a fader .....
All the best
Sylvain
Hi Silvan, thanks.SylvainT wrote: ↑04 May 2020, 15:52Hello,
You make a mistake.
In Usine, a "button" is a trigger, and a "switch" has two states, 0 or 1.
To transform a switch in a trigger, use the "from 0 to 1" or "from 1 to 0" module.
To have your multistate switch it is simplier to just use the group function of the switch (have a look in the manual).
To monitor datas, many possibilities, you can use the "trace" module, you can clic on the point in the middle of a wire, you can use an "oscilloscope" module, you can had a fader .....
All the best
Sylvain
x.iso's tip fixed the multi button for me since I hade only 2 entries.
I will check the manual for the group function of the switch. Ich checked already the monitor options you mentioned but the trace module. this is the most close I was searchin for. Is there a way to clear the trace window?
But I still fail to solve the trigger button issue. When I connect a button to a Trace Value Module directly, push it, trace shows two data values coming in at once : 1 and then 0
If I connect it to "0 to 1" or "1 to 0" i get 4 data values comming in at once: 1,0,1,0
if I set the on/off values of the button both to 1 the button sends nothing. Same with 0.
Itried a "variable". Doesn't work either
What i want is, i push it and it always sends one value.
Is there a good patching tutorial series you can recommend, that explains basic patching tasks and data manipulation with modules? I checked already those on brainmodulars youtube channel.
Currently I spend hours to get simple tasks done.
New to Usine Hollyhock
Hello, you can use the "null flow if Off" feature of a button ?
Ok, has I said before, you misunderstand what is a "button" in Usine.
A "button" is already a trigger. If you want just one state, you'll need to use a "switch".
My advise, to really understand Usine, mostly if you're not familiar with modular programming, is to take the time to read the manual, (ttps://www.brainmodular.com/manuals/hh4/en), from 1.Introduction to 4.learn Usine, then have a look on 5.Panels. You'll then lost less time.
Usine is so powerful, has so many possibilities, could be very easy .... but for that, you need to understand the basic concepts of this tool.
For the tutorial, on the HH4 start page, you'll find the new tutorial we made for HH4, with almost all modules explain in a simple patch.
Then, in patching, in the settings panel of a module, you'll find a "!", it directly opens an help page about this object
A "button" is already a trigger. If you want just one state, you'll need to use a "switch".
My advise, to really understand Usine, mostly if you're not familiar with modular programming, is to take the time to read the manual, (ttps://www.brainmodular.com/manuals/hh4/en), from 1.Introduction to 4.learn Usine, then have a look on 5.Panels. You'll then lost less time.
Usine is so powerful, has so many possibilities, could be very easy .... but for that, you need to understand the basic concepts of this tool.
For the tutorial, on the HH4 start page, you'll find the new tutorial we made for HH4, with almost all modules explain in a simple patch.
Then, in patching, in the settings panel of a module, you'll find a "!", it directly opens an help page about this object
Hi nay-seven, this is close but the button can only be triggered once. Check it for yourself.
Connect a Button to a "System Trace Value" Module. Enable in the module settings of the Button "null flow if OFF".
Press the button > Trace window shows an incoming value of 1. After that you can push the button as much as you like,
but the Trace Window doesn't show any incoming values.
Yeah, a Button in Usine behaves like a trigger visually, when you press it but in the patch it sends two values at once 1& 0.SylvainT wrote: ↑05 May 2020, 10:03Ok, has I said before, you misunderstand what is a "button" in Usine.
A "button" is already a trigger. If you want just one state, you'll need to use a "switch".
My advise, to really understand Usine, mostly if you're not familiar with modular programming, is to take the time to read the manual, (ttps://www.brainmodular.com/manuals/hh4/en), from 1.Introduction to 4.learn Usine, then have a look on 5.Panels. You'll then lost less time.
Usine is so powerful, has so many possibilities, could be very easy .... but for that, you need to understand the basic concepts of this tool.
For the tutorial, on the HH4 start page, you'll find the new tutorial we made for HH4, with almost all modules explain in a simple patch.
Then, in patching, in the settings panel of a module, you'll find a "!", it directly opens an help page about this object
But i just want it to send one value, always the same, every time i press it.
However I found a solution.
1) I make a connection: (Button) > (Input A of Logical =) > (System Trace Value).
2) In the (Logical =) settings: A=0, B=1, null flow if false = enabled.
3) Now I can press the (Button) as much as I like the Trace Window shows always one incoming value: 1
I wonder is there not a simpler solution for that in Usine? This is pretty basic stuff.
I have patching experiance with MAX, Bidule, in Logic, with Midi Lab and for sure I'm reading the Usine manual.
But there are some things that are pretty unusual in Usine.
One example: I connect a (Button) to a (Switch). Now it's like the (Switch) gets constant information from the (Button) without me pressing it,
cause I can't put the (Switch) to ON without that it turns OFF from alone. And this "constant information pressure" is with evrything you patch in Usine.
With the following connction i can use the switch normally:: (Button) > (Input A of Logical = / A=0, B=1, null flow if false = enabled) > (Switch)
The (Logical =) breaks the "constant information pressure". I hope you understand what i mean.
Logic for example doesn't have Usines patching power and is very limited compared to Usine but the basic patching in the environment is easy peasy and you have very handy tools. Examples:
1)I connect a trigger to 5 Objects, do some math, filter the output and can create 5 Monitors in the environment connected to the output of the objects to check if everything works and the delete the monitors when I'm done.
2) I can send a trigger/ bang to a button and force that it sends only it's value without the trigger value on top.
3) II can send a trigger/ bang and make the button change it's state without sending a value.
How you can realize such simple things in Usine?!
Don't get me wrong, i fully understand the power of Usine and I'm looking forward to master it.
But my experiance with the manual with respect to basic patching is so far somkind of poor.
Best Regards
Djordjo
New to Usine Hollyhock
Trace window is not reset, so you don't see the value 1, but apply it to a concrete patch and monitor the wire ( click on the circle, you'll see it ) and -1 is no value in Usine.Hi nay-seven, this is close but the button can only be triggered once. Check it for yourself.
Connect a Button to a "System Trace Value" Module. Enable in the module settings of the Button "null flow if OFF".
Press the button > Trace window shows an incoming value of 1. After that you can push the button as much as you like,
but the Trace Window doesn't show any incoming values.
example:
Ah, ok. Is there a reason why the trace window doesn't reset?
New to Usine Hollyhock
i suppose it need to receive a 0 for this, will ask to senso (main dev)
Ok, thanks. Cause with the (Input A of Logical = / A=0, B=1, null flow if false = enabled) the trace window shows everything "correctly".
New to Usine Hollyhock
You can deploy a switch, left arrow. You'll find many inlets. Three of them receive triggers (bang in Max langage), toggle, set on and set off. I thing it is what you're looking for.
And, if you want just one "1" and not a constant "1", had a "pass if changed" module after your switch.
Sylvain
And, if you want just one "1" and not a constant "1", had a "pass if changed" module after your switch.
Sylvain
Last edited by SylvainT on 06 May 2020, 18:19, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 22 guests
