HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Tags
    3. audio player
    Log in to post
    • All categories
    • d.healeyD

      How to load external file into loop player by scripting?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Scripting audio player setfile
      3
      0 Votes
      3 Posts
      272 Views
      Christoph HartC
      [bug] David Healey

      (couldn't resist...)

    • trillbillyT

      Constant Audio - Tape/Vinyl Emulation

      Watching Ignoring Scheduled Pinned Locked Moved General Questions tape emulation audio player loop player
      18
      1 Votes
      18 Posts
      1k Views
      trillbillyT

      @ustk I guess Im a bit confused how the "If" function works. Should I be adding it directly beneath wear I am calling for the samplemaps list?

      Here is my original code:

      inline function onNoisecmboxControl(component, value) { Sampler1.loadSampleMap(sampleMaps[value-1]); }; Content.getComponent("Noisecmbox").setControlCallback(onNoisecmboxControl);

      I've messed around with various "If" functions directly below "Sampler1" and have had no success. Where am I going wrong? Should I be doing a separate callback to the "Noisecmbox" ?