Sidechain question
-
Hi all,
I've been learning HISE for the past few weeks now and as a practice project I'm trying to make a simple reverb plugin using faust code. With the help of the forums and the great documentation I was able to get it all to work so now I'm trying to add some more functionality.
I'm looking to add a control that lets the reverb duck the original signal by sidechaining it but I can't seem to figure out how to do it and the more I search for it the more confused I get.
I tried putting dynamics.comp at the end of the wet signal but I have no idea how to route the original signal to the sidechain.Here is a picture of the reverb:
And here is a snippet of the project:
HiseSnippet 2550.3oc6Ys0aabbEdojWYKZmlDjh77.8jD.E8RZpa0vHxVWpEhkipohSKJbMFt6PwoZ4Na2YVKQWTf7X+Kj2LP+ijm6+f9VJP6S8k9On8blYuLKEkEESrdJzFTbl4Lmy249ryxNWwhBXAuVFwiiYJGmZyeThvmIkhDmZKd7nXlSs641cTjZvNCn7HmC10o1cceCKoGINL8DmmLJlJkr.mZ0l+WiDTawa4n+7e+hmPCoQ9rxobbdof6ydFeHWUN6Qa+k7vv8oAri4Csnty1G3Kh1QDJRAvLuqmSL0+T5IrmSQxly0o1B6EvUhjtJphIcpcqmHBF0cf3rHC8ujK48BY3fVNcAFYldeQX.hXbVmcFvCCJTZIXBtkkIXdiI3W5dHOfWLeoo3SzKPJ2gs8n1bUg27UfWKa34YAuI.oZVP5VFH8otc8S3wpxULtlChTrj9TvraCECsN09d2cD.AQplComx1OAFTrgkW2yqAA9ZkG1OMxWwEQDQzyEJ1WEs7J0+y0Wr9eoNY7k52ehqghIQDFxRl3xnmN48swkiRG1ikzf7FZXJqfPP8qZScubapsK22n0VDJhNHhq9pXVzkEH3jYp.6uaFp.RUZq+uHy52MjGvRb3fQ91teYjnWKGMfyhhe228c+iuvYp17tLe5nJad6+4a+WS4lQI2txl+g+V7+dp17cc2k2uepDr9UXv29e9M+v0P5clvl+5C1kpnX3alkDrtwrDEGcb01k8FnVfIXdQP8kmpDwZS8vXQDZ2qc6qzXedY4h+v1iJFrc51w4dxC.xq69BFVyZ+ygZHIP4CHjGm+Nt6lL5afBeJ14JMLRFcebriEJV3J8Z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vm0qfaUcqfZk+heZR9ZoNiyWLrGOxjEpyoAZdMF7hIUvARIT8UoiLBTgD.Cfq2J5.BUS8UoIr53FMR2B2EO94RY4OiiZMnySVFkAbHs+oucFAuVZyD30Z8XXu34WqheuwM6CSCU73PN31Kr8UKRUoTmEFvDhdznf53Orjd1MDrTo0ZL6Fz+.nGl5gjeT..4iF.+3zCrpmgO5eYoIO88qIfADTc+TErm087dX03A7Atf9.dd5HBpBJsy8GnkHzWUJEuAyzxRhxsmTrvRlZoSrsJ+J78SSjZPZj4Z.y0lvpRUGGdMjKJOTtE1gwDb85Yu+OPjvys+GiwIWFZ5zPWmugtLbCRY5eCRQFUihrxFn90.EVCsjziA8vLB9AFY337+w6eX2R
Is what I'm trying to do possible? I'm really new to all this and not a programmer so this might be a dumb question.
Any help would be greatly appreciated.
-
@Hypanova you're almost there. You need an additional chain in the split node that will house the compressor, then clear the signal and send the modulation output to a gain after the reverb:
HiseSnippet 1823.3oc2Y07aaTDEeV6L46RonVUDhC6ADJQpJJNosTfCw4y1HpSrhCosRHElr6X6QY2YVs63jXPHwQtAWyEn+ITINwsH9K.AG4B+AvgJg3Jva1YW6cscRWaRSJ3HE44MuYmeuue6yk8EVzf.gOxXrsa5QQFShqzjKqubcBiiVeEjwqgKQBjTeSMokZ5QBBn1HCi72WQvXrgPged9BKQbHbKZaRHzNBlE8gLWlrM0xE+HliyZDa51L2Dbe6hqaI3KKbDM.7jGOKxiXsOoFcChhsbXjwvqZyjB+JRhjF.7rjvtYk5hC4Z92gEv1ygpVT.UAdPZxnkqybrKGKqAHjAtbaIOuVxuNtDyl0hdaMvqGtgY6SjTGXj6rfTg9.RFIfzPZHcMbEKelmr8NJ7LAdcNXPpR.UcRnn4EYbBdYAv.WNiKYe5Z9vhVGXp6N6r2xD92zeX0FbKISvME7MDR5l7old7Oe7wF+KF2ryspVsm6otFegiC0umaqrt9m0Amh2vcOp+sLOf3zf1hQP7SqSGNa5TKsTmfQAecNStoGMZ8ZBGaktR88ts.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Ei3.MIZVm5SOS6U9W91K38TfdOgV35zh8aKftH7VdDyFzoWF28v3Pd69pSUfsVWtlS.tl9zYp0GNk2I9kongwrpiZN0gLYcShIiCNRPlRSuXI1zmvqQmNydFYrr2SxVYuSp8raTTK62umoztHJyDbULKtLCje0UHj06gO5Y.ld3z7jS5QxdT+oTlDp4EPkYJGW1V.V4DnNJjrg09Jw872wu0Qm9S95e7Om52WHYKcmUGdg8RlpCuTsEg5THFAWwiBlky+VORbzu7aO934K1oHjOyhPqdoPY9Hsa5Ak4dgS5AiVRH12kD9Rr+qGmzMzaNA9QjCngymM7ELuQ35pBeWy6SgJnpg3T3LlP6Ok0Iz5k4IztokDfv1Plr.OQ.sPxmbG6MWx8VgJavSytlTJtTh2Zf3kfuQKFSbtjDKS3odXv5TOoRpoVzN2+pbxdNzJTPZr2LvBDVRGAPka3DPCKZUH4AaSdtjje.w2FrKVolHV9zCeYnrM7kzCGLA+8XVUCeILE6ymILdINDzTS3arXLVgod+0UghzNPnYHFeCHVrJogiLlZ5XqRBtHdHSss5aQk9rZ0noaCoWBTTJoVTtdw3LNsH8NEeHzYLwuTXmJCjtn++QG5o85MixfZpRHX9e2gWm++0CuN6QeP9vWssh2DC4kmyLzTZd4XKuHl48Ewc3Rr7E6Zo+oBTA8iFRAjad3Or5X3Rp0lEPGzYGbtPIicsrR+n55fyMnGb9A8f2dPO3cFzCd2A8fu2fdv68hOnphdzaFohMf1bJupdDpF5NbBCSP+C7DerUK
-
@Christoph-Hart Thank you so much!
It's exactly what I was looking for. I'm starting to make sense of it now.