HISE Logo Forum
    • Categories
    • Register
    • Login

    how do i get the current name of a samplemap loaded using getCurrentSampleMapId()?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 119 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.
    • J
      jeffd
      last edited by

      how do i get the current name of a samplemap loaded using getCurrentSampleMapId()?

      im trying to print it out to the console to see if i can even get the name.

      but i am failing.

      should be easy

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @jeffd
        last edited by

        @jeffd

        reg mySampler = Synth.getSampler("ThenameOfMySampler");
        
        Console.print(mySampler.getCurrentSampleMapId())
        

        HISE Development for hire.
        www.channelrobot.com

        J 1 Reply Last reply Reply Quote 0
        • J
          jeffd @Lindon
          last edited by

          @Lindon said in how do i get the current name of a samplemap loaded using getCurrentSampleMapId()?:

          reg mySampler = Synth.getSampler("ThenameOfMySampler");

          Great thanks!

          was missing this
          reg mySampler = Synth.getSampler("Sampler1");

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

          11

          Online

          1.7k

          Users

          11.8k

          Topics

          102.3k

          Posts