HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. CatABC
    3. Best
    • Profile
    • Following 2
    • Followers 0
    • Topics 86
    • Posts 317
    • Groups 0

    Posts

    Recent Best Controversial
    • 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
    • LAF a vertical slider using CSS

      I didn't find any CSS examples for vertical sliders in the forum. I spent some time making one, but I don't think it's perfect. If you have a better way, please help us.

      HiseSnippet 1349.3ocsVsraaaDEcnsYZI6CT2lO.hDDDo.KCRZq3XIDDG+J0HwwBUNAoqBFRNTZpFNi.4nDoDDfrneCcc+B5uPK5WPW2Us+AcSW0Eo2YHkHssPdHfPBPo6qYN26beLcREgjrLQJxv9zICIHiO2r6Dtr+d8wTN5n8QFKa5g1cxPbVFIBYXr78TBLrVAoe9m6rKlg4gjRVHziEzPxCnITYI2N6beJicHNhbJMoh1atyQgB9dBlXTpZybQCwgCv8HODqTaISz2hy5iLtgoKIHHJNXisI9dd9a2zs4VA9.qMHgX+3s1zycqla4uM.xKcPDUJR6JwRRFrn6Jhlzsu3477M3wzLZ.ij6ZcgcNmMZu9TVTmoQjLDxXkNkwmkyiOW17XZDcF+x3zWoE3TZQ0flwRuMH48A.IiJPZkbHspY2vT5PYoDEd9Lyi3RRZLFNapBkbcQK8mqXtm.zfKWOAOfbXJPLyhZ2z0cMG3S8111v4Slz4Y3Tm6yEAdN21Ypg8Hx8DICEbfn1UzRuREKDrmxvwUzOLk.9+CDgX1CDhA2kGcHgvpUuskkskcg9qmQ.fvnbRW4DFoaeBAVbaq0yzHOiQiHo1VVuz1xo344zHY+VN9tCG2tjaeBsWeYKGuywO.Rv5kJFwiZ4j1K.WyuYy0bJ+.NMnUo9w.5ajQeAokia6oLA.7pygoVsBHwhTh8LnEl62sbt90aOaEkhg.lTPxwpb0z+vHwfxMcu1TzJSw7LXMSZk+WFD9dRsFfF0mpRgueqRWbleuYE+tpSeUOOuY7Eo.zajhinixZ4r4LKrsdk5P47tHNFRQ.+ypz2t80aqoYhzVpzjZMZPkjj7ZZENsjjwPDrONR7bHFBudCGOeMCDRo.71D73Z.5WyARUBq445dMmaTXwyvrQj500pmp8z7.l07BVeeshXkUQbxqo1CslFj78yoeQCJOhLFXngQ0n01a6gUu436LgqBiCDim4d.ID8.WzwWIt.zA8Jbx0xkS4PVNnUCO3fSGRNe3v+7ppRYz+3bUWn5rXexsF91P4Y44yarl50ccuoKQilZ0ZNe01p9zrZa3H2VWAaoKlUkhWnZsnLsd63Q7PIUvcD7GJjjS30paCYF1ux147hhimqLUegTAiQRmqX0jhz2lg03iRBHoq4jmSLUQny3Ya2do2u1sEozUTTvOhSkmLjTPenfEoZip9+EaNiJ5yoZSWfPPUotI8WVzjtqtNBQgE4SL0AYjF7ESDe8u+u+0cPO5n8wR7zkAVQXWFRRkTkyXrO4Yv707d+Vl6SxF.sTz5VzJFY7MuyMc7rQv+FamIyHd8fcxTccgXlVQTBMJhQ5HxnpPekA++ZljLrKzUTw6kW9Wt2e+he7NIUua.BAUwUupP1n3X5X8P8XJKISBX6nDXVOx3qMeTFwIhDiGwjNYCf0Al.LfDcpPqut5EYXZ3CqTdsqh5m.pokVvNcoSN4j+PsWkkQJt+7Or7aNKWeE6UWc0+SwV0cpT42.OJtYPVvofjcEiUiMQWbtKLwWDMB5xb1qAntfTg.UDq5rW07UNDImTMp7Ab2.225cCdeg3plcnxv9yGiKMGLBIheLvXwMp9ByChiIgxR.th4gOYQu9z6X6+NwHIk26XLj6AmqlObTRW3fOj.6NmSXYprpkTkx4ztJZUDnKgGoIT4GEB8TzFEB8lJDx5CSEOMLuAf5NaeplCfIt9NsVlGqncNakedACbExmFFd1k5BF5unFtwhZ3lKpgMWTCu4hZ3VKpg25can5F92cDbAk7xFD53NGn6TaXb.GCYf5rUz+CvYqjRB
      

      f669366d-d806-449f-94f1-74acbbf03f2d-QQ_1756486232027.png

      posted in Scripting
      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: 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
    • How to customize the sound library location interface?

      How to customize the sound library location interface?
      The button is too small, I wish it was bigger
      c4a7fd08-deef-49f6-825e-2e6b7a9dc889-image.png

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to customize the viewport row background color?

      @Soundavid Thank you so much, I learned it and I'm so excited!💓 💋

      posted in General Questions
      CatABCC
      CatABC
    • How to use a knob to change the SampleStart values of all samples in a sampler?

      How to use a knob to change the SampleStart values of all samples in a sampler?
      Please help me. I want to use the CC controller to control the SampleStart values of all samples in a certain sampler. I hope I can get a code snippet. I will be very grateful~!

      posted in General Questions
      CatABCC
      CatABC
    • RE: How to control the parameters of each key individually?

      @ulrik I succeeded,I put Sampler1.selectSounds(""); into oncmbSampleMapControl and it works fine

       inline function onknbVolC1Control(component, value)
       {
      	
      
       	Sampler1.setSoundProperty(0, Sampler1.Volume, value);
       	
       };
       
       Content.getComponent("knbVolC1").setControlCallback(onknbVolC1Control);
       
       
      
       
      
       //change samplemap   -------------
       const var sampleMaps = Sampler.getSampleMapList();
       const var fltPreset = Content.getComponent("fltPreset");
       const var cmbSampleMap = Content.getComponent("cmbSampleMap");
      
       cmbSampleMap.set("items", sampleMaps.join("\n"));
       
       
       
       inline function oncmbSampleMapControl(component, value)
       {
       	GFRNB.asSampler().loadSampleMap(sampleMaps[value-1]);
       	//updateSelectedSounds  ----------
       	Sampler1.selectSounds("");
       };
       
       Content.getComponent("cmbSampleMap").setControlCallback(oncmbSampleMapControl);
       
      
      posted in General Questions
      CatABCC
      CatABC
    • RE: How to control the parameters of each key individually?

      @ulrik I succeeded, thank you very much, give you ❤

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

      @ulrik Ah~~~, the result of this solution is pleasantly surprised. The Xfade of this solution is smoother than I thought. I combined the code of my first snippet, and this is exactly what I want to achieve. If I have a chance, I will treat you to a seafood feast!🍻

      posted in General Questions
      CatABCC
      CatABC
    • RE: How do I connect a knob to a CC controller using code?

      @d-healey Thanks a lot for the tip, I succeeded,🍉 Treat you to watermelon, even though it's just an Emoji,But I really mean it.

      	local number = Message.getControllerNumber();
      	
      	    if (number == 1) { 
      	    
      		   local ccValue = Message.getControllerValue();
      		   Console.print(ccValue);
      		    
      	       local inputValue = ccValue / 127;
       
      	       Console.print(inputValue);
      	       
      	       knb1.setValue(inputValue);
      	       
      	      
      	    }
      
      posted in General Questions
      CatABCC
      CatABC