Latency on Simple Gain's Table modulation



  • A Side Chain effect is widely used in EDM for giving a pumping effect to elements in order to make them sit with the kick drum. It's just a gain modulation with very tight, 0 offset or latency.

    To give this effect; a simple gain unit's gain parameter; modulated with a table. But there is a very small offset (maybe 3-5 ms) in table that doesn't allow to use this fx well.

    Issue video:

    If you compile this plugin yourself, you'll see that too.

    Hise snippet:

    HiseSnippet 1382.3oc4XssbaTCFVqsUabngld3hd4NLbQ5PIicHIzBWTm3CYL3jXrMkxvvjprqbrH6JsHq0od5zY3QfGAdE3ZtgGAdD3QnuAfj10dkcc7AHISJrW3w++R+Re5+rTcNyA2sKiCrx1pe.FXcKXy9TQmhcPDJnZIf06AaRbwQz61O.0sK1EXYkdOECqrY.5u27zcQdHpCNgE.7LFwAWi3SDIbCJ7kDOuJHWbKhuwr2rPUGFsHyiEJASZXNP.x4TzI3CPpokBBrfkcIBFuo.IvcAVY1k41uYG1Yzn4+LRWxwdXEQdPS4BEwtByyUgXEWPwNDO25CNzcAxEsdhJHcjJ39v8Itjg7STEqpGvNQBS8gUpoAu7lvK27COKC3kIBd2A1zgSBDIiDYlpREXdajzDXBqn4Br9MXQlbBTw59nSwU3RhgBr1V4x8H6M1J2C+71gTGAgQsYzCXB7gz0d3xuZ4rK+5kGej1smzPpMgy77v7IMpxjymhXqQC8OFyejcOjWHdv7jm7QUsvyW0ZZ4chNvFSjQqRIhCCvzySgCh0RRU+MhAkb6EZE+JwJ9VH0lQjp2kf5+mGnwqoquKRf.Vkga930G8q2gauwWE9DC5h8bW+iT+8IE0zxeZaRGgIMPRGAj2OFHM8jQlbMRtETERQzZ32FMyyJHiy8YLQGB8jEXA1MTHXzXkQM7IHA6elz2.ViwBFW127z4C5U33ezdRm86W.70UKoLFxfgXaqzdGf4BhxUxpDtmLIUTjUVXIb2SERXnL99ALpxSv5lyz7+xjM7CJzOgXsBmQbEcFx3EgE5fImzIIe3K7JDLv8qpbIuMrVkCs2m4F5IUkbkpabbLKqeBX9kdlfY0ouSAHtLSqLiPU8ISsfUo.ejwY6CKLevwzU5bPyOcvBflamrd5S3T.0Ry18LQ1e9klHp8XFqBOebiE3yVHUX79MevK1++b.2e9CWrfaE8tUlpbecmFBOmnrywp96e+Bfgn0KDSc5OtE0m4hUSnEVhKY+HN.vaWGTVMdvBaVhV0WR7.xZKiTKTUvi1kH5alf4Rot87B26.qSDNclLdSMA7JSicYi23tfVAVtcariHArYfUd9UbKO2bXSoD+.O7dCfxJwLr2a5skB.kvdnQzeeyHwQfusvDZb0J8nGrzyWCGS3vjYtcDT.29eiia54S6OCM9JQfDphb0Ha7X3YhqjnZipvwkSLsCnd31Ltebo2X9OnPbVSiYljEvXWFshfwrMSrYL+hgcEL+Aa5EUqYME3.c2EVeGb6MW+x4Cr.V5Y3NlZNcGum1nOz7pL+WyyjFg3g9duCf36B04lremoX0cg5bmu6.3Ug0QzqAvsAKTHyTsORvIx9bfGD52jExcTupBkh8TWo0Jk5dRQz4TzJ.0DSc0D+k7Kdv7JZq3AyOXPSUx8FT.emPWBSkODyiiQzbrUrrqK88v7oT67Ot3eRGUR78081kTYP2.TKNx4T00Elch7Fx79pGfHgW8BMQplAjFMtPE2arHMv8v7t3Q3Ug3E+pR1vWUuwgeQ4hsNpxg0JUtwqyuQtiC7Ua85mg5A7UJjHagtEUn0p+ZJfmbX8lMXLOMTcGL93sOjY9xWOi9hxbs9kpt5ZP+hoOmrCvXTijko8vdx.k3lwJgaiB8DC4ZBx8YTVPGFk3LpilL39jSvbSnOwyyNBgzY2LDnA1Ci5hMuATMBEi3iFqrPph7yupXZlqG.ifq9Ze1+23dUo+e48ptRpBcUrG9HGN6HmnmET4Kujli7bS0I0yB2WQaO7UYU5FeY5vibbTJ6ONO.LYI1Xgk3SVXI1bgkXqEVhsWXI9zEVhGOEIT0d1ITdcqnPO.3usMlReE
    


  • @Christoph-Hart
    Anything else about this?



  • Not on my priority list right now.



  • @christoph-hart

    Ok I understand. I'm thinking a shorter solution;

    I tried to mute the first 100 ms. It will not be looped, only first 100 milliseconds everytime plugin starts to play in DAW and in tempo sync.

    I've used this code but the startup click voice is still there, how can we solve it?

    const var MUTIZER = Synth.getEffect("MUTIZER");
    
    reg on = true;
    
    
    
    
    
    function onTimer()
    {
    	if(on)
    	{
    		on = false;
    		Synth.startTimer(0.1);
    		MUTIZER.setAttribute(MUTIZER.Gain, -100);
    	}
    	else
    	{
    		on = true;
    		MUTIZER.setAttribute(MUTIZER.Gain, 0);
    	}
    }
    


  • @christoph-hart
    I'm seeing "- fixed click at end of sample" on commits. Is that about this issue? Is it ok now?



  • No, it fixed the click at the end of a sample 🙂


 

2
Online

409
Users

1.4k
Topics

9.9k
Posts