HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. T.B.Guang
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 27
    • Groups 0

    Posts

    Recent Best Controversial
    • Channel Amount Mismatch

      Error
      Hello!
      I got this error when i converted sample files to monolith. I am using HISE v4.1.0 (old version, it's no problem). Thanks for help!

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • I share some iMPULSE RESPOND

      Past To Future Reverbs (iMPULSE RESPOND)
      https://drive.google.com/file/d/1G2tXgylm-hqCNrI0YBVElHM0fAAg9mZx/view?usp=sharing
      Unzip pw: 6761-HJRF-2420-AKAU-2776$

      posted in Documentation
      T.B.GuangT
      T.B.Guang
    • RE: It is possible hide/show Preset Browse vi a button?

      @T-B-Guang I Solved!, I use a panel and button.

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • It is possible hide/show Preset Browse vi a button?

      I have a question:
      It is possible hide/show Preset Browse vi a button?
      Thank for your help!

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: My project was crashed by Vu Meter Script

      @ustk This work like a charm, Thank Bro again!

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: My project was crashed by Vu Meter Script

      @ustk Thank you Bro!

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • My project was crashed by Vu Meter Script

      Any suggestion for this, please help! My project was crashed by Vu Meter Script, eveything compile OK, but just a few thousand year later, it was crashed.

      const var LevelMeterL = Content.getComponent("LevelMeterL");
      const var LevelMeterR = Content.getComponent("LevelMeterR");
      const var LevelMeterLock = Content.getComponent("LevelMeterLock");
      
      // show values as well, via label with whole integer db values.
      const var Label_MeterValue = Content.getComponent("Label_MeterValue"); // the peak of the strongest channel. 
      const var Label_MeterValue_L = Content.getComponent("Label_MeterValue_L");
      const var Label_MeterValue_R = Content.getComponent("Label_MeterValue_R");
      
      
      
      // ------------
      
      const var knbPan = Content.getComponent("knbPan");
      
      const var SimpleGain = Synth.getEffect("Simple Gain");
      
      //Decay Rate
      const var DECAY_RATE = 0.93;
      
      //Current Values
      var curLevelL = 0.0;
      var curLevelR = 0.0;
      var curLevelM = 0.0;
      
      //Timer Callback
      const var t = Engine.createTimerObject();
      
      t.setTimerCallback(function()
      {
      //Synth Values
        var LevelL = SimpleGain.getCurrentLevel(1);  
        var LevelR = SimpleGain.getCurrentLevel(0);
        
      //Peak Synth Values  
        var peakLevelL = Math.max(LevelL, LevelL);  
        var peakLevelR = Math.max(LevelR, LevelR);
        
        var peakLevelMax = Math.max(LevelL, LevelR);
      
      //Kick Left  
      //-----------------------------------------------------------------------------  
        if (peakLevelL > curLevelL)
          {
            curLevelL = peakLevelL;
          }
        else
          {
            curLevelL *= DECAY_RATE;
          }
      
      //Kick Right  
      //-----------------------------------------------------------------------------     
        if (peakLevelR > curLevelR)
          {
            curLevelR = peakLevelR;
          }
        else
          {
            curLevelR *= DECAY_RATE;
          }
          
      //Kick Max peak for mono out or label with max peak for strongest channel.
      //-----------------------------------------------------------------------------     
        if (peakLevelMax > curLevelM)
          {
            curLevelM = peakLevelMax;
          }
        else
          {
            curLevelM *= DECAY_RATE;
          }
      
        
      //Decibel Conversion  
      //-----------------------------------------------------------------------------   
        LevelL = Engine.getDecibelsForGainFactor(curLevelL);  
        LevelR = Engine.getDecibelsForGainFactor(curLevelR);
        
        var LevelMax = Engine.getDecibelsForGainFactor(curLevelM);
        
      //Set Values  
      //-------------------------------------------------------------------------------  
        LevelMeterL.setValue(LevelL);  
        LevelMeterR.setValue(LevelR);
        
        Label_MeterValue.set("text", (LevelMax >= -99) ? Math.round(LevelMax) : -100); // use Math.round (round up) for all except minimum value, -100. 
        Label_MeterValue_L.set("text", (LevelL >= -99) ? Math.round(LevelL) : -100); // use Math.round (round up) for all except minimum value, -100. 
        Label_MeterValue_R.set("text", (LevelR >= -99) ? Math.round(LevelR) : -100); // use Math.round (round up) for all except minimum value, -100. 
      
        
      });
      
      t.startTimer(30);
      
      
      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Is is possible rename the display name on combo box?

      @d-healey Thank Bro

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • Is is possible rename the display name on combo box?

      Is is possible rename the display name on combo box?
      My stituation, it display like this: "ROJECT_FOLDER}LargeHall_IR"
      I try to change this but not success :)) Thank for help!

      //masterIRReverb
      const masterIRReverb = Synth.getAudioSampleProcessor("masterIRReverb");
      
      // Pool audio files
      const audioFiles = Engine.loadAudioFilesIntoPool();
      
      // Get a list of irs
          const var irs = [];
      
          for (a in audioFiles)
          {
              if (a.indexOf("ir/")) //Impulse responses will be in ir folder
              {
                  var ir = a.substring(a.indexOf("ir/") + 3, a.lastIndexOf("."));
                  irs.push(ir);
              }
          }
          
      // cmbIR
      const var cmbIR = Content.getComponent("cmbIR");
      cmbIR.set("items", irs.join("\n")); // Populate dropdown
      
      inline function oncmbIRControl(component, value)
          {
              local filename = component.getItemText();
              loadIR(filename);
          };
              
      Content.getComponent("cmbIR").setControlCallback(oncmbIRControl);
      //Load Detail imPulse File//
      inline function loadIR(filename)
      {
      	masterIRReverb.setFile("{PROJECT_FOLDER}LargeHall_IR.wav");
      	masterIRReverb.setFile("{PROJECT_FOLDER}MediumStringHall_IR.wav");
      }
      
      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: I released my project!

      Congratulations Bro!!

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Convolution Reverb don't render/load when compile VST3

      @田伯光 I have seen problem already. Thanks
      https://forum.hise.audio/topic/819/convolution-reverb/7?_=1688220718285

      posted in Bug Reports
      T.B.GuangT
      T.B.Guang
    • RE: Convolution Reverb don't render/load when compile VST3

      @田伯光 I will try this
      Engine.loadAudioFilesIntoPool();

      //ConvoRev Controls
      const var ConvolutionReverb = Synth.getAudioSampleProcessor("Convolution Reverb");
      const var ComboBox1 = Content.getComponent("ComboBox1");
      ComboBox1.setControlCallback(loadImpulse);

      inline function loadImpulse(control, value)
      {
      ConvolutionReverb.setFile("{PROJECT_FOLDER}"+ control.getItemText() + ".wav");
      }

      posted in Bug Reports
      T.B.GuangT
      T.B.Guang
    • Convolution Reverb don't render/load when compile VST3

      In my case, i got this in Hise version 3.03 (latest one download from website), and version 3.0.0. I create a Convolution Reverb, then load an impulse file. Everything work well in HISE, but not work after compiled. (I try on Studio one 6). I test with an old projects then got the same problem (v2.0.0 work like a charm with that one, no bug).
      I report this, if here a bug, please help me fix. Or my manual with Convolution Reverb didn't correct.
      Thank for help!

      posted in Bug Reports
      T.B.GuangT
      T.B.Guang
    • RE: Ask about combo box function

      @d-healey I got it, Thank so much Brother 👍 👍

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Ask about combo box function

      @d-healey Could you please help me with a simple HiseSnippet?, i will learn & edit following. My knownlege about codes, syntaxs not good, so it's really difficult. Thanks

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Ask about combo box function

      @d-healey Thanks Brother

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Ask about combo box function

      @bendurso Sorry for may bad description, on delay FX we have 2 option sync & unsync tempo, unit = milliseconds and note (1/2 1/2T, 1/4) by milliseconds i can route to the knob, but the other one, i don't know how to display it.

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • Ask about combo box function

      My goal lik this, i would like display note on delay FX, such as 1/2 1/4 1/8T...
      I search and read on forum discussion but i haven't got it. So, finally, i make a question. Thanks eveboydy's help.

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Help with create script to control dynamics

      @d-healey Thanks Brother

      posted in General Questions
      T.B.GuangT
      T.B.Guang
    • RE: Help with create script to control dynamics

      @d-healey Thank David, my goul lik this, i would like control compressor threshold via a knob (by script) then link that knob to midi cc#1, i tried some script which everybody supply here, but perhap i didn't understand clearly, so it doesn't work.
      I tried this:
      const var t = Engine.createTimerObject();
      t.setTimerCallback(function()
      {
      var v = Dynamics.getAttribute(Reduction.CompressorReduction);

      v = Engine.getDecibelsForGainFactor(v);
      
      knbDynamics1.setValue(v);
      
      posted in General Questions
      T.B.GuangT
      T.B.Guang