A/B comparison



  • This has been asked for a few times. Here is one solution I have found, although I haven't tried it in a real world project so there may be some unintended effects.

    Originally I was thinking of exporting the state of the controls to a string and storing them in a panel but unfortunately HISE prevents us from getting a reference to the main interface from within the main interface script so that won't work.

    The method I'm using instead is to export as a preset XML outside of the usual preset system (I think).

    HiseSnippet 1083.3ocsV07aaaCEmJwpqVatXEnm1IhbRFI00tesglEjZ67AL5RhwbWv.JBJnknrIBEo.EcVLJx+J6xNtq6OncY22+AaORIYI24kEWfoKRuu3626GIeOMTICnooRExo9ammPQNeg6n4B8z9SILAZvAHm66RFqooZTu4IjzTZHxwYyiMVcpWCYe9y86Q3DQ.sTEBctjEP+NVLSWpc3qeCiyOhDReKKth2O+0CBjh9RtbFfjMcaiRHAWRlPOkXbaCWjy8NLjokpQZB.FjSsdxv4ilJ+IQl+myRYi4TiPGzHXgxTejjGZPr4aT+oLd3vhJNEAqxvx5eyr5+QtmvBYKzWxCeo0.tLhp7gyF2F757IBOmJvqVF7dn6n.EKQWZwfsO2cfPSUQDXKnJrx7EswOuoaeI3gP2JlbI8HEHrHB+W1t8N3Wztcyca30vyt82JjFQU8Ib9XXiH0WqlQyLqnSvL3KX+JUiuhnvi0ht8v6ge2Ef5HoB6y.o16hY3uE+T301a2rg2GZ3ggGqyuicA3QAhlP08kwIRAH3uUuYZsTr01LS5pFQqTieBsRxKvkuTXslqt4td2XfHSvYBJNZlHPyjB7xd4Gj8dG.7bnp.nYRSVxXQXeqZ7d6g6zLSYNzMObY.giYgWC32tnsXhP50mEUrpM2E+jmbLUi0SoXhRQlisdfkQVU.SM1VgfDA7RwlLgpng3f7ZpLW.dSkbZqDECHFHmELhEnFH.rLd+E7nBtjJUztbddklB6ywCA0TfW6tUS7qti91aKfJMY4lhz4cSE17Toldlvuo2G7p6ci2GaIJZUlxyCmpVkUS6.0sDluXV7XppXOy3mYqZ4sfLeZZ3kG2oIrOLXh.JxRNOMe+LunVvlYGwZeg4n34lD3aWjNUH2Olt5lVRr6fiH7TZU98e28dKbOmhg5Etcub6i6c2ZeDjksJNJECDL8YIzb4xFLcVQCFTNbMsZxQJ3p11n4A4MZFwYgTEhAKxm49FgbbGjcOHu48u+KI+w9neXvADMoXYfUDxRBUoYlhw4.5Uvnfr9W0cOfldoVl.IZwsdXoWNoYMArIstalPaz0HGWmG.4bt4iuB9PSuVapstHEIjIOVImkjUqojqnCDYbtoQHZsxUmrb8aqJW8VqbU6+jLsYZRQl9U6Tx+QWeX1iLbFmnWdfjYJbtA31xRc9Mc2EoL87pSoWioTsW4TpUdH5NB2G5NjoCltZ7twJvKbb5+a7lOyug6gQQz.cIXq4dzO9oNfeMfx2KmoYhImPf4.lCBmNKdD7KPAT.IBAkmZNSrg4hZlbairgYFQEgVg+BdxM1wH6jarSgQTLIPIee93IyeUbeqF.SB6OWU28DiLdw8ZCtige048AAFh3w.xWcDOcsi3YqcDOesi3EqcDubsi3qW6H9laIBy+U1clVFmcs.TL7Pa+TGmCED3Tk8DH5ugyQVSL
    


  • Actually it seems there is a problem with this method too, it only write the value the first time the state is exported. @Christoph-Hart is this intentional?



  • @d-healey Very good starting point.
    In A/B comparsion, There is an A to B copy button (so the user don't have to start a new preset from scratch, just continue from the A) and undo, redo options.

    Overloud-Comp-G.png


 

2
Online

384
Users

1.2k
Topics

8.8k
Posts