HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. cykid
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Set Sampler Volume

      Thanks alot!
      That helps me out :)

      posted in General Questions
      C
      cykid
    • Set Sampler Volume

      Hey,
      i want to use multiple samplers and set their volumes through knobs.
      It tried it like this

      inline function onVolumeSliderControl(component, value)
      {
         reg x = Synth.getSampler("Top");
         x.setAttribute(0,!value);
         reg x = Synth.getSampler("Bottom");
         x.setAttribute(0,!value);
         reg x = Synth.getSampler("Room");
         x.setAttribute(0,!value);
      };
      
      Content.getComponent("VolumeSlider").setControlCallback(onVolumeSliderControl);
      

      but the result is weird and seems not to work.

      any idia?

      posted in General Questions
      C
      cykid