Filter mode SVF
-
Hi there,
how can I make the button change the filter mode from SVF HP to SVF LP?
HiseSnippet 1058.3oc2X0zaaTDFdlXOo3PHzBUUvs8.GRkpP1PaAINTG+UkE0oNYaq3DUS280wCY1Y1N6rg5hPh+YvE9AfD+.3mPNyEXlcW6c2jMMtl1RS8AK+90rOy62qGqjdPTjTgvMdvrP.g2j3NSnm1cJkIPC6gvaQFQizfxIkUmYgznHvGgw0tqkAtQcTxmiuSGJmJ7fbVHzijLO3dr.lNm631eKiyGP8gGvBJn8MaOzSJ5J4xXCdpQZhBodGRO.1kZUaMBBudeelVpb0TMDgv06H8m4NU9ihT8eDKh8DNXIZgbMGTJ6ARtuEw1ei5Nkw8GO+dGgPXx3buPsTuvUIiX9rE7y8FWNQfStEE8G30JCuZkfWqyBdU.IbAHUOERWg35oXg5bIV779jgBSvYB031KBkTcQ3eizUZTPn+7.5gv.kgXgAae6lMugi4qq+MShEdZlT3HE6J0v8Eae8M9oMZrwOugyIEMYRkxrOFkjyAUkhsQZ0KxvsEwAOAT2v4HJOFVnn45W1mt9x4S8Ru0ETTJFJX56GBYz4IEspHBfxba1XQFBMppShDakEI5Dq0RAhYNjFjThVnD3Wrn.8vg8nZ57CxbllmSHnzL60A2CNxTgjFhaP5AQGpkgI5FDJEVDfuzR7XeV9i76aOaAQ6ensFdl4LVmLR5Cnv4WwgIVOfwM4BsL0YJSIl4mV1YphNcJ3ksRh4Tc4JBaafLAlPZozPatlHhomUzibxxj5mcHsYkUwUFvVR3dExXl1aZ03csJvqIv85FuYMc9.R+IS.OcNXqSF7cuvNLuxgxGVZJvcUx3vDj7wILfH1yMSBRX25UwnfvkdTPeA0bwFLp3I1kpTLSRqvGJj+e7utHreJIOTvhjBYBT1IPFKzEAclzdfNVTB5YBbCU.0unEVz6BFn5mbjQkRyqUNVQVtNWkqlJn+4LEa8WWSwdiVd9euaRskCtmyP2FywnKKHjC8EGAbSW6rVH8fIzXtdA2hfbjIQIbpTv7JlAsOnUrCN.TEgdk2mcz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CMYBwwHKr5ECNzSEB7CTF3dxpoAXkmTw6hpFLXt5x8k.zyUs84g9xLrpLI7XPWL8Z2HxYlkHRe1DwhuS7yRKE1nR1QxM2KBjOqWOj7bokzliJbqlTJ654T1rLGgiLSWZdZjjB4hkJHOnSKlgM1QnOwyIBzFtMDbZAmgkRxdK3RaAwmZTQo6M+BDCyE3Xe7zi7aZLZxhFeaCC7XzGqRsTFrH0S8.7ZVMIBlY15A1hf4Jv6lYdDZenIi4lQEKR9RqHwhBwqS6wM9CmOFWYNXDuAdUfw7RquEMqXxT.Vl19qe0TGs3w+1yze6NZURT5o+toBfX9Of83REW+kQStnEtI29RFFLs6VziMYZMGzcjAPAB64+7jq2mRyCj7XkTkBkcCUIRSQPmqsEXRjy.8bE8iz.KnnEVz2GPnFj5x3Ynvktr1v0Wx1vq9et1vWAJBLyjBtiwXedXj.1WdFHvJn4UAZACXIByDoEAYWjCDMTI49EIGGAX6zSNAzEg9biGrwK1jbpjaz3HrkKKt.W6iZbWbZAlNs75xkJp+Odno4dc89zL35YeY5c0s1co+WW6ddL62g1SIFkQTylvKEDtz7w8tjB2DRaM7cIfzeb152+y09kFGV75cVp4G13vDlXZ18m9sy+0c2iGoDL8KZl+4vjKufzi2iNIndg3wkWrKoKu.9hyos2LWcv6GPyuz8rI6qN3dc5gWc.6ZzrYSrH94Me5+B0gwoFSmP50M7NRkX3xS5xvFw33dzCRB6iCN5CHzjR76hQYNqXGXLacM6ZKH5CxfzE+E9Stx510N4JqOV4qkyHj4qUOxO66CsU3diTIXbKS+e63R6ZW6M4yBozZaWiDhC48HeeaalOFYWy2lOYIr4SWBat4RXymsD1ryRXysVBa97K0F6706lXTgYUOPA81O8yycbx9fkzBIj+FnsK4E.
-
@Lindon oh thank you very much, that is exactly what I needed.
-
@elemen8t said in Filter mode SVF:
@Lindon oh thank you very much, that is exactly what I needed.
you may be able to tell from this how to use a Combo Box to get even more filter modes..
-
@Lindon said in Filter mode SVF:
-- you cant do it outside of scripting, script it like this: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Elt9ZbNbcMmLcWeqcW6+00tWDy9KviDro4D07K2y.Q4M8megaDpuDdQJvClEs9i+bqeu8A1o2pTSD5fTB6sht6QiELh7cMxeIL45KI83qvy2TuS735KWR5hKfu7bZSlY8AueCtHo6ZB1qO3da7AqOfcKbduIFDeY8m9uPcXcWiYcH8wFdGJRUT9wCI5KhMO2Y+zHeciiAfFZbNvLOFzYCSCi4iaM6kP9.OLaveo+TnzyL1oPo2LkeT7QDIPJddP9CJMU3tRlD89lm8Oaz.OzL1cAujLR2n2yCBptTmwvuaUM76WUCu8pZ3cVUCu6pZ38VUC+gK2PSe36lpDQ4UYPngi5k8xeGm7G1jUvA82BG0LUB
-
@aaronventure he wanted to use a button.
-
I've modified Lindon's script to use constants instead of magic numbers. It's a little more future proof and improves readability.
HiseSnippet 1197.3oc2Xs0aaTDEdVaOQrlPnEpPfDOrJhGbjhhhgRAoJDNwWJVDm5D2F0mnZxtisGx3YVlc1PMn9aim3+A+D5y7BblYWaONwMw3dABQJQZNm4bluy8yltJYHMIQpPd9OZbLE4sNt2XgdX8gDl.0tAxaCbGRhlpBxHs+3XRRBMB44U7AFBd9kP1edw2tOgSDgzYjPnSjrP5ArQL8Lpcq88LNuEIh9H1Hmae2ZsCkh5RtLEvSQ7tnXR3YjAzCIlqU.i7VqYDSKU8zDMMA4UZeYz3dCk+rH69mvRXmxolCUQ8.EkQtkjGYPrgJp9PFOp6D6NAg7vcm4EJl4EtCtCKhMk9LuwsrLBlIgq+vqv7vq3bvqpK710AdK.RdNPpTFjtMtWnhEqmwwfm2E2V.Am9Dvs6Bkr6hJ7jB35R3FB8NiHmQaofCSknx81c2sCf+r08KWFb8I5f9LNvriLhlD7MAMECXB5NCn5VSoe.KQWYl.mSTAYLqBBXycL2uY+9zPckMyYsoQ.lfCZKnepHTyjh.oX+TsVJpZPnRxqDJGEKE.V2FTKOktU4esrOWFR3AITN0JEnGeV+J478gK3OkG..G7uiMLbBQwHfS+ft2ur+yo7D5RKx2YEA9sretYrSBUumVqXmlpoUlPzH51yPHXpfPkm31AmQ8I1UkMys3M2xnpb6tNgyOExzqbQGBnIGm0gRM8ghJVmR4mWN3hr52eg7x0EmpVHaSIn5pDrhHczoTkaHwbQHub9jc7KOY2sVLLys3bQonsfoeXLU7xpPQ49RSgQNpfqpskEajWVj44PLH62Gm6FQVH61NB831MHZxDEA5DdmXpRyLlfWC54P6pr5MebCZxYZYr8t4APvLWhm8Yydxen13oGp8i0zzmA5XMrIkAZDdoh7aY3jxI5464XZzly.hMyUnaJlEIL8X2Fwu1ZDsrP713tLc3vEiwBK.iPD3MAFyae+d3r9Oy.XIbqm7loWs6y+9yMC8AJYZr80+PKAZB6Wf4nVxUecLHMdoGj1TXZn0piqFqSTJFU0VDQcRXewuMM7dINOVvRjBoEJ6MRlJztfNmaCpNULGzyYzKVQIQtRXPeOJ.0HqJSlKEt3UMpu5JNpes+yMp+FPSf41FweBF6wFEyoMEmS4PGz7t.Mn8Iob8TptfrCjCDOTJXgtIGGSgwoCFPUtPeg1CL3EFRNixcpcLLxkj3jq8Y0N.1vfXGluhthp+iWLaggqOFmA2.SkYvM2d2E+ecu6EkY+A3tR93rD0rM7rfvGmut2Uz3FgZon+TJUDNwa8G+45+dsibCuymZ9o0NJkvuf2ceVrjSTupd9qIStzRld7Q3oF0qTdbokKHc0MvW9bZSj4lCd+DbdPOv3ru4f6MvGcyArqiy1Mwf3qa+z+E5CCaMZ2P5sM7NVlpYhAcHvfXXcO7goi5AKNFRAnIDvWLCz7JXVXL67tlyFPziJhrG9K3mblUMm8xYVcBy2JuwHRnR9zvruOzzg6crT.6VX++G4i6XNGrfOKbDrn2SCCmWUWRvOeUE7KVUAu6pJ3WtpBduUUvuZUE7qudAM6guWpVNJqKCB0oaS6mw64k8gM1FNn+leONKH
-
@Lindon you're right, I should just go to sleep.
-
@all u guys are the best <3