ScriptNode Envelope Follower as Global Modulator
-
Hi guys, is there a way to use the Envelope Follower as a Global Modulator? Obviously it needs an audio signal to react to, but I don't think the Global Mod Container processes audio?
HiseSnippet 1729.3oc4YjraaaDcnjGukzzllDzEjBvC8fCfifnrbbLJPs7ZhQirELccxsfwjijFXRNDjirsZQu2a8bNTfdpW5WPuk9ADf9IzOg9Gz9FNjhjVxNxp1NKUFvVyady712F2HfaQCC4AHso1sqOEoccrYWOQ6UaSXdnMWCocCbcRnfFnq.sRWeRXH0FooU7QR.ZSMFJ5yeuzJDGhmEMEDBsGmYQeBykIRg1n12vbb1fXS2k4lA6p01zh6sJ2g2A3mh3xHeh0AjVzsHRzJfQZiutMSvCLEDAMDoM1Jb6tls4G4oveOVHaeGpbgAxDtHE3M3N1RNV9czpsYN1MRj6PDboMR0BEUZgaiqyrY8fmpM9nnMzSOQV8gVg7rWwbrmwowdCfkzxvRioXoahMsBX9hzcj7y0va5AFmlDPsmkUT3hzdIdUNffmnjK4.5FAvhdGXlGTt7r5vut2W0rimkfw8z4dawEzs8l4dS+8SO0z+vz5mbqlMG3dRxDvcbnACbaokN3rN3Ldcb2mFLq9gDmNzdHBhedc53CmN0RI0YPj6soGSrsOMdcpSgw.r.nX0F7sucy0HBhznDCCvymFHXR1QaM5gfGtxDMEdMZ3ABtO3i2m8C7b31cbHh7tSxXn3M.8QNanzP4ExDcyFicRerwNc8Q4AFBLPocHY2ahavDVsGL+VX.7Kn0tr423H1O.udylTKQJyNFdimclgmW3rxjJV4ywOxguOwIUAB9M.WQUgreQ71581WuGBFmQ90+bXyu5Oz4W0JdQkvZrKqbnWo922pOSS3EZD44nnjV+9UeVbEf08Nj5.of5wjQ79ci2UOY6TgHuWUctG2uM2iYk0QZGpHf0pEMHWAclO2gDbphdRUlYwmmL53KHmtL4n2hJNhGbPjhK96HsIjpkqiWKzOAzdzfPYVKsIvkKA+fL6DBEDr21yj4PiBsjjZYGG9Qqxc8YwY4.4OBVCtS2DUmVAEFTv8wyi5r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1KOpkJpKJvYSaI+SrsS0kRPSfUx16yy3iPuAmwGtn2JlwOiepxMHmm4zXW3ukjvOG9gEx4GlybqkQlm3xQlSbc66pWtifChi5erw6NOtgbpnie2oG1OACSqVQOpQV827cxdUznzUAMbIVA7mao5uT5kNYDDPt8h9OoOEttbstA5vrEkbgApetkkra86C5mAelJivYlaDNS0Q3LyOBm4AivYVXDNyCOyyHeKi3TNR+e.Pi0U0A0TusSTn.5eAVPO6EC
-
Depending on what you are going for, you could probably get away with using a global cable hooked up to an add node, it's how I'm doing it here and it seems to work well enough, just don't expect any audio-rate, FM style modulation.
HiseSnippet 1789.3oc4Y0raabCDdWIQaKmzeRcR+Co.6gdvEHQPqrcbLJPsi+KwnU1BVtNA8hA8tTRK7tjK1kx1pE8du0yAnEn26sdqG6CP.5aPaeC5aP5vk6pkqkrhrhrCRp7AKNbH42Lb3v4ipV.yhDFxBzzKtWGehl90Q06P4sVqE1gps05Z5uMpJNjSBLjhVsiONLjXqoqm+gBA5EKnE84eWdUrKlZQREoosOywh7UNdN7To0V4Kcbc2DaS1ywSQ64WYKKFcMlKqMfm7nxZ9XqivMIaiEpkCooOwF1NbVPcNlSB0zKrJytS8VrSnR822Iz4PWhngoVcXhjh2j4ZKPrPp1ZsbbsqkX2gZvjVK0KjW5EtIppisSW4odi2MpCizQn5OzykEd4y.OSU3UVAd8AR5JPpfDR2.U2Jvwmm1i.OWCsEE1bZfA2tJTj5po+SHiFsoVbGF0fQ2lwI6Pm8yl96lt3ze+z8zUiF8su0XTd.y0kDz2tE6hACZfyRa6cHI3NFGicaS5pHXZY8Wny2eotcBAIbBkqnHitE0guiOgddaxZqIGD7sudq0wbrvIGKCzymDvcDPPecxwPDqzkWDsNI7HNyGhY6Y+.hDX1scw7rgGhyDwc.9fL6IhcJZnCui5YlyFyTX3hYFbH8vB2afp4vsZ0e7lqO3E7ZW13M9D3ag1nQChEOErEPa9jAdbarCkojP4iQOzkcH1M0ABwM.pHxifeRb2Fc62nqBlCHe4e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QFHbM.BAjRMy93yCACpLEdCDa5KWhoP20rrvGmRk.gh74coQbSnMnSzGy4Wpro48LyvnXFzBkluRkJKVdwEm+9yaNW4kzjVSTsW8vZQq+PQtto3XJjXUuXPQnvbkMKOGnvRKc+4WZwxlwuSbcOFi2BB1S.zLnJyUZwn4ZtElybgEWnx4AsKSuz0Q6RBI7LzvjSdVxRJgIyfHw2GePClHhGfalXlair6PwdNVgk5US0TaufPnBYPvvyv8L7z6OUWwASWxoIr1V2IzGxktZa3NAYF6LRDDAo1jSSRqrAjYzFNLEM7t7EFhH9Avddkebkyvd9Wd5S+8k6g8rwy94mEwddp3ZBF5X7w4hWDkTsj5DEMHsK+GN3cPwWjT2oIMkTthG3k6caNunz9+FNi22s47eElIuhdEltUH2ly7fK4i98Hd848RDrtN80mZj+.DP.thQTgxFu5qT9pnnrqh0vCaEvNvRVKqHJcpHIfcSi9AsKhpJZaXpcr50dd.g8CrrDrAtK3e5+XpLBiYtQXLyOBiYgQXL2aDFyhivXt+.Gi3sRhS4Hh+AA01PdAqt74hhNJn8e.6q1zVA
-
Thanks, I do need it to be a global modulator within scriptnode, however, but this would work for other use cases
-
Unless I can access that global cable inside Scriptnode? @Christoph-Hart is that possible? I see a Global Send / Receive but that seems for audio only...
-
@DanH ah yes it is, much easier than I thought
-
@DanH Did you get this to work? id love to modulate a parameter in lets say reverb, with the values from the scriptnode envelope follower.
-
@FatMitchell yup - you need to place the envelope follower in a script FX in the master fx chain and, using a global cable, route it into a Global Modulator.
HiseSnippet 1789.3oc4Z0saaaCEVx1LINs6mt1tMLzAnK1Eo.cAwYccCXWDmerSMVbrQTVZuKfQhNlHRjBRzIwaX226108hArmgcWuqu.EXOBE6IXuAcGJJYI4eRbbc715b.JLO7Pxuy+GR2l9bKRP.2WSu39c8HZ52DY1kIZuYaLkoUaKM82GUGGHH9FJRaz0CGDPr0z0yusjfdwBZge9q01.6fYVjDRZZGvoVjcntTQB0lk+dpiSUrMYepaJteX4ZVb1lbGdG.O4Q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ter.... took a break from HISE.
I have a saturation, I want to modulate the Saturation parameter, so maybe when the audio comes in, it gets more distorted.
I added a "saturation Modulation" page and hooked it up to the global modulator. which works!
how can I tell it which exact parameter to modulate?
and this doesn't need to be visual (the knob moving) id rather it be functioning.
thank you endlessly for your response.
best,
Mitchell -
@DanH Nvrm it is working!!! the changes with the saturation were too subtle to notice. very noticeable on gain. can't wait to mess with this. seriously thank you.