copy paste sliderpack



  • Is it possible to copy a sliderpack and paste the settings (steps) into another?



  • @BWSounds I don't think so, should be quick to test.



  • @d-healey
    I was thinking maybe I could some how sync them momentarily then use .change(); an a way to paste.. Maybe..



  • @BWSounds You could do it with a couple of buttons on the UI if that's what you were thinking? But there is no standard copy/paste with keyboard shortcuts for example.



  • @d-healey
    Ok I’ll get to work, is it possible to link sliderpacks?



  • Yes, using a sliderpack data object.

    https://docs.hise.audio/scripting/scripting-api/engine/index.html#createandregistersliderpackdata

    HiseSnippet 883.3ocuV01aSCCD1taFQKuHFhe.Q6SEFT0VFcaBgXaccnBr0Lx.FhOfbSbasVhcwwYPFhek7Gg+Av4jrlTnL1pDjJUky2K94N+36hsR5xBCkJDt7gwiYH70INwB8n1inbAp6NH7MI6QC0LkU5RaGOlFFx7PX7BOyr.t7hnjmu+zso9TgKKeID5MRtK6k7.tNeU6MeA22eWpG6PdPAqWcyttRQaouLBvyBj5nwT2ioCY6SMlUhfvWoiGWKUNZplEB1rszK1Yj7ShT6eCOj22mYDZfbf.ktLp8Htum8Y4ZHBgWzNOyWHMyuCYOtGex54UfaknvJ2ih0.boyCRMtDPBW.RjTHsDwwUwGqy0Xvy0HcEvAx.JTpKBk8iBb74dLkMT1.nPvXnplFATougIskfeBcs.5wrcUfvj3TsU8522B96tOtRE3PHTaENIT6P0TqmX0QLjKX0bULHS2R38J1PtgX3LkgUKDhSnJqbsMfXbFBFxzskAikBPn5xErYYv6Bh0TrAL0gxjHOMh9SaSyKv1zb5so4eYaFDIb0bovRJ1WpY8DUuakuTobkuVw5WUMXvL0Y.jR56yTyTs4df57brpHJnOSceHW8iXSLD3wSy9txEi84lVeJXnTzUv08Fyxj2U56YXUl2+ctJJq.Cr1RYHDfhNgyd6LNad4Ewg.cCRgiUTRZXXnUff4AkYD98jVqVSdRc9FG9vGcPKmge7Yg85n8Ncii5879sh4a+1nd8WWTakSgWWK9kvOir8JG4+N+0cfWOsG34AqX+79quV6VGLLtGDjNqTKEuWRP17+NHecWCgyzIHq7Bk7wLklaNYw6vNAZkl1WnLYGV3wZ43j5eFA+xcB7YShcOHwhMunPIGpyQjZZhzYcv6tY7DAK0lnBczVLE4PuToWjOUOcCVyjjLE.ueptZldThPtNt3jlKQW25maW2KJDWhXy0tilMFKMCLZtZ7O.iYyptAoyfALWcN.Wjr6Qy6fo+x1+JYjlKFtGUq3FZiYNCLh1kA6tPv7SF0TxPfRkqajMU.GlvKQ3GvSlxFSlKAJablRT.0UI+fa50TyzvqlrBfIQxv+xvWg.xV4sNH0qUGE.Cl+fqqI8e.znZ19zbN74gygOqNG97n4vmVygOqMG9r945i4ah1JRKCRuN.KX2Io+EF2QPAlUBKD8SEbl3zB
    


  • @d-healey
    Cool, thank you



  • @d-healey
    works fine but, cant link the sliderpacks to any processors while using this route, i'll dig a little deeper though.



  • @d-healey I am having trouble with my slider packs... I am doing something wrong. Let's say I have 6 pairs, each of them referencing their own sliderPackData object. So I set them like you showed via script... But I also have to set the SliderPackIndex number in the Component Specific Properties as well to make it work, right? Why is that? I already assigned the sliderpack in the script with the SliderPack1.referToData(sliderPackData), why do I additionally need to set set that index?

    Edit: Well... Forget what I said... The SliderPackIndex properties get set automatically when running the code...


Log in to reply
 

7
Online

1.6k
Users

4.6k
Topics

42.3k
Posts