Sync Gain "shaper"
-
I'm Working on this Fx where through on a sync knob, the gain will reduce based on the intensity of the reduced gain. I tried using the lfo to give that Effect and it works, the volume goes up and down. What is not working is the intensity. I want to be able to set the decibel amount by which the gain needs to be reduced on the 1/n.
There's already an intensity knob attached to the gain knob, but when used it drops down the volume of the whole sound rather than depending on the sync value.
Hope it's clear.
I'm attaching the snippet for more reference and clarity.Thanks
HiseSnippet 1688.3oc2Y07aaaCEmJNLMwoM8qfggcRHXGRwZCrSS69nXqN0It0nIMFQosaXGJXjnsIhDoFEUR8JJPOta8elcdXG2gcX.6ej9Wv1dTR1h1wMw0MEKo9fg4i7Q9688izMjBWZTjPhrlYmNgTj04wNc3p1UaSXbT80PVWBuSapMiGojwATtBcuNgjnHpGxxpv80qxZlIQIedycuGwmvco4jPnmHXtzMXALUN0FUdHy2uFwitCKvX0qTotqfWU3KhADU.WBERb2izh9HhdYSfQVSstGSIjNJhhFgrl7dBuNNsEGvSW+SXQrc8o5AkQNvFkRtlv2SiX8uQUay78ZzUxiPHKbib8PgT8v73MYdrdzM0G5Iry4vTeXMwQAuxiI7rLf2jov6xXGWIKTkOiFaWMiZN5J2G7RmEMweZgqJ3JvZtT.YOZMILnNLV1j3RWbkRktt8x2pz0tSwhf4HRYuOQZ+PtX2x1eqcWFaQUUEAgBNLXwERlcAfibFbXAg9TsGhlsDuJMSq2rI0E3HcZ6j40LVjw8YbpcyXtqhI31BdxlpOOoveQ2tG10gc2Oldshun3LFmwRQT0pJkjsarhtHHA2HcY2o3KgM+HQsl0rioJw2eWvmaw9OcXWLv0iDJ5V7ESPPwWVzdvoZ1bnyksW9T4PmVGJHOJFWjGGrKUZJ+5EB9D86zM0n4z4lpRLVnfWmyTaERyFm6VVdHtknLcJ3fVHCgvuTItmyk4H53y7nRDC1jygSTnnDvalf.MxLu76Cy2bPlmtB5w0WinH5HrLYAjuPpTwzpQq0n6CotRi2lAuFMZOkHDz18bf.U8wJtO2L6VGyAJ5ygcXVrNviGwTcPADiU+CUP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C.A1rhex10ivuKq3.gFCjy8PMJrRk0cEe35R.OhNJWvrKgS4N0y0EqoVjS2f873D2hyB50KhybXOSnXmCmEKcVP0puPBzr0Ym1uuBNoYvyN.9R3FD9o.3tsHV+hjaRfZS5mw8QwANhXoKEfJmS80O2f0D59lRGWRON8EQ3dICzOva1jk0isxlrb2I+n4LBHtRwybS+SHzUqlNgBna4I+kkyf2TO1t2+6AFWZoR52kl8LWW80ttAXCFNOKOF7bywfmUFCdt0XvysGCd9xwfmu5H4Q+nTqFC86mFiADZrdZm9V8twfUAz+A.RNqTD
-
@Sawer Before the intensity, have you tried compiled plugin on a DAW?
The last time I tried to do the same thing for a "Side-Chain envelope", there was a big very short tight attack sound when the playhead starts. It does that only at the beginning when the playhead starts and it didn't sound useful that time.
I am not in the studio at the moment, but when I am back, I can advice for the intensity.
-
@orange Hello, no. I haven't tried since the fx is working on an uncompleted sampler.
Anyway, sounds interesting. Regarding the attack I've also set a adsr submodule to the Simple gain Fx.
Perhaps that could be a tool for solving the problem? don't know.
Thanks for replying will be waiting when you get the chance to revisit my snippet. -
@Sawer You can't use the
setAttribute
for the modulator intensity. For that, you need to usesetIntensity
Also, to show the value as a percentage, the knob value is set to NormalizedPercentage. Because the modulator intensity range is from 0 to 1.
const var Knob1 = Content.getComponent("Knob1"); const var SimpleGain1 = Synth.getEffect("Simple Gain1"); const var LFOModulator1 = Synth.getModulator("LFO Modulator1"); const var AHDSREnvelope1 = Synth.getModulator("AHDSR Envelope1"); inline function onKnob1Control(component, value) { LFOModulator1.setIntensity(value); AHDSREnvelope1.setIntensity(value); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control);
HiseSnippet 1712.3oc2Y0sSbbCE1ytXBrjP9CEU0qFgZknpIHVBI8mn1rjEHYUfvJFRRi5EQlY7tqEyXO0iGBaihTtr20Wo9HTo9BzGg7FPOdlY2wCrKPnDkMYuHJ9Xer+NGe94yCMkBWZTjPhrlb6tgTj0EwNc4pN06PXbTiUPVWAucGpMiGojwATt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LbS8ZZv8n6CydqpICAND9hW8bgb2HfUBElnEwOhV4MnWw7TcxsMVsNTV6N47c9q10PGscNPjnmy2jcgt4X1D5aXyV44IkFWpmaTNNsP7p3lLkamAiwRC.iPorODXLin1kvorKxA3X309kOLrxLO9oSO9ovN.8gDxFIG9MRFa+bxd.OGJmJSStFNo4+9zRZN7TSZdSWEb7aKI7nPQTgM1gFv1FxkiLE9zHpNaeK8soo75BhbfS8t6uFXjCTGGhJVlDVrbfHlqJDFT93HuW8LRderQNx6eBjrW38ES1Cio7y6UFLAiWC3XzhD6qxarZhxMDbQXGAm4ZdQuEUIYsaSklXefFTVW49Rlo1VTeJwLn8qpsNDrQjajzL7L4Kp9d+VqAde8EYjHr0If1e5Vjt7m0EoKbcNQ+upQ+Wllb7SiMeK5wTdF3MP8IEbTOuX69WTa.Eva.YKRUSgOQdX2b4yqv1wN0wBZS5iS7pUoi1xDqYdlU.7PbPOwfzbVoFOYR2SrQA1351usfGrj8No9105z1vAYJImZsgPm.gP0IgDqYm1YpstPDtJm.ltm45a1ApXAupFdsdg9mwQJQPOrj78qb.Z4oDQ+U7cWZd3WquU+u+Pc3et8lmOiQmekFKcJiwtdxMY+qL8c56eT1XmtnrimO.58Bw8imFQP7kSQ7EReOTV56geY64WCXDJsiV8X4dzhE8bIcOhzC2stmj0o.zLE+HvfM6fmrc4uGRVyARMNTc1iz3eoZq5J9v00GeJCTtjYW+QvV8S2Ceo2Bid.7h3jq+QU+2kwYAiirNvowY4FiptP8iD.RRi1ThuFNg31nMHuBtI4iDUMzVhX8GtaCBz6P+EOeRbfiHV5RA3w4Te8Wt2pjlWS53EziS+nBbujAG.+xlrpdrU1jU6M4mMmQ.wUJdoa524W2MYhDIfukm7mpbR7F5w18+SKfwKL+B5OeK6ktt5m+bKfJvf0YwyfN29LnyRmActyYPm6dFz46NC578GqN5O7yxw.e7z7JPPyUSYha0mQuUYz+YM42f.
-
@orange Thanks man.
Learned something new today! thanks so much man! really appreciate -