HISE Logo Forum
    • Categories
    • Register
    • Login

    selection.set(Sampler.FileName, new path);

    Scheduled Pinned Locked Moved Bug Reports
    1 Posts 1 Posters 19 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik
      last edited by ulrik

      When using Sampler.createSelection();

      It's working great to get and set Sampler.HiKey, LoKey, etc...

      selection[0].set(Sampler.LoKey, 20); // will set the a new value
      selection[0].get(Sampler.LoKey) // will get the right value
      selection[0].get(Sampler.FileName) // will get the path to the selected sample
      selection[0].set(Sampler.FileName, new path); // this will not work at all
      

      but setting a new FileName...

      selection[0].set(Sampler.FileName, new path);
      

      will not work at all

      Is there any available workaround for this issue?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      25

      Online

      2.0k

      Users

      12.8k

      Topics

      111.1k

      Posts