• Dark Theme
    • Categories
    • Register
    • Login
    HISE Logo Forum
    • Categories
    • Register
    • Login

    Select Wavetables with Combo Box?

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 1.1k 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.
    • D
      DabDab @FatMitchell
      last edited by 30 Jan 2023, 13:22

      @FatMitchell How can I link Combobox With Wavetables? I am trying but weird sound stopping.

      Bollywood Music Producer and Trance Producer.

      D V 2 Replies Last reply 31 Jan 2023, 17:40 Reply Quote 0
      • D
        DabDab @DabDab
        last edited by 31 Jan 2023, 17:40

        @DabDab Bump Bump...

        Bollywood Music Producer and Trance Producer.

        1 Reply Last reply Reply Quote 0
        • V
          VorosMusic @DabDab
          last edited by 1 Feb 2023, 10:51

          @DabDab
          What functionality exactly would you like to achieve?

          D 1 Reply Last reply 1 Feb 2023, 17:07 Reply Quote 0
          • D
            DabDab @VorosMusic
            last edited by 1 Feb 2023, 17:07

            @VorosMusic I want ComboBox will change Wavetables. I have tried from ProcessorId > WaveTable Synthesizer & parameter Id > bank index... but my problem is Sound is not changing. is there a way to do it via scripting like sampler?

            Bollywood Music Producer and Trance Producer.

            L 1 Reply Last reply 1 Feb 2023, 17:36 Reply Quote 0
            • L
              Lindon @DabDab
              last edited by 1 Feb 2023, 17:36

              @DabDab

              inline function onWavetableSelectors(component, value)
              {
                  pos = theWavetableSelectors.indexOf(component);
                  TheWavetables[pos].setAttribute(TheWavetables[pos].LoadedBankIndex,value);   
              }
              
              

              HISE Development for hire.
              www.channelrobot.com

              D 2 Replies Last reply 1 Feb 2023, 17:46 Reply Quote 1
              • D
                DabDab @Lindon
                last edited by 1 Feb 2023, 17:46

                @Lindon Okay...Thank you i will try it. (y)

                Bollywood Music Producer and Trance Producer.

                1 Reply Last reply Reply Quote 0
                • D
                  DabDab @Lindon
                  last edited by 1 Feb 2023, 18:04

                  @Lindon Sorry, but didn't understand.. can you please correct it?

                  HiseSnippet 1024.3oc6W0saiSDEdbZlUjrrncQ6E6kVq3hVwRUx9GTgPjMooKQzzFUGJ6cqlZeRxPsmwLdbaiPHwqDuI7nva.blwNI1znPZ.J6Equvxm+l4aNm47iGnj9PRhTQbpMbZLPb9Pp2TgdRmILtfzaehyGQ6yRzfxMiU6owrjDHf33r0qMLbpUkXe98utMKjI7gErHjSkbe3PdDWuf6fVeKOL7.V.LjGUP6m2pmuTzQFJSQ7rEsAIl4eNaLbDynVEJw4NcC3ZoxSyzPBpSaYvTuIxKEY5eJOgeVHXHZR7vEJiMoyDdXvfYm0DBwgNXwIeqrS9Co84A747W3AtuUf6BKJ5CbprJH07F.ImBPpZFjd.0yWwi0KjXvyco8DX.YDCc0EgRltjJCcncjnFB8tQrygCTHwbK19kMZ7DW70NeYczamncufob+d1Eflg3zF7gDdBnZ59UtVxcGCZKbsTa+34J6VT6GesEbnQmNQmgqyL7XVIYTrTfDYKzLkLliOiRE9ZtT3JEGI0vwhs2o9OUuV8ett6eUznQKUlYqTxvPPsTwlqbpUY31hzny.0SviQXJLWQLlTNPem0KP6mcxKnnTzSv0GGC4zGHCCLAPy2W+ZAI20YtfjiPTUs85w8yudftzyjskWQ3Al70htUh8TTLIk7c81moYyVObowsKFTZt4T4rObAlwlc8qFceH4bsL1padXCO4q+te07ct0OzZ5bhe4zVQLTF0wPy0PDt06P8XWNHMLApmvtbnTpmTeBaZp6q2au5CY3lnXtnJ0wJHWKSAyQkAogLc4DWSEpbAXPtT1hIiPjv0SK5btAYyMVY175BwGPGv09SVNFqrDLhws+KvXdMv6Q6NZD3qW.vpzCdylVva8296NyEUtPjEAOht7BNqnUzustshhW6VQeyOhwnRq2gRzrf1Lw48DAvUEE4ExC.0.r6kMUqxuVg9hlOcW7YzmZduWG70yN98zum9cTZ7Re4z7pqW6txEbKn+s4LXUWuRR+MMde2uISoQFqMCid7n3Pnq3BHD6qaw3GiMxGwRC0y3Vt3YeoPFOQJ39EKhcBnU7wiAUQruzCzqzZrT2BNOr0IPHvRJTt7SZcHW.LU4hn2HewMe74kFudDMCttlJ9t+Sha2pWyV4fBasVCJ7uNd27gFtUcc2iZmG0MqM8+Sg4SjoZtXbeFlTYl78nzHOb3Be.woP.gIlogqXl2Oitgg1NKAHBrD+A9jKrog1IWXyYBuU1iHluR9V+r+Dwj28AVN34VX+K8Zz9FZ2ly9yCJswtMHQX06256atZ7Yn+Y417zMvlmsA177MvlWrA17xMvlOeCr4KVoMlFmuJUKixJafLFz0NVpiSWgIwvlJP9SZ+yrxA
                  

                  Bollywood Music Producer and Trance Producer.

                  U 1 Reply Last reply 1 Feb 2023, 20:42 Reply Quote 0
                  • U
                    ulrik @DabDab
                    last edited by 1 Feb 2023, 20:42

                    @DabDab

                    In your cmb callback

                    inline function onWaveTableCmbControl(component, value)
                    {
                    	WavetableSynthesiser1.setAttribute(WavetableSynthesiser1.LoadedBankIndex, value);
                    };
                    
                    Content.getComponent("WaveTableCmb").setControlCallback(onWaveTableCmbControl);
                    

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

                    D 1 Reply Last reply 2 Feb 2023, 18:18 Reply Quote 1
                    • D
                      DabDab @ulrik
                      last edited by 2 Feb 2023, 18:18

                      @ulrik Thank you so much.. it is working (y)

                      Bollywood Music Producer and Trance Producer.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Adam_G
                        last edited by Adam_G 9 Sept 2023, 04:36 9 Sept 2023, 04:35

                        @ulrik @Lindon @DabDab hey guys, is there a way to populate the combobox with the LoadedBankIndex like we do with getSampleMapList? Im trying to create this array but getting function not found:

                        wtMaps = WavetableSynthesiser1.LoadedBankIndex();
                        
                        U 1 Reply Last reply 9 Sept 2023, 05:07 Reply Quote 0
                        • U
                          ulrik @Adam_G
                          last edited by 9 Sept 2023, 05:07

                          @Adam_G said in Select Wavetables with Combo Box?:

                          @ulrik @Lindon @DabDab hey guys, is there a way to populate the combobox with the LoadedBankIndex like we do with getSampleMapList? Im trying to create this array but getting function not found:

                          wtMaps = WavetableSynthesiser1.LoadedBankIndex();
                          

                          The code you're referring to is the WavetableSynths attribute, "index number of the loadedBank", not the the name of the loaded bank

                          To get the list of names use this

                          YourComboBox.set("items", Engine.getWavetableList().join("\n"));
                          

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

                          A 1 Reply Last reply 9 Sept 2023, 05:11 Reply Quote 0
                          • A
                            Adam_G @ulrik
                            last edited by Adam_G 9 Sept 2023, 05:11 9 Sept 2023, 05:11

                            @ulrik ahhhhh thank you Ulrik. you sir are the man :beaming_face_with_smiling_eyes:

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

                            35

                            Online

                            1.9k

                            Users

                            10.8k

                            Topics

                            94.3k

                            Posts