Forum
    • Categories
    • Register
    • Login

    Make the Gain knob smooth the gain?

    Scheduled Pinned Locked Moved General Questions
    79 Posts 4 Posters 9.6k 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.
    • Felix WF
      Felix W @David Healey
      last edited by

      @d-healey
      I think I have it working. Next I need to move on to multiple generators to test!
      Thank you so much for your teaching ,David, I love you😘

      function onNoteOn()
      {
      	local n = Message.getNoteNumber();
      	
      	if (n == ks)
      	{
      		if (eventIds.getValue(lastNote) != -99)
      		{
      			 Synth.noteOffByEventId(eventIds.getValue(lastNote));
      		}
      	
      		if (Synth.isKeyDown(lastNote))
      			eventIds.setValue(lastNote, Synth.playNote(lastNote, Message.getVelocity()));		
      		
      	
      		return Message.ignoreEvent(true);
      	}
      	if (n == 25)
      		{	 
      			if (eventIds.getValue(lastNote) != -99)
      				{
      					Synth.addVolumeFade(eventIds.getValue(lastNote), 500, -100);
      				}
      			return Message.ignoreEvent(true);
      		}
      	lastNote = n;
      	eventIds.setValue(n, Message.makeArtificial());	
      
      }
      

      //I am a new student at HISE._
      //Windows11 & MacOS Ventura 13.6.7_

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

        @CatABC Looks like it's almost there. But you have added that n == 25 block. If 25 is your keyswitch then you should be using the code I put already above that and just replace the noteOff with the volumeFade. No need for the extra block.

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

        Felix WF 1 Reply Last reply Reply Quote 0
        • Felix WF
          Felix W @David Healey
          last edited by

          @d-healey I tried to replace it directly, but it brought some problems, such as the note received the new KS and the previous note could not be stopped.

          //I am a new student at HISE._
          //Windows11 & MacOS Ventura 13.6.7_

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

            @CatABC said in Make the Gain knob smooth the gain?:

            I tried to replace it directly, but it brought some problems, such as the note received the new KS and the previous note could not be stopped.

            Show me what you tried, we do it all one step at a time.

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

            Felix WF 1 Reply Last reply Reply Quote 0
            • Felix WF
              Felix W @David Healey
              last edited by

              @d-healey

              When I do this, there will be errors like this, addVolumeFade seems to be invalid on the second KS

              function onNoteOn()
              {
              	local n = Message.getNoteNumber();
              	
              	if (n == ks)
              	{
              	
              
              		if (eventIds.getValue(lastNote) != -99)
              		{
              			 //Synth.noteOffByEventId(eventIds.getValue(lastNote));
              			 Synth.addVolumeFade(eventIds.getValue(lastNote), 500, -100);
              		}
              	
              		if (Synth.isKeyDown(lastNote))
              			eventIds.setValue(lastNote, Synth.playNote(lastNote, Message.getVelocity()));		
              		
              	
              		return Message.ignoreEvent(true);
              	}
              	
              	lastNote = n;
              	eventIds.setValue(n, Message.makeArtificial());	
              
              onNoteOn() - Line 12, column 24: NoteOn with ID173 wasn't found 
              onNoteOn() - Line 12, column 24: NoteOn with ID178 wasn't found
              

              //I am a new student at HISE._
              //Windows11 & MacOS Ventura 13.6.7_

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

                @CatABC Working here

                HiseSnippet 1152.3oc2W01aaaCDlJNZXxcqXcnXXeTCaevdHMvJwwMFAAMu4zYz3Fi3zz8sBVpS1DQhTihJaFC4+39oz+AaGk7KRItYoFqCqyevv73c7d38xCO2WIYPRhTQrpd93XfX8E1CFKziNbDkKHcOhX8P6dzDMnbyEcv3XZRB3Srrp7bi.KmUIYed2yNfFRELXtHB4BImAmvi354R6u2K3ggGS8gy4QEzt4dcYRwgxPYJhmJ1MHwT1kzgvKoF0Vwl7SzjQDqezdqM1j0z+o9arwVsawnsf1Azf.uM8a1r01s81rMs41sfFaQr9rN9bsTMPS0PBwZ0Cj9iGLR9qhbGbAOg+1PvrviL.8bt3ikg9lqnQJ4vQ7P+9SCTI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9iXN3+HDW65QxFKpXtLBY4dCiU9ntkgarrFt4xZXyk0vsVVCasrF9zk0vs+6Mz7Hz9oZYTdqIgzqemrYJsr5HnXUdVGA4u.bWGmC
                

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

                Felix WF 1 Reply Last reply Reply Quote 0
                • Felix WF
                  Felix W @David Healey
                  last edited by

                  @d-healey After playing it once completely, the MIDI will start to display when you play it again.

                   onNoteOn() - Line 9, column 23: NoteOn with ID5 wasn't found 
                  

                  5c3f5916-44de-468f-b62b-203be5d15b5f-QQ_1752248899919.png

                  //I am a new student at HISE._
                  //Windows11 & MacOS Ventura 13.6.7_

                  Felix WF 1 Reply Last reply Reply Quote 0
                  • Felix WF
                    Felix W @Felix W
                    last edited by

                    @d-healey However, this error does not seem to affect what happened

                    //I am a new student at HISE._
                    //Windows11 & MacOS Ventura 13.6.7_

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

                      @CatABC Is there a reason you are triggering the keyswitch and E2 at the same time?

                      We need to reset the stored event ID in note off.

                      HiseSnippet 1160.3oc2W01aaaCDlJNZXxcqXcnXXeTCXevdHMvxwwMFAAMuXmNiFmXDmlsuUvRcxlHRjZRTYyXH+G2Ok9OX6njskThaVpw5v57GLLOdGuGdu7vyCijLHNVFQLpdwzPfX7ElilJTSNZBkKH86RLdr4.ZrBhryDc3zPZbL3RLLp7Rs.Cq0Ioed2KNj5SELHWDgbojyfS3AbUtzg6+Jtu+wTW3BdPAsaseelTbjzWlf3ohYCRHkcEcLbJUq1ZljejFOgX7Cla2bKVK2m61r41cZynsgNdTOOmsba0p8Ncb1pCs0NsgFaSL9rdtbkLZjhpfXhw5GJcmNZh7WEYN3RdL+s9fdgCYD54LwGK8c0WQsTxQS39tCmGnhIDCyg4gsJYgsmZNf6xWHOO78UoaXmaQw.nwZkgWkRvyoH7ZT.dKARFEfz5YP5IliXQ7PU9NZ77Hy9BLa5Qw7TQnjoKYstULORhZHTaFPuBNNBWrvhZsazXCa7q56VsJlqhU1WEaumcyVKVCWil12UKsmXLW.axh.71oiBmviU0PSmqyldXcPsm0oi93hfw19Xk1oREfF2XWuDASwkBaoPK6LQs5U+8pV9RF02VfpL.uUX0wligTiNMI3sPj97spZw8rqg5rGhu5UsPyRkrvwnIWR8SfZy8Xc6uaOaMRPM0Zak1ErI008RoeR.nqVuOy2vdacn4YNowFKqapNykYmCO9UvztXdM2BsmrVbhw29D2vNyxPe5T85BaT3deIfgCtZZs50quqkk1oQfJIRrPI9XgLB5o8SMUTBnQ2M5HTgXs.kcWjHx8jtR3fHE2iy3TezY5qX0apZe6bjm2GZR5twTQgbgNUjEGDYG+gS6kYvRMLEWK8ljUjg27xfVWpGI880PRi6assleZ46LyvZhz6yF1WqczBEwdvxM1lu+F6h7NrrNuBJJE8Eb0Ygf38wFQl0th+5086RUTMavLYndg.l2zPvnKbMxEmwMXY1EhuRICQ136PbfTVR2DeppLOllse1FXLnD4glfPDi0gEeM3eLxsGJDeh4PthMY4XbskfQLR8w.iydR3KM644ALUN.W273e9iC+eQ2+3L2+HyQH6aZySpy+lz01+D8Zv9kf.hzAOm6487+3g9dd3C987yXJz8WDQEwgx3RG7HHfegTniB4BecL9.D7KmqylEkejjFszsd2KNFujK0lQTjWLsr3f.YhPUpLnx8MlfyJNlv5+maLgOAZ1KMIi0bLNhGD5C8DWiu2gRzX7qQJLOZhuZtzx0xCjBY3DofyJlnOGTQ7wignhXeoWnCTJb3ybIOc+yAefVrn862+DrXiFgwIXEiENevS0sz702ZlAWacCn8mtjzU9+MI84xDEWLd.EKB+Mbn.bXnQH2HCPuKDfudPAi0z7aYqanWmQNJbSW7m3mYa5nWaLaSm4a9uhOBnrH4aXYi.oqS+7TI38Vj9O0rv+xHt11gjNVTwbY.xx8FFq7QcGCatpFt0pZXqU0vsWUCaupF97U0vc96MT+HzAIJYPVqIgLXXuzYJML5InXUdZGA4u.rTF5YI
                      

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

                      Felix WF 1 Reply Last reply Reply Quote 0
                      • Felix WF
                        Felix W @David Healey
                        last edited by

                        @d-healey C0 will be a KeySwitch, and I will have many other keyswitch involved after this, so I need to trigger a KS first to ensure it is the articulation of C0

                        //I am a new student at HISE._
                        //Windows11 & MacOS Ventura 13.6.7_

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

                          @CatABC I see, that makes sense.

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

                          Felix WF 1 Reply Last reply Reply Quote 0
                          • Felix WF
                            Felix W @David Healey
                            last edited by Felix W

                            @d-healey

                            I upgraded the sampler to two and used MidiMuter to switch the KS. When C#0 was in, it worked fine, but when I switched back to C0 again, it couldn't reproduce the logic.

                            HiseSnippet 1760.3oc6a0raaaDDlzxLMRoMMoH.oGYC5Ao.GCQpeRLLLh+StwHwwBQNN8PAB1PtRZgo1UkboaDB7CP6CPAxkh7Rz1q4ZeK5sdMnG501YIoDIkoTjksUsLjArQ1Y2Y2uYlcmY9jPpZyLvNNLaI4L60oMVR9SUp0gxatQSDgJs8lBA6yrbag2BYhkVuSajiC1TRVN02HVgb54k794CObcjEhZfCEIIsOiXfeBoEgGJs5pOlXYI1s8Hshr5hqtsAitAyh4BnIkRdo1HiCPMvOEIV1bJROB4zTR9tJkzKXTz79l55kVprApLdo5n500JXVrX4GrjVgkPEePYb9RRxWohIgyrqwQbrij77qyL6TqI6Gn9Gv9DGxqrvhAZR0fS1W7VLKSgIJjJsQShkY0ttIGII4OoZnSKkuS6VJ6PLI8jG57tg2DpgZD0AJOWb3kJF7zhBu7QfWBPRNBjl2GR2TolgMoMObFAdtlx1TN1tNxHdrzesRy8OoT1fAqfxWrE5.7V1vfdZjsb97KnB+I2xYx.wJGt5gHaUgEtiKrFM0UT8t7rXCLO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0A7LLvqoQCrcTrmnAALfPFGDJ4Vq9LrEFEsypud0m.UfQ1feBOl9BsS7GMRhwquTwGtphG2pSu7FRc4l2vyXtbBswNH3R3qgDnPgiZPC7FX3zoTrkHop7bhTG9iyKF62AO0zav+B+DLolXrbvjZcmLpId6to9dAvLHF2D8AwMY0+9w+14N2DsDImDSZeZnmnFwjtIzg.M9V6KJ1pDdhsX1shrtqtZWg5QEVEQisYv3X6zNhHX2g+4CqPQvcfZXvxM20w.bLhq8QeoU00xA+BhIuoVTECEqGU7iP1lPHy37mJ0UltoRoeRnRUZFUpoapTEmVoRchg8E.xTynRMiJ0IiJk9T.UpfsaFUpgPkReFUpYTolV9JXF9qOnO8K1Qwaq.7EzU8Bkp++DKuvvKsvf3k9t69S+5kTdou6susz6SfW5MRhWJPibz4kl669qyRdo.P+iKC7ROwv6TyQsvv3n9i8wQs7LNpSabTm9InNk7UTNiV5DkV5UNqnkN7T8STJpEl8s8cofhZgYTTO8TTmezhaejmuSN5pm43c7otNQccmdZrST3dlQo8rA0SB5sShynExvl8RC+JChDFW0SBX2Tu+WljVYGwXUsiWJnET96kFFw2pion93pXgwUwhiqhkFWEKOtJd+wUwG7wUTzcxZtbVK+2I.K9pU7ZDRV1m.u2SFo+CXHo9dI
                            

                            20d3f5d8-e394-461f-af33-ea15a851d03c-QQ_1752250667477.png

                            //I am a new student at HISE._
                            //Windows11 & MacOS Ventura 13.6.7_

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

                              @CatABC I posted a video to Patreon at the start of the month about keyswitching using midi muters. It will probably help you here.

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

                              Felix WF 1 Reply Last reply Reply Quote 0
                              • Felix WF
                                Felix W @David Healey
                                last edited by

                                @d-healey I studied the relevant videos you posted on Patreon, but they don't apply to the problem I'm facing now.

                                //I am a new student at HISE._
                                //Windows11 & MacOS Ventura 13.6.7_

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

                                  @CatABC You're trying to use keyswitches to toggle MIDI muters?

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

                                  Felix WF 1 Reply Last reply Reply Quote 0
                                  • Felix WF
                                    Felix W @David Healey
                                    last edited by

                                    @d-healey Yes, it's back to the previous problem. I need to switch the Sampler multiple times on a note. I made the switchers according to your video, but they don't apply to this problem.
                                    111f4356-cc68-49f6-aa12-b1f13c40d837-QQ_1752342774310.png

                                    //I am a new student at HISE._
                                    //Windows11 & MacOS Ventura 13.6.7_

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

                                      @CatABC said in Make the Gain knob smooth the gain?:

                                      but they don't apply to this problem.

                                      Could you give me more detail?

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

                                      Felix WF 1 Reply Last reply Reply Quote 0
                                      • Felix WF
                                        Felix W @David Healey
                                        last edited by

                                        @d-healey
                                        This snippet implements the function of switching two Samplers on a note, but it will fail when the third KS is triggered on the same note.
                                        I didn't use the key method you used on Patreon because that seems to be a bit buggy. Here is the most basic method I used

                                        HiseSnippet 1721.3oc6aszaaaDDlTxLMRoORJBP5Q1fdPJvwPj5QhggQ7K4FiDGKX43zCEHXC4JoEhZWUxktQHv+.Z+ATfboH+IZ60bs+K5sdMnG501YIoDIsoTkUhSsBnArg2YmY14wtyLexvMrYFXGGlsjb9CFzGKI+wJMGP4c1rChPk1YKAgCYVt8vaiLwRaLnOxwAaJIKm8qEbHmaAIuudy81.YgnF3PRRRGxHF3GR5Q3gTar1CHVVBsc.oWDtqr1NFL5lLKlKXMYUJI0GYzE0F+HjfsLJR2G4zQR9VJU0KaTw7Nl55UWtlApFd4VnVszJaVoRs6trV4kQUtaMbopRxWptIgyraxQ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DzPkBWgo.0SeEfFlhEnDVG5X2hXPPVPVdkIMMyz+13ztJMRfRDj7CPTe0uwf59BjnfdQjDcC+W1mZDrzwrRX9fqnLZP1fOXfvAoi2PH6T2PPaxSILxGjyDDYAV4dVymFzXveVZIhofTzwqk7h8Qa9JME53yTZQddStqQWw0RmDTxE+4Oi8wAjanM1jzquEtN8HnhLPQXieNjtagbs3CoFOOtKix52gQIFQmFYeLfqocarcTaOQGBP.gL5FR45qsO1BihNY0Ws1CgNvHaHNgmwXg1Y9iFIw70Wn3atphG2pyu3Fx9gMtg8YtbBs8tH3R3ygBnPiilv.7FX3zoTrknnpbFQoC+0kDq8mfmZ5s3efuB1TSrVNXSsgaF0EuwvReOAPFDCah93vlr1e8fe8bGahVhfShQ8DRnmnDwntELg.Mtp8IEiKQjXalcuH7c40FRTOJwFHZLkAqioocEYvgK+i6Umhf6.MwfmatmiADXDW6i9RqgqkC9IDSdGsnBFRVOJ46irMgTlw4OTpKMeCkR+r.kpZJTp4anTUlWgRclM6K.foRgRkBk5rAkROEJ0GDPozSgRkBkZd4OAyje8AyoewNKdCE.uftpWpT8+mb4EFbokGGtzWcqe7W9.EW5qd4Kq95Dvkd0jvkBvHmdboE+1+7cItTvP+8TboSKtzxSBW5ObBbo0RwkNugKc9GT5bxeVxTnnoPQmAnnkmCfhFntTnnS.JZ4TnnoPQSghlBE8cGTz2GmQOjgM6oF9U2EO5urGEvuod+GgjSYWwZUsS2SnGzB6oFFwU0oDTeVEr7rJXkYUvpypf0lUAuyrJ3c+uETLgw5tbVO+2F.h6F08FlQV1Grs2yDo+EPmCvVF
                                        

                                        8e0c8173-1b08-4ea4-9d01-44d3eecb8041-QQ_1752343395182.png

                                        //I am a new student at HISE._
                                        //Windows11 & MacOS Ventura 13.6.7_

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

                                          This is exactly what the video is for, did you watch the one I provided a link to?

                                          You don't need to use one script per sampler because you want everything to work together as a single unit it needs to be controlled from a single script.

                                          You can use the snippet I posted earlier in this thread to retrigger the note and the key switcher from the video to change the samplers. Then it should be pretty much complete.

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

                                          Felix WF 1 Reply Last reply Reply Quote 0
                                          • Felix WF
                                            Felix W @David Healey
                                            last edited by

                                            @d-healey said in Make the Gain knob smooth the gain?:

                                            @CatABC I posted a video to Patreon at the start of the month about keyswitching using midi muters. It will probably help you here.

                                            Yes, I watched this video and followed it, but it didn't work.

                                            //I am a new student at HISE._
                                            //Windows11 & MacOS Ventura 13.6.7_

                                            David HealeyD Felix WF 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            18

                                            Online

                                            2.1k

                                            Users

                                            13.0k

                                            Topics

                                            113.2k

                                            Posts