Can't change Slider style
-
Managed to get this all working. Put a link below to a project showing how to do it. Hope it helps someone out...
Does anyone know what the best way to make the fall of the meter back to 0 smoother? Is that to do with timer objects?
-
You need to filter the value you show. Pseudocode:
If newLevel > oldlevel
Then level = newLevel
Else level = level * 0.97The number something between 0.8 and 1.0 determines the fall-off speed.
-
This post is deleted! -
This post is deleted! -
@duno Hey mate, I was wondering if you could please repost the example project of the meter? Maybe on Google Drive so that it doesn't expire?
Thanks very much!
Goran -
Hey man, it's pretty much the same as the one below...
To change the slider for filmstrips, select the slider, either on the unlocked interface, or in the component list, it should highlight, then on the right hand side in the properties list, scroll down and you'll see and option saying filmstripimage, it's kind of scrunched up. Outside of hise, drag the filmstrip you want to use into the images folder in your project folder, then go back to that properties list in Hise, and open the filmstrip. Then below tell it how many steps its got. It's the option right below filmstrip in the properties. Should work then.
On Christophs example he posted, change the name of the main container on the main page to say Master Chain
HiseSnippet 1470.3oc6X0saaaCEVxNZHwsoacnXXWJDrKbA5BrbcbZVwPch+oMqIMFQtoaWLzQKQayUIRMJpzZTTf8n0Gg8nz2fsCIkijcbRs2ZtXsU2wyue7bN7vCUWNyCGGy3Flq0abD1v75VtiohQMGgHTi8aYXVx5jD6CwBL2XuwQn3XrugoYwGJ4at1JFpu28f8PAHpGNijgwILhG9.RHQjQsaiGSBB5f7w8Hg4jtVi88Xzlr.VBfkhVULhPdu.MD+DjTrBVFleQaehfwcEHAN1vbk8X9icGwdIUK+IjXR+.rbgigKXHM4Nr.eIhkTMZNhD32cxdN1vvzpaVDnnNBbKqCI9jynmEI9JEC6LMxGOLKbYvyIO7pr3vyLG7VQCuaZ45wIQhLNRrcMq8oPJZ.BRA4gkVViBmVzpICjfJ1LD8BbGNr3LMJWuRk6XuUkJ299qWZ8RPhHVXeJhaeHJFD4jjCvCD1+n8DKLDKZxBiXTXQ4MxKzFRKjoenhkp3I0DphKkAj6U0JvB651q8wyn6DydLY3n2uyURcwdehQdete8R1vWl6c.cpb+YoVMkZdmIsda5PBEu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Aitjvn.baJ7BSXReEF+ZqzwolPc555CYTVzHFk3kOoeLVvICGh44w9b2P6JDv3XYTtUiiwAXT9B3uqwAPgGhKGI6eYrvYwiEWV95aszv0VdXz9iil5E+zro9wrD4inNDAEpvanrfGg3B8R8voCXKetuYAY+P85Jx05loTe0h+F9RY5HWalxzYByOZ7QHxiydtm9WJHOurphBDaopev6Zvalg01NS9GBx3O75Wxy87jIzuGx.yWipKsF2co0n1RqwVKsF0WZM1do03dWhFxK31MAdPr93MPnaa0qvMMaSQvoC0IIi+QGL33L
edit - in your project, the sampler you've got called kick, that's the string name in the variable. On Christophs example it's Master Chain, so just change the name in that variable. You need to change
Synth.getChildSynth
, forsynth.getSampler
too. If you hit esc as your writing, you'll see an autofill similar to sublime. -
@duno Thanks a lot. I appreciate the explanation. I will give it a shot and see how I go :)