Export state as base64 string and reorder FX?



  • What is this used for ? I am working on modifying an fx reorder example and see this being used. EDIT: it seems it for restoring a script fx , i think.

    Also, any thoughts on switching FX , anything not working I should know about ?

    https://forum.hise.audio/topic/317/dynamic-dsp-libraries/22

    HiseSnippet 2527.3oc6ZstbaiaElJNLMVoZ2rs6C.p9Sk20qBokuDkzsI5pirsrUjjkkcmNIPjfRvhjflDTVRY1Y5O5yPmouD8UnOK8O826aPK.uXQIKeoJwa2KVSxXgCN3fCN36b.7mQMahBxwgXKDa4lirPBw90hMFYR6UnGDaJTonPrOSrJzghrA9hxOxB53fTEhEaos4Bhs7CE7978uJOTGZpflHRPnEAqf1CafoSj99WuKVWuLTE0DaDQ60ecEEhYAhNwk4OKIJIXAU5C6h1GxU6AhBwdTIULkX2fBoHGgXOLOQcTidjyM80uE1A2QGwaHKzfYHewkI5pbOlKUnPOrtZsv0si.yJ0lDEVxOJ7khUwp3KjOIZ7TuN.SFQz3QrGbctm7B5dOHh68Pe26KDanXisnS5g6a+l.oWg242ovCV5ohO6q.M6gc.r+AA4gNnMWGfFZQroHUfC26eQh3IhurbZfCRGoPAzdHfAQ0UGsJf0wZoA7k527GKXiXZegMLUHpglfoVlzfZbvi2vcn1Xyt.MahgWaEcrUGBzVkoXh3fk87HF.fxh0NdZbdOhNx2XfTNdt+p.KnMCNvAjCf5tHmUAHpxJLajBpPcg55i.X5u2AbpqiuaG5TsqtGfsXLPlTl5e0yRDmMYLcF.sA9F2aeC7sfjYddlzYHJGWWxodgBEJksnzNz7aLpF4Hob32tlTu2XSx2yb+Va2aMcI0wk1aWi50s1n4V4Nds0OC6VJqtYEGkMJVnasrY22nwv0V237S1Y6pkqWvVQmZWLWq10ZQa07jC1rUlsZjsPmLCqSOWqTZriRgJCxtW6hj8Ns3lGYUZGX8N3tliNL+YZ6VpL8vZVYnaSQsaSG0.NF2QYbocNo0329VZMGygxFG0Lyw068biyedu5JaR2tLEkQ4PqNnsda+SrO8ryIiaWAcbuttlM60HSK6iFu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AvAxi5a0IDiPh9C2CKBYWW0raTQGgn6wFr9TpYOZFYe+q7SGhnTYaDZLhgflZFlMhrzsKhLGjQchKk4qUgraGvKuruqQChqsBhALLMQ5N7z5GvKX42VJ7uDRCjopWi+C6SPmx71wB5TNrye1LGFPEax6T7OxkCgdrmDVr0z6kYurXUdavEmwJJJkVh+WIB+NEEdF12HKHL+wr1BLlLKvXVeAFyFKvX1bAFyVKvXd90NF9iTOmKkX3W8kInVIu65DKVI+a+yygE9uk+7c5.
    


  • I got this working for two rows of slot fx now , I made a const var scriptstate (base 64 string) for the second slot as well but I dont know its purpose. 🙂

    HiseSnippet 3009.3oc6a0sbZjbEdv1XagC65cq8hb4DtIn0Zwy.BjXc1rlekPBPX9SHkJk2lYZXZX9SyzC+s0VUtHOCop7RjWg7rr2mKxaPR2yLHFPHAFK40dWQYWh9zm9zm9zemS2y4vTwPS.ZZpYv3aq5i0gL99c9qMVEKkQBfTYJjkw2m4uDvDCMXcHkdrNvzDJx3y2COfRv2VOhw9y+86SCjApBvYjXXZpgDfEQJH7Lp+vqOFIKmGHBqiT7v8tutfflZFMYMKh97P+bL5.g9ftvx.JaOvOiuGmSDg0LpgAXnIiuGkVSbbMIsgpN72DYhZKCoM3YpQDjC47ZxhTMlRkIiDRVrxz0sICQJUlYEdniU3q7WBIhtj9Lqwys6fc1H7ZO78faR832P06AdTuG4ndeg+ZBFHc7rdn51W5R8ZzNmNYdvCet+W90r0kPlrj+AXSCLgI1kENRWy.CEYMoZ+2FLPv.awGg0DJCEvrXIHqhlnkLbGVRGQivRWpeyeNiAjv8kxPUPSbpHHrEKBaEJ3wd3lXCjZW1NFZJ1sEjQ5s0.FhDFCFfcKaMh..vDasoMGCkzjgNBiMros5uCqNvf.Gn.xA.YKn4NrPrv1DYDFHfs.xxiYQ3+nIaOKSG0dpR0pTQVxhQAphIr+0uLX.xjQ3Y.vf0Q316areGanX6GKRLMgypxYVMSlL4Rlk6Hb53iqncJWJzahxIcngVZI0xMOPJpLm3j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4rebWe9x4j.HZH.l+O.BgfoB
    


  • It also occurs to me that ,say you want to set up 2 fx slots that are changeable.

    You do this for the purpose of switching between a delay going into reverb or a reverb going into delay.

    Now you set up the controls/Sliders for both FX in ONE slot , But then you would need these controls to be mirrored to the second slot ...hmm...

    I guess you could just link controls to both say.. reverb in both slots , then settings stay the same whether you move Reverb to slot 1 or 2.

    Just thinking out loud here if anyone has any idea how to go about this .



  • As for assigning sliders to the selected slot fx , you can set them in the property editor but they do not work . Trying to script it and see if that works.

    EDIT: This will be complicated , the script reference obviously does not apply when the particular fx is not loaded. So cannot use a const var .

    Determined to figure this out somehow 🙂


Log in to reply
 

5
Online

692
Users

2.8k
Topics

23.5k
Posts