Navigation

    Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    1. Home
    2. orange
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    orange

    @orange

    344
    Reputation
    764
    Posts
    1034
    Profile views
    8
    Followers
    2
    Following
    Joined Last Online

    orange Follow
    Beta Testers

    Posts made by orange

    • RE: Multi Instance DAW Crash Issue Guide

      @Natan It depends in which script you are using it.

      I am using it in the main interface script, it works..

      https://forum.hise.audio/topic/79/scripting-best-practices

      posted in General Questions
      orange
    • RE: Multi Instance DAW Crash Issue Guide

      Updated. Added "else if" statements.

      posted in General Questions
      orange
    • RE: 4 samples delay?

      @Steve-Mohican You can achieve the sample delay with the Simple Gain unit. But we need to convert milliseconds to samples first.

      Let's look at the principles. For example if we have 2 milliseconds delay in 44.1 kHz, the sample delay would be:

      2 x 44.1 = 88.2 samples

      If the sample rate was 96 kHz, sample delay would be:

      2 x 96 = 192 samples


      Acording to this equation you need to get the sample rate with Engine.getSampleRate() and calculate the ms delay amount. In your case since you need 4 samples delay, your equation will be;

      4 / (Engine.getSampleRate())/1000

      So you need to use below loop in a Simple Gain unit.

         if Over sampling is active
           {
              SimpleGain.setAttribute(SimpleGain.Delay, 0);
           }
              
          if Over sampling is not active
           {
              SimpleGain.setAttribute(SimpleGain.Delay, (4 / ((Engine.getSampleRate())/1000)));
           }        
      
      

      NOTE: / 1000 is the conversion rate from Hz to kHz

      posted in General Questions
      orange
    • RE: A Knob's Story!!! Solved By D.healey & Ulrik <3

      @Natan For variable ranges, this can help: https://forum.hise.audio/topic/1036/lord-of-the-knobs/10

      posted in Scripting Forum
      orange
    • RE: My Components are gone help

      @Lorrislehorse Have you tried File > Open Recent Archive ?

      posted in General Questions
      orange
    • RE: A Knob's Story!!! Solved By D.healey & Ulrik <3

      @Natan Here you go. Console.print lines are for monitoring, you can comment out these lines 🙂

      HiseSnippet 933.3ocuV0saSjCE1SZ8BIKEARHtdTkPJcWHZB+KPnlLosnH1VhHrU6Ufb83z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21EcYvXuVd17S9SoTan3J.2mNlqt.Xt1Bf45K.lar.Xt4Bf4VK.laOSL16b1MwnByJS.AC1LsauiylRBjkklQh9dMZyCT
      
      posted in Scripting Forum
      orange
    • RE: ERROR_CGDataProvider_BufferIsNotBigEnough - Help with core graphics

      The last NVidia graphics card was used in a mac computer, almost 10 years ago 🙂

      posted in Bug Reports
      orange
    • RE: Multi Instance DAW Crash Issue Guide

      @d-healey said in Multi Instance DAW Crash Issue Guide:

      This sounds fishy to me. Setting attributes shouldn't be causing any issues. I suspect there are other problems with the scripts.

      It's been covered here by @Christoph-Hart befrore: https://forum.hise.audio/topic/2826/debugging-with-reaper/25

      You can use as many setAttributes as you can, it's not a problem on most systems. But the issue is "Multi Instance DAW Crash" in "Some Systems".

      That doesn't mean it happens in all computers. But if you see this in a computer, it will do that crash in all DAWs 🙂 You know what: while I haven't seen any multi instance crash in my 7 years old laptop, some users were repoting this issue to me. Honestly I couldn't replicate it. Then I got a new Intel 10th generation i9, 128GB RAM, 12GB NVidia 2080Ti computer, then guess what: it crashes for 5 plugins 🙂 Same plugin, new system.

      Are you setting attributes only in deferred scripts?

      Yeah, I am using it in main interface script only. But the issue happens also with the plugin that uses only One Timer Object (100ms - on preset label only). Whole plugin is a Parametric eq, ShapeFX and setAttributes. Nothing more. I can open 20 instances in old pc, but crash for 5 instances in new one 🙂 Crash reporting beta testers see the multi instance crash too.

      This is more interesting, when the deferring callbacks are disabled, sometimes crash reduces 🙂

      Are you setting attributes in MIDI callbacks or timers?

      No.

      posted in General Questions
      orange
    • RE: Multi Instance DAW Crash Issue Guide

      @LeeC said in Multi Instance DAW Crash Issue Guide:

      @orange @Christoph-Hart
      I know it depends, but is there a ballpark number for the amount of setAttributes we should be using simultaneously?

      Also, would using the showControl instead of set("visible",value); to toggle visibility of components help to avoid crashes aswell?

      I haven't seen any issues yet with using too many showControl or set("visible")... stuff. For multi-instance crash you need to make experiments with beta testers.

      posted in General Questions
      orange
    • RE: Multi Instance DAW Crash Issue Guide

      @dustbro said in Multi Instance DAW Crash Issue Guide:

      @orange said in Multi Instance DAW Crash Issue Guide:

      Number one cause is the amount of used setAttribute APIs

      @orange @Christoph-Hart does this also include setValue()? If not, I might use scripts to set the value of panels, and then us the Panel Property Editor to assign Processor/Parameter IDs.
      Can panels even do that?...

      Since generally I use setAttributes, I haven't made experiments with setValue() & Panels.

      But setValue should be ok I think.

      posted in General Questions
      orange