Experimental stuff...



  • So I've been doing a few experiments (as usual) this time to see if I can replicate the granular engine I built in Kontakt, using HISE.

    So the basics are: run a timer (fairly quickly - every 50-100 milliseconds) and use it to move the sample start modulator (constant) along in increments, and also to trigger short notes (grains) of say 2x the timer frequency....

    So this works, but its got a problem. I've used a simple envelope to add in a small amount of attack and release to "smooth" the grains a bit - but even then I'm getting this rhythmic stuttering in the playback - its not the envelope and its not the timing - both of which I've fiddled with a fair bit.

    I think it shouldn't do this - Kontakt doesn't anyway - it should play overlapping notes nicely (well without this stutter thing...)

    I'll include the snippet here so you can see whats going on in the code - but I can send the sample map and sample if you like -

    Clearly I'm missing something but what?

    HiseSnippet 2221.3oc2Z0rbiabDFPTvVjwxk+IG7gb.kpb.LqVV.jfffQVwbkD0ZEqeXQpH6XWasEVfgjSVPLr.FJuJaopxqgeK7wbbedRt32fjdF.PLjhZMWYAlHyCqwzyzyz8W+MS2yH2Ij3hhhHgRxEO+pwHI4OPo2UAzg6OzAGHczARxelxfPmfI9Ngse0XTHdDJf97.hgzdWM1IJB4IIKW3orQKWbcI9ue5K1yw2IvEkIRR5BB1EcLdDllIsSquB66eniG5bXdyja15HWRv9DexDvxJnnKM1w8kNCPm5vF1ZJRxuWaOLkD1i5PQQRxquGw6pdCIeeP73u.GgegOh0vPpGLQwhOj36wrXlTo8Gh885jh.QRRxJcxviBw3wuU4DrGdp7Lb4i3cnlogHdHu1ay7Ltilmrf4sdr48wJ8bCwioY8vrseixQATTXeGHDHZVwiUR9MJ6SfADPqLx4knCCgFSUPyRWea0555k2o+j.WJlDnRBNkPQmEnUtzqKUrz0kTmuq98WXerkIj36iBWX2rnd3aSQsfIidAJba0Kc7mflNPv8mEeUVN70M1qEFHI3n.L8rwnfaC0kRfJ3q+xQG3PcXAhDYv3fsDTLyDjO.cIvviCKEUN.E8RJYLvwuQLCXNDOXCEcV5DaOTRG.FLSbiEbBhvzqD2i8NvwzWZN1xZterRGL0c3hs20Vf8BnVdauI6X2Toc+9HWZlwttxg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Ph+GBiGCqnKMB6getqKKx8XCIoEqS06fN0tC5XdGzo9cPGq6fNMtC5X+V0g8++GOYBkLJ90KAAcZG+VLxS40xEj9uezHkQ.
    


  • Send sample/sample map please



  • @Lindon ...aaaaand colour me a member of the post-it-and-immediately-find-the-answer-club:

    Sampler settings retrigger - do nothing



  • @Lindon ... hmm,
    just came back to this and now the Sampler Retrigger = "do nothing" fix no longer works - has something changed in here recently?



  • @Lindon Hey Lindon! Did you successfully advance this idea any further?


Log in to reply
 

11
Online

1.2k
Users

3.9k
Topics

34.5k
Posts