Forum
    • Categories
    • Register
    • Login

    Silly Button Question

    Scheduled Pinned Locked Moved General Questions
    solo buttonmidimuter
    16 Posts 4 Posters 1.2k 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.
    • soundsyncS
      soundsync @David Healey
      last edited by

      @d-healey I guess that is part of the issue. I dont need mute buttons, just the solo option.

      I guess I could add a mute feature but Im fairly limited on UI space as it is.

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @soundsync
        last edited by

        @trillbilly You should write your own system that does what you want, taking guidance from other examples.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - HISE tutorials
        My Patreon - More HISE tutorials

        soundsyncS 1 Reply Last reply Reply Quote 0
        • soundsyncS
          soundsync @David Healey
          last edited by

          @d-healey Yes, that what I am attempting with the MIDIMuters. I thought I could possibly take some guidance from your video and implement it in my own project, but as I now know, this will not work.

          I'll continue scouring the forum (dread). In the meantime, if anybody has an idea or direction they can point me in, its super appreciated!

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @soundsync
            last edited by

            @trillbilly Another option is to post a snippet of just your solo system for us to take a look at.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - HISE tutorials
            My Patreon - More HISE tutorials

            soundsyncS 1 Reply Last reply Reply Quote 0
            • soundsyncS
              soundsync @David Healey
              last edited by

              @d-healey Here is a snippet. The code is ugly (fair warning).

              HiseSnippet 1898.3oc6b0saaaCEVJNpq1osqcncaWJDrKb1ZSsD451vPQSiSRWvhiChyZ2tpfQl1lHxjFRzoMXn2r2n8Fzmfg8.rK1k6x8FrQJIaI4JqnJmelyjuHv7muy4SmygjGRJm8bXVXWWlihZ4CNY.VQ8FZsNgx6UuGhPU1dCE0ao0.4xwN59Us9ICPtt31JppkdlrB0xKp384uex5HaD0BGVkhxyYDK7Nj9DdXs6s12Srs2B0Fe.oejdCWaaKFsN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o5+FoTcQni9HKG1KC9UR58+xCuZDO2Tu+mgTVqgrr93eATZZ0VslRewReuzxRFS+.g8IYLl4.CHGXf4.yWlCLOJGX9pbf4qSEiLqimNjy56G+KpXuM89sEop5mmn2PAk+ELz2ziB
              
              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                I Probably should have checked your snippet first, but here's my attempt at "solo" buttons. You can replace the Samplers with your MIDIMuters or whatever else you want in there :)

                HiseSnippet 1446.3oc6Z8uSabDD9NLGA6lF0DkJ0+oRmP8OLJTj+AgToTTL1.QnF.KaJpRQQQqOu1dE2s6o81ifKh2k9HzGg7vzGf7FzN6d2Yemw0XeTfzVaI.O6Nybe6r6NeeFnNmYg87XbM8rG22Eqo+Pil8ohd05gHTs82QS+qM7X1LyV9BAiZhOG43Zi0p12E44gaqoqm40RW0ytnl50mdUUjMhZgGNjl1ILhE9MDGhX3n0q7SDa68PswGSbh48FU12hQqAOTe.VYLJn4hrNE0EeHR51BFZ5KsaahfwaJPBrG3SUV69M6w9.Mv+SHdjV.HAihZMgDELrVsdD610iVxdZZ5On9vBPlfBvSMNfzlLX7gEhuRMg4vHhWCzWXRPp3L.I8XPZw.H8XilVbhqX3LR77EF6SEXdGjUxsi.e0V3OxXTiAdPEq6fNEuGGLFDQ9MKTXMS3aq9xb4fxsmv7LDObW1ybKy2FEaWrnFywkQAi7qTU4PwUVcsbli60jhpTphp7Jq9tDXzScBjq.o5rpJLYcTYkeklANn.YV4KSyI4WoozuPfPn1DJ1riO0RPfaDAkr5bXiIuUD3WCPpsOd0bWjKKoiY9PqrY6v3l4asUgWZ15GCK1qaiocE8fQd1yjtbgDLxfBm+ssdm4VaYNH2qp.aTU.lccOrH5.P9hvFJLM11CK+oJYYGlIoumHAS9BAN92lnv4uLm5qf7cQzJvyjPGrQn.j2UQADVtKgJ10bRRFnzENytFx1tEbYOerhJjoq4P0MKAkmlDLX2lQOjIvGQyq1ZycYNyQmpSmwNWX9g50XmV1BjOo.yS8cZg4wOXI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uf4DzzCFn9tAGrz2cvAqLZ+EfK5+0X
                
                soundsyncS 2 Replies Last reply Reply Quote 0
                • soundsyncS
                  soundsync @A Former User
                  last edited by

                  @iamlamprey Much easier than my jumble, much appreciated!

                  1 Reply Last reply Reply Quote 0
                  • soundsyncS
                    soundsync @A Former User
                    last edited by

                    @iamlamprey Hit a snag with this solution.

                    If a Sampler1 is solo and then I disable solo mode, all other samplers turn back enable, even ones that were previously off.

                    I think I know which part of the code needs to be edited to do this...(not really but I have confidence). I'll be tinkering!

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @soundsync
                      last edited by

                      @trillbilly Yes that's a bit more complicated, you'll have to setup a sort of "memory" array that stores which buttons were on/off at the time of press.

                      some hints:

                      var memory = [];
                      
                      //save
                      
                      for (b=0; b<buttons.length; b++)
                          memory[b] = buttons[b].getValue();
                      
                      //recall
                      
                      for (b=0; b<buttons.length; b++)
                          buttons[b].setValue(memory[b]);
                      
                      LindonL soundsyncS 2 Replies Last reply Reply Quote 1
                      • LindonL
                        Lindon @A Former User
                        last edited by

                        @iamlamprey -or just use the solo mute code and treat the sample on/off as if it is your mute

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 1
                        • soundsyncS
                          soundsync @A Former User
                          last edited by

                          @iamlamprey Awesome! Let me give this a go!

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

                          11

                          Online

                          2.4k

                          Users

                          13.9k

                          Topics

                          120.8k

                          Posts