HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Tags
    3. attribute
    Log in to post
    • All categories
    • oskarshO

      Get Sample Filename from Sampler using custom Sample Maps.

      Watching Ignoring Scheduled Pinned Locked Moved General Questions sampler filename attribute
      72
      1 Votes
      72 Posts
      4k Views
      trillbillyT

      @Lindon Hi Lindon. I used this now and its working as expected.

      inline function onSampleViewer1Control(component, value) { if (value > 0) { local id = Sampler1.getSampleMapList()[value - 1]; Sampler1.loadSampleMap(list[value]); SampleName1.setValue(list[value]); Sampler1.loadSampleMap(id); } }; Content.getComponent("SampleViewer1").setControlCallback(onSampleViewer1Control);

      If I take out the part you said was incorrect, then it stops working again.

      Is there a different way I should go about this now?

    • d.healeyD

      getAttributeIndex

      Watching Ignoring Scheduled Pinned Locked Moved Scripting getattribute attribute index identifier parameter
      1
      3 Votes
      1 Posts
      197 Views
      No one has replied
    • d.healeyD

      How to programatically access script attributes?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting script attribute loop
      10
      0 Votes
      10 Posts
      779 Views
      Casey KolbC

      @d-healey Wow, this is a game changer for big projects. Super helpful!