One slider pack controls two modulators?
-
@orange Not quite, if you have a look at the API reference you need to include the index of the attribute you want to change as the first parameter. I don't know what the attribute index is for step shape but what I do is just try numbers starting at 0 going up until it changes the parameter I want. Some modules like envelopes have predefined constants like envelope.Attack but I don't know if there is one for the LFO.
So just try
PHASERLFO1.setAttribute(0, value);
and see if it works. If not try 1, then 2, etc. -
@d-healey I've tried from 0 to 11. it doesn't work.
-
@orange That probably means it's not set up. I assume you've saved the PHASERLFO1 in a constant variable?
-
@d-healey Yes I've declared
const var PHASERLFO1 = Synth.getModulator("PHASERLFO1");
-
@orange Well I'm not sure what you're doing wrong but it works here. I realised you can get the index from the parameter id dropdown in the interface designer. I set it to 0 and that moved the frequency knob so going through the dropdown I figured that waveform type must be 2.
HiseSnippet 1309.3oc6X0saaaCElxIrKwqIqcqWtKDBv.RQ5BrcyOsHXnNwItHnwwFQYsKaWTvHQaSDIRMJpj4NLf8Fr61KvdA5ivdj5av1gT9GoDuDqr01.r3KLzg77Q9wye5P0RJboQQBIxZ1C6ERQV2E6ziq5VqKgwQ6tMxZdbCRjhJsSFZqdgjnHpGxxZpmqGvZ1oQleu6YaQ7IbW5ngPnWJXtz8XAL0nQCq9BluechG8PVPJsWo5ttBdMguHF3yT3RnPh6IjNz8IZ0JfQV3c7XJgzQQTzHj0zaI754zUbFOQ+WxhXG6S0BkQNvBkLbcgumlw5mQ05x78ZM3bGgfEs0HqvTIVgGfav7XCGej03dlIrGgHs8vpvkQuxWS5YkhdSmPu6icbkrP0nYzb6Sw6xAGUaB3BRSqDcQE9CKbMAnAWsb.4DZcIHLDwhqUpzirWsToGtwbEmqH3HhT1mRj19sE1eisInX4NTUCgWrOANjKtvd0aZOTbAMtLnpLIvprv42uS.XCnI.rlHHTvAgEW3EbwwkA8aGycULA2Vv2WnnM4K9vh+bwYK9KEO+LsaOtozqtT36SkiaVcLo7RfsHON3Xp7Q.Y8ioZ8lqnM7CNwKGQUapTR1wwJ5hUFnxFCUnxkqArefKNaLzclrXH2DKVJ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hP+MwpSURA�
-
@d-healey Ok thank you for the fix.
But I mean a "SliderPack" (not Slider knob) that controls only the STEPS shape.
I've done waveform selecting with a combobox. -
@orange Oh you mean you want to control each of the step waveform? I don't think that's possible at the moment
-
@d-healey
Yes exactly. When we tweak the step bars from a SliderPack, the both of two modulator's steps waveform will be controlled. -
@orange Actually I think I've thought of a possible way. Create two hidden slider packs that are set to control lfo1 and lfo2, then create a visible slider pack that controls the two hidden ones. I'm not sure if this is possible but it might be worth trying. I have to go out now otherwise I'd try it myself. Good luck!
-
I think it is possible with only arrays, not float values. But I can't find a way...
-
Try using one global LFO and connect the SliderPack to it. I've never come across the need of connecting a slider pack (or even a table) to multiple elements (and it would require a lot of rewriting to allow this because it messes with the ownership concept of the data models).
-
@Christoph-Hart @d-healey
Ok, I understand. I will solve this with an other option, disabling/enabling second modulator.I have 2 tables, 2 modulators, 1 combobox, 1 button.
Combobox selects waveshapes of 2 modulators at the same time. Button bypasses between modulator 1 & modulator 2.
When combobox selects table waveshape; it should check the button value (0 or 1) and it should decide which table to show. I've used a local variable for this. but it doesn't work :( (
value == 6
is table waveshape of the combobox selection.)... if(value == 6) { local button1value = TableChanger.getValue(); if(button1value == 0) { Table_For_LFOMod1.showControl(true); Table_For_LFOMod2.showControl(false); } if(button1value == 1) { Table_For_LFOMod1.showControl(false); Table_For_LFOMod2.showControl(true); } } };
This is the snippet:
HiseSnippet 1851.3oc6Zs0TabCEVKfRvFnkb4g9PeXm7joIwi20WvLYnwfARbCDbiIjzzGXVuV1VC6Em0xbIYnS9AzY5eo9VeMu2+D4ePqzpcWq0WVeoAJYlHRvHctnOcNGoUmy5xN15n1ssc.RKbv4sP.oEgUN2hzrXSMrEnzV.oaBKqYgL.addKs1sQ0.RRy9DFQoXyAbae5wapYnYoi5ND.bnMVGsK1DS5NZqBOCaXriVMzAXSAtyTnjtsUQaC6NTfLKLEnkl9wZMPOWiw1LPvIXzosARofoUS5brR02sQRZ6cmc5a1q7poT1ciWt5oU1YqjIeZw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give me a few minutes :p
-
Okay, here's a version that works. I made it so the button hides/shows the tables, not sure why you wanted their visibility set by the dropdown menu, the button made more sense to me so that's what I went with. I've used the onControl callback rather than a separate callback function but you can do it which way you prefer.
HiseSnippet 1890.3oc6Zs0bSbCEVaRDDavTt8PenOrSdxg.Id8kDmIkhIIDHkDhKNEnkgIy5cks0vtqL6JGHCS5vOfNS+K025q7Sg+AsRq1KZ80XCIMLC6.wQ5bQe5bNR64bbp5RLPddDWfRp8OpMBnbYXsibns1nkN1Ar8l.kKBqp6fr.qeTacOOjIPQY5GxIpjZFf+ymt255V5NFn3o.fmQvFncv1XZ7rsq7Xrk0V5ln8w1RbWrx1FDmMHVjNLfLMLGnstwq0ahdhNmsof.E3CLwThaMpNE4ATlYch4Q0ZQdqif+mg8v0sP7AZfZLEIldKhkIGw7YAazBaYVMbC6AXZoZ71eZw1+lvcwl3n4iMCW0mfZrDx1CkoFF7zjgWtSN7Tjf2LB3cMXMCWbaZLEN1tDbaGJxsgNyEHCKAufopdY3FDFGNzEs0eMZKW1fHIxtbtb2VsTtbyuVlzYRybDdT0C0cUqSc1WmgZ06pFJcSDcChcahCaP14BYXt4WScokVuCkRbToDUu2hoFsTobZdp5Nlp1DyNV5LCjWxkvpAwio9W9ptlbegnbJ9fZokdHhptyV6IoIeEKViLoaPbUyhYBjaMUr5Oplm8wBKLelzuOSZU1CegdI9ULF7it4ajcC0T14XJNZzbKjEuf17biQffBvHjt+FBeNNXKh6ABMEoizGmb+1leRJZe0MnK0EnEbOrE1+j4.WMFi0IqSdm1.kOhi4DN+ktE1wB6fTazwwfhYtS9wx.d3pvkXk0HT9ayVEqNHAfSIaD0VzCQuOk5hq2ghxljzy0ODwrU17H5PUrVWJH+fUP9Ap.1+vMx5OV8t2UUiArTbjkx2LwvD6.Y3lf5FHjfX9DDana4ISsP+nlJhbwgStz.I2cbi1.PAOXnadGDhOVXHRXIxOLKQ2a17CyN80tknvjaIFdPgvNc91RHaHJdZYHFQLQ21oybCQ2QDk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7isaagdXHTxDLgp+LCtO+.vlHK8D1umKBTCm32pzmuI.koStwl9jswFQ+5Gdf.G3pmRAtig0eJI.mQ.XH+HqOJ69NlQhwsbQuoCxwPZR0J7uMksicRU9qJ7S8MBO0Kk56NnlrERVg6iXWbU6HGCY2UMaBg1B6zL42QyMqrCgz9AN7awLkUxFc7nD6vEcRyosFE01OARkWBWt3hmNO8bbexCEm5DFJdCtSVMxcxiIOmeKp.wQwZmSP7HN8jeTW0e1b54S26y8zyWlpw91ooucZZRQ70g9ukW8qlz9tNzOKjud.7U4kUcN.tOkzgxtoZWcpKlWg2S5XWiUMlgeOz4e0y7ZNlhWOqXbN9X+TDPNl9C9W1S.QM9Xk.hZgDOSVCacCWxAFhlhwuNYV+YX6aG++9QRA2kOVMpMbbaiM1DefgAOQ76vrN8Wh7isDEFaIJN1RTZrkX4wVhUFaIJODI3+oyb+NrWzIh2Af+yxYRsZ
Tips...
You have some horrible code :p
Stuff like this:
Panel1.showControl(false); Panel2.showControl(true); Panel3.showControl(false); Panel4.showControl(false); Panel5.showControl(false);
Whenever you find yourself repeating the same code like this you need to either be using a function or a loop. In this case I'd have changed it to a loop (using an array). I've actually not touched the panel show/hide code as I don't know what it's for but I have created the array :)
const var TableChanger = Content.getComponent("TableChanger");
TableChanger isn't a very good name, it tells us what the control does but not what the control is. In your small example it doesn't matter too much but in a larger project it could cause a headache. I've renamed it tobtnTable
it's a button that does something with the tables :) -
@d-healey wow thank you so much :) You are a great coder :)
Selector shows only tables (not Panel1, Panel2...etc relatively they are selected). But how can we show only this function when combobox selects table? -
HiseSnippet 1749.3oc6Ys0aaaCElJIrswodq2dbOPjWlyRqikuj3frt5FmK0qIMY0YscnnHPQh1lnRjpRz4BJxP+ALf8WZusW1C8mR+GrQJJIK6X6D6tTzBT8fkHO29HOmCIOz65wLw99LOf1z6chKFnccX8Sn7VUaYPnfZqAztJbWCJ1Fr5ItF99XKfl1jaJIpM8TffmO7fUMrMnl3NcA.OiQLwaQbH7N85V4wD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o in the onControl callback, see if you can find it :p
-
Tables are now hidden/shown when selecting a panel too. I also fixed the typo but you should still try and find it :)
HiseSnippet 1798.3oc6YkrbSbDFdFa2fsLJgsC4PNzkuDoXPViVrkKffv1XvgE6fb.RQQQMdlVRcwLcKlokwtnHEO.op7Jka4RNviBuAI8xrzRVR1RDSAUwbPyz8+1W+uzaZm.pCJLjFXXN2tG1AYXdNPiCIr1q21FSL1ZCCyyB1wlf7LV6vN1ggHWCSyouifn4byXHe9vMWy1yl3fR6xv3wTrC59XeLKs2N0uG1yaSaWztXeMtqTeKGJYcpGsKGHSCJZzw14k1sPOzVv1T.CSvscwLZPClMCEZXNyZT2Cazl9Zhh+GiCw64gDMrLZvUjp6ModtBDK50X81XO2chGvgFbsrS5veZ0v+xfGfcwI8m5FNuj.LUBc+g4TiBdV5vq3IGdlZvaFE7t.ngS.tCKkh.ayC1hvPAMs4g.cXo30Xp8OCXcJmCBqfu8KQaFvajHQtkKV7JvpEKl+ZYyjMCOPDxf6aG.2iQ10liZ3MfwR2BwVm52gR3MxsPLCKj+ZvkVZstLFk.YTX3qwLm1PlfVHzl3B8otc8r4NnvdMgWSZHW8O64804tJQETjfZoktChAu+laqoIohU1Hallz.XNLWfhWChgWGVh+ZwEymMyaxlAxeDF5Y3myYPlcKFHOHVS4Vfq3jVKrXN7hV4ENiHAUfQI8fcDRNdwlzfWnzThNx71dGucDURIiq9Ac09.sh6QYXYkoFh6ybbN2itF8.qgpfDN3wvlcINLLODRIOjxPaSxkOyaxLWl2loeJMaNHRBKDP87PAChpnhOXDhkiz0eOTvU3.2qKRvmxIfaBiHAuwMRxIyqHF4n5MPIUvyKDxK+h0MKfqxq0Cyo7gXw0L4ZZ6E1OiQZ05pCPuChecV0TsNDdq5EO3h5a7kDON5.boktK1EAs87hRLRIISj5.wjHJ4SIoo.YJ0ffeBGuMk4zuD.TNdfW+FQ5ufGhzh0NOGSqaS9AFTnTnshJj01lAconPAEzA3P1UfN1D3qQEJTXnHKZ3IpwiKp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8dCdWt98ozN2lHlEyUWIq2MjQ8iM5jtW1FLTG4FGMeFX4JENcdNR49jmJN0ILU7RhfLLIbJxI+LeVTEhSx09LAwGS0Soiap9OMUOe3lerUO++bJruVM80poIEwWDHWkG9Ey19tHPtKjub.74EGq5y.39HZWFelpGXyBvhS38vt9M3mFyAwgJQbanhybLk39STsKJZK2h.h3Ja7u7mHhVh1lQDshI9IwF91NAzW3ntLLwzIyJ6gOtIx+cw4.OPzFlb8aBeiO1E+BGGwFwuJ26LXIJM1RTdrknxXKQ0wVhkGaIVYrkn1HjP7Gqdqt7E5T46FF+GQPsB7B�
-
@d-healey we need to hide tables when Panel1, Panel2...etc are selected. Actually I will replace Panel1, Panel2.. with images of waveshapes (sine, triangle...etc.) later.
So we need 2 individual parameters relationship with each other. Combobox selection and btnTable.
-
Combobox should select only one choice (Panel1, Panel2....Table).
-
When table selected, then it should show/hide Table_For_LFOMod1 or Table_For_LFOMod2 depending on btnTable's state.
Because of that I thought if and statement for this relations.
-
-
Isn't that what the last one I posted does?
-
@d-healey Yes it does :) You are great :)