One Knob , 3 samplers



  • Hi Guys. Made the normal button in Hise, want to to control the gain of 3 samplers. But in the "processolrd" I can only choose one sampler.
    Is there a way to link three of them just to one knob please?

    Thanks



  • @nesta99 Have to use a script



  • @d-healey Ok... trying and figure it out myself then.
    What I already know is that I need to make the reference definition for each sampler, then find or create a function that can link 3 samplers to the knob. I think that's the concept, just need to implement it, (if I'm mistaken please correct me).
    New to scripting and programming in general.

    Thanks for the hint David



  • @nesta99 You effectively need to reference all the samplers
    In the slider's callback, just set the parameter you want of the 3 samplers one after the other 😉
    (if you're new to scripting, later you'll set the parameter in a loop)



  • @nesta99 Oh and if it is the gain, or the envelope attack time you want to set, it is not the samplers you want to reference, but these envelope or gain modules...



  • @nesta99

    HiseSnippet 1484.3oc6Z0saSbDEd23rArKAUP8hdSkFE0KbjnN9G9oRnJbhSB0BLXYGnbGZxtGaOM6NypYmMfKh66c8wn21GAdG5KBOAs8L650dsiqiw.ke5ZwE9Ly4blu4Lyb99TLskBaHHPHMLyezPevv7RVcGxUCZLfx3FM22v7xVsnAJPRhGZug9zf.vwvzL2c0CXlecinOu9N6QcobaXxPFFOVvrg6y7XpIi1t98XttGRcfiXdo7950aZK3MDthPDO4rJa3SsOg1Gd.U61ZVFlabfCSIjcUTEDXXt9dBmgcGHdFO1+GyBXG6BZiJFcwDEO7gBWGMh0e2nw.lqS6j8cfgg4EZOoJjKtJ7UVsXNrwiOoZ7kQSPlDQ55g4ZKBdUNe3UYdvyLE7VOFdWwpqsj4qlLiFaegUSNdP0ihGAogUruFq864rZHPO3pRdzSfCknw3HJdyxkuF4FkKu8sInWABWnjsKPkEwAXba2PGn3VkJsC9um1sQmlsOp6NC.WePV5mC1Z6aWnPA7zKPQNkJI6C8ngtpC3mBtBenB4GHQWqJ0GTsDNgtTrLUbqYcSml+0jTc4RR0EljZKWRpEug1r.i6x3.oWH2VwDbhfeOt33J55nT3VzV34K3XE8Z3h4FBauYgWrYg7ytuJE.pcUJI63PET7LyhSgWzSRwsIjc1g7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pZlJoLURmiJoK9AUkzOQOE5IjdYBm9HU3T0yU3j9QRlvoLgSYBmxDN84hvoZYBmxDNk8mWJSkzRpRpVlJoLURYpjxTI8IrJo+KPoG0VJdpc7uTtFqWLZDDk7n+CKk2pk1lL9mH2xpbox5eRZ1Sss0OD9NrBO+XptBwTaEh45qPL2XEh4lqPL2ZEh46WXLZYB6FpDdwMIwAZeP7EKyCFewJmw+7AViAF
    


  • @ustk Great!!! thanks so much!!!





  • @d-healey yeah , thanks. I checked all of them before asking, but I wasn't sure that those concepts and scripts could be applied for my question. Thanks again!!!


Log in to reply
 

13
Online

1.1k
Users

3.6k
Topics

31.2k
Posts