Scriptnode / Global Mod
-
@Matt_SF thank you for a great example, but this is not what I expect regarding intensity.
If the freq is set to 1000 and the intensity is max, the the mod should modulate in the range of 20 - 1000Hz
This example doesn't do that I'm afraid -
@ulrik Then simply do this:
(Note that it is the sustain that allows to go down to 20Hz)HiseSnippet 2152.3oc6Z0zaaibFdjkG4HmjcyhjcSuUdXAZBvtFjTeQg8fc7GJqQicTi7lM.8PvDxQVDljiJIks0Vz1qEn+.Jbuz8uwdp8P+ATf9Gn+D1K8b56LCo3P8gisrcc1TqCAddmOded+9cFl1gLaZTDKDUn7dC6SQEtCtyvf3dazi3Ff1dSTgR3XZTLZ8g8IQQTGTgBEeJetBkWDI98iqtNwiDXSyHgPuj4ZSelquabF01q8Kc87ZQbn645qr5pqssMKXClGa.fihXcTeh8Aj8o6R3KaAL.hsbbiYgchI.XPEVbclyvN8XGEHW+KcibeiGkOv.0ANHI4VLOGNh4TQazy0yocp7FgPEvsyj9hRo+A3cbcbGQOSKbOwDZY6PUeTXg7vqXN3YnBOcE3MEHUPARKJgzmf6XG51ONaFNdtMd6fXZXWBn1UghbsnB+c7FLXAAwq3SNf1JDFLZCOptt9WnA+yi+ptCBricYAZrfcYwzmG7nGu7uc4xK+6VVa7o51cpywYSHyyiFN0o4V5vSaiOJXf+angeg1gDuAzQKDD+75T7r0oplbaoTqrPVv1AtwOuOMXVNBnDUE7Wey1aRhIbCQBMXc8ogwtbHTXS5gfWszrTFuIM5fXVevudBaF3svbF3Qhy6BwiaRl.zA4rabiSPja7P03pKM+pyJD+Dba2X6dSGiKLELBZpqBLlDMdW7Vc6Rsiy.3h3Vu5pIzSk8ebtTgOMjMnuf62WPfF49czPMAYiKi7h5m47haEP.go0Npm3FjvPWZ31ANziUX9eaj4chY9l.2HV.S.km3yFDjCKIytIMdPPJX99SN4GVMYhN8CoDGUwji9NT.pNhiLJmKbwSKyswbl49Vu2k49m.IAxUbobJF63522itUvgTOHSWRVfMocIC7hGQUEj6.9.86wBbsU8BeAMNzc+8og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CeJAEynkfR3nC6ZjugfaiaER+MCnA1CE2bZTOK4JZiN0tYtCd6nWxm0lLpJWghy9.tnG8BpA8IBUtP96h6JtaPzJvbmylTGq0G4kLhx9yyWyN3oa5KgMGu9hYZ8kwcYMa1TuZs5llUpZ0vpVRd2Lq1LSbnvu6CGTkjJUFMM0aZ1Tg42G2bEKQki5FV0pna1nxjvnd0FFMrLZTQudMCq5BXTD+qxZnxbk5ULZvivfZc0zqTEMi.nk.8lUNoGhVsTx6mUm9yveInSrpU0RTAUutIWGbNCnFSRp.8Hv0EMaZAsHnajnP63yXw8bC1Oi2Ssj5Yl2UmYkMwSIMV4xK0vibtfETALeSeDG.YuAyj4zQnIxoqV5nzuv5ery+42u5L7TqYUstU8Jfp5hbQkrpGykFXcF6.eh38KtR+NJ2AKeaZs7O9v6KuC2cvxWH+ZDdepDd2F+sjCohugQxy2vG2kE5q8TJbGeNtOsOfw+7r9AL5el+.FO2NFfvdgjfn9rHpg5IO1blpyIs3FSRJ2p3hWKP7TV2sVKknopZuMIH2gAiycR63p7ES92qJ+tKxuwwyirAgkLVmUsG3EQ+VWm3dFpaLiroJ4ulD5.1kbuf9UyWJozMeojadx8qUqHDJ898GN4gXHj1TSXJ0tdrkufMHFZCZGBbwdHwC+kJ6.4LsSex9nz2oLYrdZezcnANhAuE9kLoAebgjIMRmbNqOX9Ad8g6cS8gapObS8gapO7+80G9PgG9D6P1qSd+Yw+YgDT.caf3+No7a4Bi0LPGp9b.9PpsWaam7DSnouGy4XOUli8TcN1Ss4XO0mi8zXN1i0otGdUkjWTiGWADZuk7s8JHKrJBwP+Wu.emn.
-
@ulrik said in Scriptnode / Global Mod:
@Matt_SF thank you for a great example, but this is not what I expect regarding intensity.
If the freq is set to 1000 and the intensity is max, the the mod should modulate in the range of 20 - 1000Hz
This example doesn't do that I'm afraidYou're right I didn't bother to take into account the sustain parameter as @ustk said. But yes, set it to 0 to go all the way down to 20Hz.
-
-
@DanH Thanks to you too :)
and thanks to @Matt_SF & @ustk as well!
No I could not solve my wish with the intensity control, at least not inside script node, I solved it with calculations oninit callback.It would be nice if it's possible to make those calculations inside the scriptFX, and maybe it's possible but I don't know how to do it.
Maybe someone with more knowledge can point out how?Anyway, this is my solution
HiseSnippet 3217.3oc6b07aabbEeonFYKE6DGDGm1doKBZAXJRj4tjheffTSIQIGgXIyX53jboNqVNTZg2OX2co9vEAnG5g7ePQNkBTzq8T.JJPQat1asHEsGaCB5sdHWJ5w127wt6rK2kbIEUhZh4g.uyLuY989Xdu27lQoiqiN1yywUpvx2+zAXoBWA08Ta+C27PMCaocZKUXIjO1yWZiSGn44g6IUnPwaS5qvxKJQ+8E2ZCMSMacbTSRROvwPGeGCKC+nV6z5MLLM2VqG99FVBitZqczcr2zwzYHfihnxRCzzej1A38zHCaAD.hs5Y36310WC.iTgE2vo2ocOz4Xa13efgmw9lXxGJRcgIh071Nl8HHlzpzlGZX1qS.+5IIU.0Ih6Kx39qi10nmQX6QRgqQ6PNhBQ4QgEhCuhwfmhH7JK.uTfTAAHsHCROKpqtqw.+ndH34oP6X6ic6qAhcQnvFqzB+rEQa5.iv1eUKsGg21E9HjhR0JW9kkg+yK8pq.RdOe4izbk21vD5e62YK6ivlNCv65zS90joVCqd.1eq98w59kdwTF1KFedbw+XfvfkGHcSGqAN1vG.0PmjgC+t4MWl70JF1lF1X49Cs08MbrkcrIMSH20wrjd.suLL4lCwuzJ+jUVNELrpG1eceeWi8G5iKk1.HyZvj7pq79.FFGDIyGGCapYZtOXQVJFxHLAmEjgoenoFE8GYnIGrpxcO1vW+vT3Pff6ZO+YQ5zlGdjNvrXRQvw4xtXeQljXIY6Y3eZ5rVX2ikCMcz0LkszNALVHRQBDe.o2Rvhx60Uy9.LzOYTuhrZ4vNrLrCatDaT+fP9lOFi.X.irDg.xL7Rx2TtjZY3G6SXz27l.N8bLwqNvEnoTHcjNmU8PnL3kkEmuwpRBoYLZljxVXNED9643iuqcIp7ck2eE4jc0uep8wmKSrapcSbW6NNBKYOzZerqn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Ykf+NcYETyBbs8PccdI+kRmF0YflJy.MUmAZVaFno1LPS8YflFikFRTE9MbP1WAMzYK1csTXqn+PLk9ez6VYPC
Oh by the way, how can we connect an AHDSR floating tile to the scriptnode version?