HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Felix W
    • Profile
    • Following 2
    • Followers 0
    • Topics 91
    • Posts 335
    • Groups 0

    Felix W

    @Felix W

    40
    Reputation
    69
    Profile views
    335
    Posts
    0
    Followers
    2
    Following
    Joined
    Last Online

    Felix W Unfollow Follow

    Best posts made by Felix W

    • RE: staple process error MAC

      @treynterrio Yes, my Mac has been working for two days and two nights, and it's still: in Processing................................................................................
      Apple is too unfriendly to developers.

      posted in General Questions
      Felix WF
      Felix W
    • 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
      Felix WF
      Felix W
    • 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+VN9tCG2tjaeBsWeYKG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ACbExmFFd1k5BF5unFtwhZ3lKpgMWTCu4hZ3VKpg25can5F92cDbAk7xFD53NGn6TaXb.GCYf5rUz+CvYqjRB
      

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

      posted in Scripting
      Felix WF
      Felix W
    • 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
      Felix WF
      Felix W
    • 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
      Felix WF
      Felix W
    • When I clicking this button, a bug occurs

      1.png
      This prevents me from using this feature properly

      posted in Bug Reports
      Felix WF
      Felix W
    • 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
      Felix WF
      Felix W
    • 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
      Felix WF
      Felix W
    • RE: User-defined background?

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

      posted in General Questions
      Felix WF
      Felix W
    • RE: How to set the text color of Combobox?

      @mmprod They are universal, you just use LAF

      posted in General Questions
      Felix WF
      Felix W

    Latest posts made by Felix W

    • RE: From vocals to musical instruments

      @Chazrox 😹

      posted in General Questions
      Felix WF
      Felix W
    • RE: Sampler.setSoundPropertyForSelection(); seems to have a bug.

      @Felix-W said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @CatABC said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @ulrik

      @d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @CatABC Use constants instead of magic numbers

      Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.

      const var ComboBox1 = Content.getComponent("ComboBox1");
      
      const var ROOT = 2;
      const var LOW_KEY = 3;
      const var HIGH_KEY = 4;
      
      const var C1 = 36;
      const var D1 = 38;
      const var E1 = 40;
      const var B3 = 71;
      inline function onComboBox1Control(component, value)
      {    
          Sampler.selectSounds("C3");
          
          if (value == 1)
          {
            	Sampler.setSoundPropertyForSelection(ROOT, C1);      
              Sampler.setSoundPropertyForSelection(HIGH_KEY, C1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, C1);
          }
          
          if (value == 2)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, D1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,D1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, D1);
          }
          if (value == 3)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, E1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,E1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, E1);
          }
          if (value == 4)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, B3);
              Sampler.setSoundPropertyForSelection(LOW_KEY, B3);
              Sampler.setSoundPropertyForSelection(HIGH_KEY, B3);
          }
      };
      
      Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);
      

      Ultimately, I set up two methods to call different methods depending on whether the value in the combobox increases or decreases.😹

      Wow, this method is so cool! Thank you for the code comments; they really enlightened me.

      posted in Bug Reports
      Felix WF
      Felix W
    • RE: From vocals to musical instruments

      @d-healey said in From vocals to musical instruments:

      @Felix-W said in From vocals to musical instruments:

      Will this replace sampled audio plugins?

      No

      Ah, it seems d.healey maintains a very optimistic outlook.🤠

      In addition, I also saw a product from ACE Virtual Singer. They previously released an AI violin, and although the sound quality was average, its smoothness in transitions was much higher than that of sampled sound source plugins.Many of my friends who make music say this will replace sampled audio plugins.

      posted in General Questions
      Felix WF
      Felix W
    • RE: From vocals to musical instruments

      @Oli-Ullmann https://www.ikmultimedia.com/products/resing/?pkey=resing this

      posted in General Questions
      Felix WF
      Felix W
    • From vocals to musical instruments

      Ah, this is a discussion thread. I saw that IK Multimedia released an AI-powered resing plugin that can convert vocal melodies into instrumental melodies. Will this replace sampled audio plugins? Has anyone tried it in HISE?

      posted in General Questions
      Felix WF
      Felix W
    • RE: How do I specify a CC controller for Knob using code?

      @d-healey I see. Thank you so much.🍻

      posted in General Questions
      Felix WF
      Felix W
    • How do I specify a CC controller for Knob using code?

      How do I specify a CC controller for Knob using code?I'm currently right-clicking "Assign MIDI CC" on a Knob, but it keeps getting inexplicably removed, and sometimes it even causes problems with other Knobs.

      posted in General Questions
      Felix WF
      Felix W
    • RE: Sampler.setSoundPropertyForSelection(); seems to have a bug.

      @CatABC said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @ulrik

      @d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @CatABC Use constants instead of magic numbers

      Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.

      const var ComboBox1 = Content.getComponent("ComboBox1");
      
      const var ROOT = 2;
      const var LOW_KEY = 3;
      const var HIGH_KEY = 4;
      
      const var C1 = 36;
      const var D1 = 38;
      const var E1 = 40;
      const var B3 = 71;
      inline function onComboBox1Control(component, value)
      {    
          Sampler.selectSounds("C3");
          
          if (value == 1)
          {
            	Sampler.setSoundPropertyForSelection(ROOT, C1);      
              Sampler.setSoundPropertyForSelection(HIGH_KEY, C1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, C1);
          }
          
          if (value == 2)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, D1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,D1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, D1);
          }
          if (value == 3)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, E1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,E1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, E1);
          }
          if (value == 4)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, B3);
              Sampler.setSoundPropertyForSelection(LOW_KEY, B3);
              Sampler.setSoundPropertyForSelection(HIGH_KEY, B3);
          }
      };
      
      Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);
      

      Ultimately, I set up two methods to call different methods depending on whether the value in the combobox increases or decreases.😹

      posted in Bug Reports
      Felix WF
      Felix W
    • RE: Sampler.setSoundPropertyForSelection(); seems to have a bug.

      @ulrik

      @d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @CatABC Use constants instead of magic numbers

      Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.

      const var ComboBox1 = Content.getComponent("ComboBox1");
      
      const var ROOT = 2;
      const var LOW_KEY = 3;
      const var HIGH_KEY = 4;
      
      const var C1 = 36;
      const var D1 = 38;
      const var E1 = 40;
      const var B3 = 71;
      inline function onComboBox1Control(component, value)
      {    
          Sampler.selectSounds("C3");
          
          if (value == 1)
          {
            	Sampler.setSoundPropertyForSelection(ROOT, C1);      
              Sampler.setSoundPropertyForSelection(HIGH_KEY, C1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, C1);
          }
          
          if (value == 2)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, D1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,D1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, D1);
          }
          if (value == 3)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, E1);   
              Sampler.setSoundPropertyForSelection(HIGH_KEY,E1);
              Sampler.setSoundPropertyForSelection(LOW_KEY, E1);
          }
          if (value == 4)
          {    
              Sampler.setSoundPropertyForSelection(ROOT, B3);
              Sampler.setSoundPropertyForSelection(LOW_KEY, B3);
              Sampler.setSoundPropertyForSelection(HIGH_KEY, B3);
          }
      };
      
      Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);
      
      posted in Bug Reports
      Felix WF
      Felix W
    • Sampler.setSoundPropertyForSelection(); seems to have a bug.

      Sampler.setSoundPropertyForSelection(); seems to have a bug.
      When I changed the values ​​of Root, LoKey, and HiKey in the sample from larger to smaller values, the HiKey value with the code 4 did not take effect.
      2025_11_25_03_00_29_64.gif

      posted in Bug Reports
      Felix WF
      Felix W