xfader on interface
-
Hey there,
I want to display my xfader zones as a toggle menu on the interface to toggle through the effects and display the current selected/active one.
How could I achieve that and what would that look like?
HiseSnippet 1639.3oc2Y87aaTDEdVaON0tjzVnBtZTujJUEEmTJHgD1M+vfE0oltgPOQ53cGGOx6NiY2wM1EwohDkSbt2f+IPha4LTPH5ItA2n2JvANReyrqs201w0wJoUJIRIdl4Mu48l226ady3pdBKpuuvCYjY6tsnHiWAa1kKardCBiiJuAxXAbEhuj5kKnq051h36SsQFFIeeUGFYRgz+7zBqQbHbK5ftPncDLK5MXtL4fdqV7CYNNkH1zsYtQj9pEKaI3qKbDsA6IIdYTKhUSxdzsHJwRfQFo2zlIEdlRhj5CxrlvtqYCw97.42g4yp4PUMxiLAEEzMZ8FLG6p87UeDxHU0Addx.O+h3JLaV+9GrCbd8.4FLin6AFIljIk+HXRFQLoTAlzEvlVdrVxAinrmyhKyg.RcBrUG0TBjEYb.dcAH.WtjKoIsjGzn+DV7ZKu7UxA+4xua81bKISvyI3aIjzaxW7xY+7rYx9EYyM7P0qO1wTKimvwg5M1gUQWuIMwE4scqQ8tRt6RbZS6KH39w2SSOc6oVAdcDAE7xbl7lsngsKIbrU6UpOOZD.EtsAwhjgVH7IoNRrPXjXs1RofiXfRxh4zNxcqI4Hs8GE1ilp42xid2i37McX1TO87mGWGRg71MXxQUwcN+seRAzGWdChjn.Vg9E3qsndRlZK0XC5cgLy.XVF7FT+lRQKXmecgaKAWsKXjJXomObouAoF0QuxmCa01yCjgVuN0Rh5LvzsK1cPisKhFUcSdmbfpx4Mapp+lZDq58NbUkdJ2eODe7fZEa0CBU1VSep0StR2NOPe4ALWPlW4QTGZzjcflQX21gHiy8nHYCG.Rdhkvqxp49LY2njvCSHk5vSdVNRxyyI0XJM2KfqxjVMFu8lXL1K.OOos2P584wapQqCL1T3R2dhb4olNdmAlxzxqmMDk.quxPhAZFGi9CvCXOA7MfqnaKp5P5tnOwskC8Vf8dkb0bDVMMY2iNJkaHFcMkDKZ0fv4T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IEb8W7SFbEU6b4G8cxcY1rcsrhqpQl3Jy5DWcVm3Um0I9Vy5Du1rNw2dVm3677mn56MK7N1JXKjiTcyfxnL5c.CvZhdFu6MemB
(Or is there a more easier way to let the user toggle through a multiple effect section in the scriptnote?)
-
HiseSnippet 1530.3ocyX87aaTDEdV6LNMojRaAwYi5kTopn3zRAIjvt4GFrnN0zMj1SjNd2w0i7tyrr63F6h3TQhxIN2av+DHwsbFJHj5ItA2faEwANBuYm0d20qiqsUSKoRUd906889l26alYa3KrnAABejwR602ihLdErYetr8VsILNp11HiyfqSBjT+h5t1ruGIHfZiLLx+9pNLVZAT3eOs7lDGB2hF2EBsufYQuNykIi6sQkOj43TkXS2i4lX1WoRMKAeKginKfm730QdDqNj6R2knlVNLxnvN1Lov2TRjz.jwBaJr6a1VbHWO+8YArlNTUiRHSvP5tqJbrUHV0KZq1LG6FCh6.DXkFwrPdMK7535La1v9iYiyFNPw3UjjOLxkFd4SAuRIg25If2XfjQBHsfFRmCaZ4y7jwinvyow03vlSKBP6IghdtHiivaIfIvkq4R5Pq5CMFtfUu55qeohv+cw2sUWtkjI3EE7cER5M3qdwk+rkWZ4Oe4hiNTqVicLka7ENNT+wNrZm1eRKbUdW2lT+KU7dDmtzgSDB+zbJ934zja4V5nNwDE7Zbl7FdT9wkHfhnJf+yGgJ3WxP1+LQr+lckRAGw.RdYLm1SdPSIGEh4jo8noZ8d9z6Miq2zgYS8CW+J3VPIj+A5EmzD24r29OKi93ZaSjDUxTTbAwpG0WxTznw1z6AUl5TqkvaSC5HEd.aukv0SvUrfwBZWuRjquNoI0IzyuJ1pquOLGZqVTKIpWLzsqzOtwdUPYM2jYxXSUze9L0PRMApdui2TElR98XhwiZVwaPJTM6P4yP6Tr5sKAxW9fxETsUKi4PYKvAoEgcWGhLsdiRjMZ.nfIUQtpRlGvj8SJB+bSDZZg34vMXRq1iGi4FCFgTxSBLFIcuBdmvrxX.t.t5sewoSubTF.3SkySkPLNE5GhiUCgbWHmgtmngCo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owN5q9XL3PAPKG8evA2MQV
-
@Lindon Thanks a lot for your time.
I see so you can make it directly without the xfader module.
How can I turn the knob into a toggle menu that shows the current selected effect?
-
@elemen8t whats a Toggle Menu?? Do you mean a combobox? - just set the knob value in the comboBox call back.
-
@Lindon I mean something like the endless smile preset menu where you have a list of effects and can press "next" or "previous" effect and toggle through them.
-
@elemen8t said in xfader on interface:
@Lindon I mean something like the endless smile preset menu where you have a list of effects and can press "next" or "previous" effect and toggle through them.
so keep a tally - or better still have and array of the fx names - when the user presses forwards or back look and see which is the current FX name being displayed - find it in your array then move forwards or back by one...and display the new name...
-
@Lindon its probably easier to show than explain:
HiseSnippet 1905.3ocyY07aaTDEe1jLI0FZo7g37VyAbDog3zxGRUk3lu.KHoFbHTIDDFu633QY2YVlcbabANAR.m3LbB9m.It0y7kPpm3FbCtUDG3H7lY10dWaGShUaAW0zLyal2626623VWJ7nwwBIxovNcinHmGD2nKW0ds1DFGUacjyYvaQhUToqcqU6FQhio9HGmoeQ8FNElAY9bmUVkDP3dz9agP6JXdzWgExT82sd0WlEDrIwmtCKLyouX0ZdB9Zh.QG.OSiWBEQ7NfrOcah9XSgQNytgOSIjMTDEMF4LypB+tMZKtA2d9cYwrlAT8hJnF.irauoHvWiX8tn0ZyB7qmp2wHfK06aEl1ZEdL7VLeVu86aMNqgfa+aj0d3LUd3McN3UIK7VJC7FAjbx.oYrP5gwM7jrHUeJZ77.3Zbv4zh.l8rPwdVzTeAFul.NAWsXH4.5lRXQuaT9YWZoEbgeL+kJVDL8wJ2qSjtsNjCF7X2K69lkjzqSkMqTZgRQsIwz87oAjtvpPgXe3erjWtzakiAVgu40p.rvDMs39T0FsZQ8TkKYI5BTKAhs+k75Hk.LoliAWLE1vUWSDFI3vhxkxcJMCJVjwCXbpaqNbOESvcEbN8P0dMUbMKjhfxdo2eAPRAcnyW78JVf0p74RVUnfjp5H4WpXgm9oA44pZSsmzskTDZVp.d55yhi.8+IiciDwLizXbCYhTR5VrPfviDnIBJPhY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