HISE Logo Forum
    • Categories
    • Register
    • Login

    Hihat choke with implementation with user-defined MIDI inputs

    Scheduled Pinned Locked Moved General Questions
    11 Posts 4 Posters 582 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 @ObsydianX
      last edited by

      This post is deleted!
      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @ulrik
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ObsydianX
          last edited by ulrik

          @ObsydianX Sorry I didn't understand your question at first, and maybe still :)

          Is this what you want to accomplish?

          function onNoteOn()
          {
          	var nn = Message.getNoteNumber();
          	
          	if (isDefined(kitSource[nn]))
          		Message.setNoteNumber(kitTrigger[nn]);
          	
          }
          
          ObsydianXO 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            There is a choke group midi processor that might be helpful.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            ObsydianXO 1 Reply Last reply Reply Quote 0
            • ObsydianXO
              ObsydianX @d.healey
              last edited by

              @d-healey I saw that and I experimented with it but I honestly have no idea how to make it work. Because my end users can reassign the MIDI notes that actually trigger the kit, the low and high note in the choke processor probably won't work for me. I think I need a different solution.

              1 Reply Last reply Reply Quote 0
              • ObsydianXO
                ObsydianX @ulrik
                last edited by

                @ulrik Might be on a different page. I've got the user selected MIDI working just fine, but I need a way for one note to cut off another note.

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @ObsydianX
                  last edited by

                  If you‘re doing the reassignment before the ChokeProcessor using setTransposeAmount(), the choke settings can be static - otherwise the range parameters of this module can also be controlled by a script.

                  ObsydianXO 1 Reply Last reply Reply Quote 0
                  • ObsydianXO
                    ObsydianX @Christoph Hart
                    last edited by

                    @Christoph-Hart Now, pretend like you’re explaining it to a 5 year old. Haha. I mean, I just learned how to use my first arrays.

                    I’m honestly tempted to post the project on GitHub and collaborate with everyone on a drum sampler template.

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @ObsydianX
                      last edited by

                      @ObsydianX said in Hihat choke with implementation with user-defined MIDI inputs:

                      Now, pretend like you’re explaining it to a 5 year old. Haha. I mean, I just learned how to use my first arrays.

                      Maybe start with a simpler project ;)

                      A MIDI processor is like any other module, you can set its parameters from your main interface script. So when the user re-assigns the triggers keys you can (via scripting) change the range of the choke group MIDI processor. Or as Christoph said you can use the transposition function to handle the key remapping.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      ObsydianXO 1 Reply Last reply Reply Quote 0
                      • ObsydianXO
                        ObsydianX @d.healey
                        last edited by

                        @d-healey I was never able to work this out but I found an easy solution by just limiting the voices for each thing I want choked to 2 and putting them in their own sampler. Not the most realistic but it's all I can figure out for now.

                        I learn by tackling the problems before me, not necessarily by trying different things first. My main reason for switching to HISE is because I'm trying to build a drum sampler, not much else. Therefore any issues I have with building a sampler is something I HAVE to overcome because I'm not really trying to become a programmer or developer, just hoping to be able to create what's on my mind.

                        That all being said, I'm going to put this project on github once I'm finished building the UI so anyone else can use it as a starting block for their own drum sampler. Hopefully, more people working on it will help it become a really good starting template for others.

                        My hope for the future of HISE is to implement something along the lines of Kontakt's exclusive groups via UI not scripting because it's pretty useful to have.

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

                        60

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts