A / B Copy & Compare



  • Is it possible to add copy method to this A /B compare system? The compare button works prefectly but it would be nice to add copy section too.

    I mean copy A values to B, so user don't have to edit the presetfrom scratch.

    HiseSnippet 1539.3ocuX0jaabCEdFKOEUpUAI.4.v5UR0N1Rw4GWnFD8ikKLZShZUZPPCLbolgxhHTjxyvIMpFFHa6xtnKxtbI5htp8Hzc8.zKPtAsONCGINijbTDP7XCaQ9dejeue3a3Sc7Etjf.gukc9GOdDwx9Sc5NlKGzZ.lxsNbeK6OxgIDirZNdDNHf3YYam6qTxryutUzyaueSLCycISmxx5IBpK4anCoxoy1o9WSYrCvdjGSGZn8spenqf2RvDg.Ox4TwZD1843SHODqTaMGfDs8nRgeWIVRBrrWuovab2AhehGq+SnAzdLhZPUqtvBEO8ABlmhwpYsZMfx75jXuAVvpzYp0mK15utyCndzIyO0Kb0HAnoHL8G1qcQzqpI8pr7zy1fdqGSuq4z00mNRNUhhaehygbIwuOFBAlzJVWq07K3zR.ZvkaOD+bxA9vfIHJcmJU1Bc6JUJWqXA0O6ryMV3C4TTfLre+arDOEK.A0.I5EXeTGrODJk9zSa+sUQ2CEkhs8IDY698ItxRaLUADnwFJtLEcOL26XBGCtP.aho.naIFNRvgAk1vPmLnImd7IPTbgH0x2H19mhC9jzWvB.fO6cfbqhEPy8YI35Q0hc58C4tRpfijBjGMHxXwLF3Nhr+fhEnbFkSPSTb+XsZvXMUJTpbwBmESjc1wiNYAznUy2W3WhduJ0PzubW3OatY434OaJ+SEo1NfHaHgA8BkjRTzmmQrZeeT+9fVnMyHpcj44sEpOlEPT9V0pedwBmqSyxZMfyL4ykbS7UaAQBVHI1xxOiAWK1TCxZq4ge2YGcFifyFiBHLHOi3Y5MXBWrFBDiMBJpv0ST6aoxnMqB7MugiKR+KKmmzOzz2o9WRDFo.pR+LMFchtNwzvNpMSBvkgcndOwVQjxvHxmjCnHiKBHbxIsxHW0l0JdXKHf1CdOPIiLijZTuq5TMPMQpCbXexEVgJdcbi0DMByIr.yZ.50X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just make Array B = Array A

    //----------------COPY A TO B---------------------------
    const var Copy_A_to_B = Content.getComponent("Copy_A_to_B");
    
    
    inline function onCopy_A_to_BControl(component, value)
    {
    	for(i=0; i<Compare_Elements_Array.length; i++)
            {
                Compare_B[i] = Compare_A[i];
            }
    };
    
    Content.getComponent("Copy_A_to_B").setControlCallback(onCopy_A_to_BControl);
    
    HiseSnippet 1634.3ocuX0raaaDDlz1rnRoJHAHO.aM5AoZGao37iKbCh9wxEFsNVsxMHsAFpqIWYsHT6JStLMpFFnW6wdnGxs7RzC8TyiPu0Gf9Bja8X6rjKoVRSYqHfXZiDu6Le69M+rC4rc731DeetmgYgCFOhXX9QVcGyDCZM.SYF6tsg4GX4x4iLZNdD12m3XXZt3WHkYVXIivm29nlXWLylLYJCimvo1juhNjJlLam5eI00cGrC4.5PMsua8cs4rVbWd.viEspZLBa+b7wjGikpsfEPh1NTA2qq.KH9FlK0j6Lt6.9Oxhz+ITe5QtD4fZFcgEJZ5c3tNRFKm0n0.pqSmX602.VkNSr9Eir9aYsG0glL+DuvMBEflfP2eXtvEQuZ5zq5rSOSM5sTD8toUWaO5HwDIRtcMqcYBhWeLDBzoUjtFK7uWypEGzfIVaH94jc7fAIHJe+pUWEcupUqrUohxeVe8aO0GxIHeQP+92dFdJUDBp9BzKvdnNXOHTJ7nmz9qqgdHJLEasiIh186SrEkWdhBHPikkbYB5ivLmdDFFbg.1XSAP2hObDmACJurlNYPSNo2wPTbpHUxWNx9mfC9KgG20G.9rKA4pkJhx8YF35gaE4z6GvrETNCI3HGpenwhccA2Qn86WpHk4RYDThhaGoUCW2lREJWoTwSiHx5q6PSV.EZ4784dkoOr5VH5muA7OqrRkn4OcB+SEoVymHZHfAGEHHkonOMiX49te+9fVnUxHpcn44rJpO10mH8sxU+rREOSklk0Z.mY7eW1N1WsJDIbCHQVVgyYvaEYp9Ys0BvuqutJigybGi7ItPdFwQ2a3xswJHPLVKnHCWOQtukqfVoFv2BZNtP8upbdBu.cem7+hivHIPY5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4HasMxtv0RQ2c14.UWvgwsESG2Vb1dQVNoMeCOPPYGuGFhExhMf2uKOvyl.YMLY6exfvBxpLQiqJGKoTWRXPwx7+fGkvZxwlJg0hEdkrGCw1d7dwcNCIgeX3LfcyBuzzBV6IGipE+tIKqpqUUVVk1y1Vdz31Ptb9XtybfYi4.ycmCL2aNvb+4.yClCLadgXj2ebi.AeXTYSXhNsC+FASSsLci+Gbj91oD
    


  • @dustbro Oh, thank you so much 🤘


Log in to reply
 

9
Online

1.1k
Users

3.6k
Topics

31.2k
Posts