change Simple Envelope release value
-
@d-healey I mean the ms. default it goes from 0 to 20000 and I want it to like 50000
-
@treynterrio You want it to last 50 seconds? Why?
-
@d-healey I have activated the loop mode on my audio loop player and when a melody is played, the modulations and effects should continue to run as a loop
-
@treynterrio Ah right I see. This is actually something that HISE lacks, a looping envelope. However it can be achieved using scriptnode. I haven't tried it but there was a brief discussion about the topic and Christoph posted a suggestion - https://forum.hise.audio/topic/3735/flexible-envelope-facsimile/10?_=1711366913447
-
@d-healey thanks I'll look at it.
-
@d-healey I've set the value of the slider to 0- 50.000 and it works without using script node.
-
@treynterrio But what happens if you hold the loop for more than 50 seconds?
-
@d-healey when I hold the loop it loops until I release it and then it takes 50 to loop out
-
@treynterrio Ah I get it.
-
@treynterrio I had to go into HISE's source code to change this some time ago. Look up SimpleEnvelope.cpp or AhdsrEnvelope.cpp. There you can change the max values of the parameters. I believe you also have to add a preprocessor for it to work HISE_SCRIPT_SERVER_TIMEOUT=yourMaxTimeHere or else it kinda cuts off. Finally rebuild hise.
PD: play with HISE's source code at your own peril.