HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. CatABC
    • Profile
    • Following 2
    • Followers 0
    • Topics 79
    • Posts 296
    • Groups 0

    CatABC

    @CatABC

    31
    Reputation
    63
    Profile views
    296
    Posts
    0
    Followers
    2
    Following
    Joined
    Last Online

    CatABC Unfollow Follow

    Best posts made by CatABC

    • RE: The world of HISE

      Hi,大家好~I am from China,Is a composer,I am very happy to create with you all

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to draw the rename secondary confirmation window in PresetBrowserDialog?

      @d-healey I am using Content.createLocalLookAndFeel();
      Tried your method and it worked, thank you very much😘 😘 😘

      posted in General Questions
      CatABCC
      CatABC
    • When I clicking this button, a bug occurs

      1.png
      This prevents me from using this feature properly

      posted in Bug Reports
      CatABCC
      CatABC
    • RE: Directly fade in and out samples from two samplers on one MIDI note?

      @d-healey OK, thank you for your guidance. I think I can achieve the effect I want in the near future.😎

      posted in General Questions
      CatABCC
      CatABC
    • RE: Setting the alpha of a color individually?

      @d-healey Ahaha,god,It's so simple
      Feeling mine so stupid。,Thanks very much David, you solved my problem again.😙 😙 😙

      posted in General Questions
      CatABCC
      CatABC
    • RE: User-defined background?

      @Oli-Ullmann Yes, thank you very much for your help.

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to set the text color of Combobox?

      @mmprod They are universal, you just use LAF

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to set the text color of Combobox?

      @Oli-Ullmann cool,I don't know what I did wrong, my

      g.setColour();
      

      didn't work, but I deleted all the code and rewrote it according to the code snippet you gave, and it worked. I want to give you a hug to express my endless gratitude.🍔

      posted in General Questions
      CatABCC
      CatABC
    • RE: CustomSetting LAF?

      @mmprod marvelous,I success,thanks for you😆

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to customize the sound library location interface?

      @DabDab thaks very much!

      posted in General Questions
      CatABCC
      CatABC

    Latest posts made by CatABC

    • RE: Has anyone used CSS to create a Combobox UI?

      @HISEnberg Ahaha, I was blind, thanks for helping me find it😂

      posted in General Questions
      CatABCC
      CatABC
    • Has anyone used CSS to create a Combobox UI?

      I think it's very convenient to use CSS to create UI, but I don't know where to start with ComboBox. I looked through the HISE documentation but couldn't find any examples. Has anyone done it before? Could you give me an example? I would be very grateful.

      posted in General Questions
      CatABCC
      CatABC
    • How to filter and display SampleMaps in ComboBox

      Dear forum buddies, I have many SampleMaps and some Comboboxes. I will use the ComboBox to select and load the specified SampleMap. I hope to display only certain specific SampleMaps in ComboBox1 instead of all SampleMaps. How can I do it? ?

      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

      @d-healey @Chazrox
      I'm back. After many days, I reviewed the code again today and finally succeeded!
      We need a loop!
      I would also like to thank all my friends who provided me with help and various solutions! I love you all😘

      function onNoteOn()
      {
      	local n = Message.getNoteNumber();
      	local v = Message.getVelocity();
      	if (n >= knbLoKey.getValue() && n <= knbHiKey.getValue())
      		lastKs = n;		
      
      	if (Synth.isArtificialEventActive(eventIds.getValue(lastNote)))
      		Synth.addVolumeFade(eventIds.getValue(lastNote), knbFadeTime.getValue(), -100);
      
      
      for (i = 48; i < 127; i++) {
      	local e = eventIds.getValue(i);
      		       
      	if (e != -1)
      	    Synth.noteOffByEventId(e);
      	    
      		if (n == knbKs.getValue() && Synth.isKeyDown(i))
      		{
      			ADSR.setAttribute(ADSR.Attack, fadeIn.getValue());
      
      			lastKs = n;
      			
      			eventIds.setValue(i, Synth.playNote(i, v));	
      				
      			return Message.ignoreEvent(true);
      		}else{
      			ADSR.setAttribute(ADSR.Attack, knbResetAt.getValue());
      		}
      	}	
      		lastNote = n;
      		
      		if (lastKs != knbKs.getValue())
      			return Message.ignoreEvent(true);
      	
      		eventIds.setValue(n, Message.makeArtificial());
      	
      }
      
      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

      78de0978-090b-4ebd-a447-30862f5e9150-QQ_1752416294304.png
      4e35b4a3-650e-4fa4-9317-8642508125be-QQ_1752566058573.png
      @d-healey

      I found that KS will overwrite the value of lastNote. When the third KS is triggered, eventIds.setValue(lastNote, Synth.playNote(lastNote, Message.getVelocity())); does not play the original note value. Is it possible to write the lastNote value back to the first value in the onNoteOff function?

      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

      @Chazrox I used Synth.noteOffByEventId() instead and it works fine now

      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

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

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

      the note triggered by the third KS cannot be stopped.

      Yeah this is the kind of hanging note issue I said you might run into. I'm just testing with my keyboard in realtime, haven't tried with MIDI in a daw but I expect it is less forgiving.

      You'll need to dig into the code to see how to mitigate the hanging notes.

      It's a bit cumbersome to work on because each time you make a change to one of the scripts you need to copy it over to the others. If you move it to an external file it might automatically update the others when it's compiled, I'm not sure though.

      I added this line of code to each onNoteOff,

      	Synth.addVolumeFade(eventIds.getValue(lastNote), 500, -100);
      

      and it will have this error,

      ! onNoteOff() - Line 11, column 21: Event ID must be positive
      

      but the note can be stopped. In addition, there is currently a problem that the third note does not play the note pressed above, but the note of KS itself.

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to use KeySwitch to trigger sampling?

      @ulrik said in How to use KeySwitch to trigger sampling?:

      @CatABC I guess that's how the eventData Envelopes work, if you trigger a key switch the fade will not be applied until you play next key
      It seems to work flawlessly when playing legato but as soon as you release a playing key, and the fade has not worked its way through, it will continue the fade as soon as you start playing a key again.
      It would be nice if the smoothing time will elapse even if no playing key is pressed

      @d-healey I set the Smooth value of the EventData Envelope of the current Articulation to 1 when triggering other KS to avoid the Xfade at the beginning, but when switching the third KS on the same note, I can't set the second EventData Envelope back to its original value, or do you have any idea to solve this problem?

      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

      @d-healey

      Aha, here is a free software loopMIDI, which can transfer DAW MIDI information to HISE in real time.

      loopMIDI | Tobias Erichsen

      favicon

      (www.tobias-erichsen.de)

      posted in General Questions
      CatABCC
      CatABC
    • RE: Make the Gain knob smooth the gain?

      @d-healey I tried your Snippet, and I don't know if you have the same problem. When the third KS is triggered, the note triggered by the third KS cannot be stopped. In addition, when switching from the first KS to the second KS, and then switching from the second KS back to the original KS, there will be no sound, but there is always a level display on the waveform generator. I searched for a long time, but I couldn't solve the problem. This problem is too frustrating.
      78de0978-090b-4ebd-a447-30862f5e9150-QQ_1752416294304.png

      posted in General Questions
      CatABCC
      CatABC