HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. mwplugs
    3. Posts
    M
    • Profile
    • Following 3
    • Followers 0
    • Topics 54
    • Posts 379
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Transposing MIDI Player Based On Incoming Notes

      @mwplugs ok i figured out a long handed way to achieve this..

      declaring the midi modules in oninit

      const var MIDIPlayer1 = Synth.getMidiPlayer("MIDI Player1"); 
      const var Transposer1 = Synth.getMidiProcessor("Transposer1");
      

      then i have to manually add the note range i want to trigger with transpose

      function onNoteOn()
      {
      	if(Message.getNoteNumber() == 36)
          {
              var timeStamp = Message.getTimestamp();
              MIDIPlayer1.play(timeStamp);
              Message.ignoreEvent(true);
              Transposer1.setAttribute(Transposer1.TransposeAmount, -1);
          }
          if(Message.getNoteNumber() == 37)
              {
                  var timeStamp = Message.getTimestamp();
                  MIDIPlayer1.play(timeStamp);
                  Message.ignoreEvent(true);
                  Transposer1.setAttribute(Transposer1.TransposeAmount, 1);
              }
      }
      

      then the noteoff messages

      {
      	if(Message.getNoteNumber() == 36)
          {
              var timeStamp = Message.getTimestamp();
              MIDIPlayer1.stop(timeStamp);
              Message.ignoreEvent(true);
          }
          if(Message.getNoteNumber() == 37)
              {
                  var timeStamp = Message.getTimestamp();
                  MIDIPlayer1.stop(timeStamp);
                  Message.ignoreEvent(true);
              }
      }
      

      i KNOW there is a much more efficient way to achieve this...however im not good with arrays and indexes. and i wouldnt be mad if someone optimized this code for 0-24 with note 12 root :) but as of now it works lol

      posted in Scripting
      M
      mwplugs
    • Transposing MIDI Player Based On Incoming Notes

      So i have just figured out the simple way to have a single key trigger the midi player, however i would like to devote an area of the keybed to the midi loop and have the coinciding note transpose the midi player. Ex. Range Note 0-24 Root =Note 12. Giving the ability to transpose the midi melody up or down one octave.

      This works fine with corresponding noteoff message to make it stop..i have it at 36 for testing. but want it 0-24 with 12 root and up and down transposing based on the pressed key

      function onNoteOn()
      {
      	if(Message.getNoteNumber() == 36)
          {
              var timeStamp = Message.getTimestamp();
              MIDIPlayer1.play(timeStamp);
              Message.ignoreEvent(true);
          }
      }
      

      What do i need to do to achieve this? I would also be connecting a button to enable and disable this processing and behave like a normal keybed

      posted in Scripting
      M
      mwplugs
    • RE: Send Effect Always Has "no choices"

      @mwplugs ah it needed separate containers. figured it out by talking out loud basically haha thanks!

      posted in Scripting
      M
      mwplugs
    • RE: Send Effect Always Has "no choices"

      @mwplugs i think i figured it out. however i need sends for reverb and delay separate from two samplers and when i make the send container 4 channels the fx themselves are still stereo so i am only able to send to one effect (reverb) and not delay

      posted in Scripting
      M
      mwplugs
    • RE: Send Effect Always Has "no choices"

      @HISEnberg nope. that was literally just deleting the original and recreating it. even with what you sent i did the same and same result. basically no matter what i do there are no choices in send effect

      posted in Scripting
      M
      mwplugs
    • Send Effect Always Has "no choices"

      Importing HISE snippet i see how simple it is however even just deleting and exactly recreating with simple sine wave and send container below with simple reverb there is "no choices" in the send effect module. this is why i have used the old school method for so long. is there something i am missing? feel like im losing it here lol

      HiseSnippet 1102.3oc2X8zbaSDEeUrEj3BYHLcX3nNvgTlNL1INoggC1Iw1EODm3wJsAN0Y8pmi2IR6JVsJfKCeP5M9Zvsdka7cfS8V9F.6JIGI0pXRMNdn0G73881md+1eu+rOq9BNABB3BjQkSm3CHiOxzdBSN9vwXJC0skRt4oPfzFXNnCl3iCB.GjgQoGq0arVYTzmqZb.1EyHPpHD5obJANh5QkoR6276nttcvNvoTuL6tdytDN6PtKOTgkRlUQ9XxE3ygiw5sshI5awAiQFeoIY3vgvViHN3p3Q01dOn9V02od0s+5pC26Q02gr2tDs55HiOnsCUxE1RrDBPFkOf6LwdL+mXwN3oz.5PWPunFxV44Xwc3tN5inVJ5vwTWm9SIo.j5g1OkxJESY22rG0gds7Tp6ShTXkZQVBzXk7vqTN3UKK7plAdE.IiLPpbLj1vzlHn9xTMZ7bOytLIHFgUworPIduHiWZdHWsAl7q7vW.cDpEWavl6Vs5CsTe8fuYTHiHoblEmcLWBmv17AU9kJqU4WqX85pFMpPcZ2H3ttfnP05TCwrLbSVn2PP7PqKwtgv0aTc7yyol2LmlMjShO0Y1Hm0kQkm3CraJQ.kPUpe8jtsvRrNPjHSsOePHoZHXzBtTUFDGVVyrEDbgj6qJDdiXlJag6D5hk4SgzEZIJTbPt3lN3vBnxIYKDWX4U2VHtgYepjLtXLtRAXTwT2EXLoZ7iMaOZDPjo.rrYmu+tozKq6WO182yzlxfndnQN+yhVacF9Rv5w.CDZxq1LZk9m21Vo925VomPjJ2ep.yB74A4dv1fG8TNSyBoBeRfp3G9wA5nYV4GxwhBUcUiNpCYg1Xikghnzh883gLYtzfRypC8MVtluhHy9Kn2X4+20t9cfJ+b2nr1TLZS87cg1rKAWU6sHL9op9YivgtxoRymX2iy39i4LJIaTe.HEzyOGDYwdgGn8kR0P.oRteyAfKfylA+EMORk4gEJdBlStn1a8sqEFu9byX3ZoqFsd2sico2q6XmKb9gw9eUS8zsJOpc85QKrhQzr5S+CuTgWFCbUC4D.x7MUYNcYNvOmSnGmKGSYmmKzWZYmltQ746+R9Y4aG4O6AoQC3gREazCq5FnHJyiC8rU2XQfDZUO9lwJ5achWWUudJ6Fs3uUeRTVSu1HQYsoJWJ9HCuu5M7WnR3b8zgJQvLu9+pE+0+yNIq5aQR1c1soKlTpk1MqKU3t.ludgi24uy8BAJEMfx5ICnL.tDDCSBzwhrhkkura.m6YSe9zJme6Eu3UMZg87S6P2b6s+qFmAxiTV6lts+nQKwjWS1qZbF0QMweFApoggmCYlKQI82WbM7euo+4xvGdXhf+LR7KOPm+rZjDE2xhd8RqY1Su1pFJ5EJjsTxS0D6YDR9G0aX3VyqgaOuFVedMbm40vcmWCez7Z3d+6FpuiY+PI2KtyHB0qe6n2FigQaFVUIEUqi9G1EEoj.
      
      posted in Scripting
      M
      mwplugs
    • Any reason there is no new steps or docs on how to build hise 3.03?

      the steps in the github have been stripped to nothing. it is saying to use vs2022 now. ok so what do i choose during install. which IPP, what options within projucer etc. there is nothing anymore only a video from 3 years ago :\

      posted in General Questions building hise
      M
      mwplugs