External sidechain?
-
I haven't compiled a sidechain enabled plugin yet, but the Example 2 should work.
-
@orange I seem to be struggling with this concept as well.
I have created 4 input channels I think? But getting channels 3 and 4 to the sidechain isn't working for me. I'm sure I'm doing something wrong.
HiseSnippet 2445.3oc6azzaabbcnjF8ocrbZKZ.5EBcRovQfjRVRtEnhVhR1DwxlvTRIFEMNC2cn3Tt6ND6tzRLAIHG6s1is8j+Izq8lNzi8T6wdo+Dxw1StuY1ulc4RxkTpJV.hGHz7l4My6648dCUMatF0wgaixs3Q85PQ4tCtdOK2V60hvrPUqH.3vL6XPOk3RQ61qCwwgpixka5mHVQtElAI+786rKwfXoQi.gPmvYZzmwLYtQPqU9SYFFGPzoGwLUV8Fkqpws1iav6BTyz3BnNDs1jSoOmHV1TXzSINsP4943Ra8nha1nTgROpwVzMnkZVjtdilaoWrv5E1fTZ602rIYyhjGgxM695LWtccWf1cP4lYWtdu5s3mY4c.mvbXMLnhAEQ0gS1C7AbCcAKJfh1qEyPuVfXxAA6RsHg1zdBseL9PlNKDdjvaY4D4ivPU.lap3j2zwHuhCh7RgjxoPRy3QR2GWWyl0wMZFA8rDtpkK0tIQKttzasnb+M7dbXAVtqYRZSOvFFDhvpaVnvCxCe8w+xEgOM6Zo4x3V44VOm6Reg0pe7he8hKr32rX9jS0rYpyINJatgA0N0oElG1CCwUs5Z1fZ+f7ugXzkFtPPDDWtNa1jqZdbtxB4VUsXtunC0e7vMLP9hNPeLuOEBK0UpM9.esQcClN0FwfMYN7mZwaTDIIdUmFTlQtTRj+i+pri75IQ9oWjcj2HIxaTN6H+vXHewe+YaMFHu4k4j2pOo8Xf71onpNtZEhKQ3A5q7AChNTaWlvtKWE5af3ed9iKfqPcZ6x6.Ng6wM6vsDlJ4Vx0O.h2gdfAm3xrN8HFXeJN56gUAUBcd3w+1usbuvAk+xx9DPf2+gDWa140nj1GRAGXTiSCBstvr.BuSfEykZFA83iONAzRBvqrxJRvRFcpOJG9qWLe9UBM7qpuxuH+J7ttc55txCDSU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CeH5aaV7sMK91lEeayhi0+w2uoNShlM+0ZdsJVDNXdIDPVaIKgbA7ghw4S4eDBSlN60ZZw2p9Przjh35SJhaLoH9vIEwMmTD2ZRQb6Qin3+rI+xED9lPlV012qv6b6aQ.uLuF+8+fRKEUl
-
@ccbl I think HISE is receiving from channels 3 and 4 though because I can hear that signal being output if I route a signal to those channels, which is also undesirable behaviour.
-
@ccbl It works. I inserted a kick synth that goes into 3-4 to trigger the sidechained Gate.
HiseSnippet 3258.3oc6bzzaabbcIkF8oskrSJrABPAgPNnz5JHRIKY2VTSIQoHBaYwJJK6fhljU6Njbp1cG18CYwDjfbo.8Vywla4mPu1SQG5wdnn8Xu368RN1dx8My90rKWRtj5CKEPdv1yal4Muul27duYVWwjpfsrnlRYlZ+VMwRYtApZKC6FazPlXHUtDCfEQuoFttrMVZ8VMksrvpRYxLxGxFQlIGUh+66e75xZxFJ3PPRRGPIJ3mRzI1gPqT7IDMssjUw6SzEF8xEKqPM1fpQc.pYDzhRMkUNRtN9YxrgkEIssrUCoL+DTgUeT9UNrvhEdzgqhWFWnVd7RGVaU07KtzhKKW3gKsRM4UxK+HoLisoJwlZV0FncKoLitNUsU0FzWY3t.GPrHGpgYMxKUEVYWvaQ0TYrH6eKsQChlZEewjkDfzJgBsQbEZuKZGhJI.dnvaVdG4Bmgn.LS1nj2HQHu7hj2hBjWBjTFARZTWR51npJljl1g8vnmoQkMrwl0jUhpKcGqTl+FZCJL.C6EzkOBukIzHXByuxhKd+bve7A+hofe0bLTrITibTimQsw6ZL+GL0mO0jS8ESkKdW0pkXerkxjpogMSral4gY2l37FN5GhMuetik0bvACDDAQkqnNKWEU6Jtbtv.oFkMH161D60tcIujm3BzAS3QUvPs4Zfa4oAppQTwlRDPPON5IFzCyKwIXwMJRodxEhO4+7uJ8Sdo3Sd6SS+jWN9jWtX5m7ChL4S+6Oc09XxqbVV4UaSZ2GS9gInpdd4Rx1xrccdJevfnI1zlvr0xTBeL3yycO3jnRXqiroMgMdaP0a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NEEQdbzynDK7UlpHK0uUQVXFmOUQ9cKlPUjmnX5qhL+2aipHiNiUQd2iwlGSvup6FtuUpr7EgyqyZ8ENe9eQqI8oQ2aG1O.1f6hjeE2WjUWPzxusXJe+hOkXfkMu3BqLSJ0W2SLrxb+v3Cvcjqae.tCCu3G1gWze2t8U7aPWWVwj9IJtkpl4pYBNDPhYvelySh1g0NWB+ujmNbn0mnnDEUsMwBC5DWZPm3xC5DevfNwUFzIt5fNwG16Ixhov6Isx1gAAeUYS2GGdF23tb+3T9+vkfQPv
-
@orange Is that from within HISE itself? When I compiled the plugin and tested in Reaper I didn't get the behavior I expected.
The plugin only shows up with 2 inputs. When it should have four like the below example. And when I set the plugin to side chain mode it gates all the time.
Is there some other setting or flags I need do to make this work as an FX plugin?
-
There also seems to be some delay and volume difference between left and right channels?
-
@ccbl Also I can see my sidechain meter (bottom) doesn't seem to work as intended, it appears to just show the input signal.
-
@ccbl said in External sidechain?:
@orange Is that from within HISE itself? When I compiled the plugin and tested in Reaper I didn't get the behavior I expected.
The plugin only shows up with 2 inputs. When it should have four like the below example. And when I set the plugin to side chain mode it gates all the time.
Is there some other setting or flags I need do to make this work as an FX plugin?
Have you set
HISE_NUM_FX_PLUGIN_CHANNELS=4
flag?Unless you specify it with a flag, you will always get a plugin with 2 channel inputs and outputs. With this flag, it has 4 inputs.
-
@ccbl said in External sidechain?:
There also seems to be some delay and volume difference between left and right channels?
Hmm that shouldn't happen with the standard gate.
Below is the sidechain example 2 in the snippet browser, you can try it. In this example, the sidechain has stated in the comments that there is a latency in the signal, and to prevent this, it swaps 3-4 with 1-2 at the entrance. After processing the signal, it returns it to its original state.
-
@ccbl said in External sidechain?:
@ccbl Also I can see my sidechain meter (bottom) doesn't seem to work as intended, it appears to just show the input signal.
Again, you can try scriptnode for this too
-
@orange Hmm I haven't where do you set flags? In the project settings?
-
@ccbl
Under the Settings > Extra Definitions
-
@orange OK sweet, I'll try some tweaks and report back.
-
@ccbl You can test with selecting "Mono Channel Support" in the settings menu.
I am not sure what will happen if you run the plugin on a mono channel as side chain activated. Especially in Pro Tools & Logic Pro.