Routing Matrix
-
I have 6 channels set up in this project with 6 Samplers. When I switch presets or I guess when the samplemap changes, The routing defaults back to 1-2 and removes the routing down the chain. How can I fix this?
-
-
@Christoph-Hart Thank you!. Would have never figured that.
I'm only getting this error:
Interface:! Line 20, column 33: Found identifier when expecting ','
-
That's just something in your code. You're missing a comma somewhere on or before Line 20.
-
@Lunacy-Audio yea I tried throwing commas around where I thought they should go but I'm getting the error everywhere. Heres a snippet if you could try it for yourself.
HiseSnippet 1686.3oc6Z0riSbDDtG6cV1eXQ.hCbIRiP4vhDYk89CDITjM6ejUrFrrWfrmP8NSa6VLd5I8zFvDk64AHWHmxiPtxs8ZNyK.R4D23MHo5tG6o8rCdMN6RXI1mlpptlt5pp9q5t7TkybIQQLNxZ185FRPVm2td2.QqMZgoAnc1DYcA6J3HAg6nYsd2PbTDwCYYk+tRFVyNER868kVG6iCbIIrPnGwntjcosohDtUKeOpu+1XOxdz1Fid0x63xB1f4y5.1Sd6BnPr6SwMI2GKGVNaj0za4QELdcAVPhPVSsNyqa8VrmGnG+inQzC7IRhhn5vKRydalumzhkOi1nE02qZu0cDBYYWMwKjW6EthcEpGsO+DuwEUBbRzvzeXkaXlWwi27Jlk4YYXdSoMuKYW2kSCEIRj11716D.ApFXHDXZV5whxspk8FLXDAhkZieJYaNPzWiEuYgB2vYsBEt9sWXtElCBDQBmmg4N0wsC8I7hNemiJyXolDgxHUTKdsdxulVwXxkhHhGFQjdBpaErfSewhGvX9NQsXc78RI552tQm.WAkE3vBtOSPdPvhWeteZtYm6mmyIsnFMxTlbowY9vbmoXYpFeXJtXPm1GP32.Vz9cH8GH3yGLnN+nETc0dZiAxB1IfJdPHIl1Lr2aU2SZAT+EqIqj0nIW0RKigkv5nYUn3LAH+JW7vggJTYWWHN6ptO0ivQTvFOm88BXGTDo7MI6X2+PzHq7xYn7C2YSr.KywiMGvDCIbAU5ns1j7L.7PmwOq8ljnmJXgJ6scHKPZ7Vm+Xs3W.6us1ClttxG9U3gvdtgc7jvc0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Kn6HDvlSySBWi3SvQFau+5x6RCHX9fa5+n7EEGcewvhWW0VatNR.OmuL5jX9u36jXlg7bivA3GnE9e3Bl6e3o742G+D6ImYexY1mbl8Oy6pzGB9w7eXaB5yDzmInOS5XvIeGCFVX3Bw8KvA7pbwm44Lm2VcCWGYCINSkuL9c6d7qV8Qlu31y7A+Y7ypuuFq7j.4E2UeRB9F+235uwi3umib1ex8Lng4YrFlmAMLOi0Q7Lswtb1Sb0eqRR+yLJNfmIP8sENqcEIsS+uvIa6BKUP9wsPehqq75NeCjIksNKOF5rxXnypigNqMF5bywPmaMF57sCUGYyftSGAqstxBvn5V5jYqs5mLmG8OPXpSsO
-
@D-Williams23 So
bool shouldUseStaticMatrix
means you need to pass a boolean into the function -true
orfalse
(you can also use1
or0
respectively). Just change that phrase to whichever value you need.There's also another thing to note here: you have to call the
asSampler()
function on the sampler in order to change this setting for the sampler itself. This works:HiseSnippet 1661.3oc6Z07aSbDEeV6LPhgf.DG3RkVg5gDIZjc9.pDpxl7EMhXvxN.kSnI6N1dDq2Y6riALUUpG6+Bbq+Izq8Vt1y7O.R8D23+f14i8iY2rXLtADo04jeu27188wu48l4ksEi5fCCoLf0BGLJ.CrNOryHed+s5iH9f81FXcAXSTHGyr0r1bT.JLD6BrrJeGICqElCn96c02D4g7cvor.fGRIN38ICH7TtsZbWhm2tHW7AjAFqd8F64P82h5QGJrmxvpf.jySQ8v2CIWVIHv5L63R3TVGNhiCAVysI0cTm9zm6qW+CIgjC8vRhZfNhGjl8tTOWoEK4B1pOwysUreGB.VvVoQgx5nvUfMItjD9oQiKpDXmpgY7vpz3LuZllW0I27rLLu4zl2kfcbXj.dpDoscN3d9hDUWjHEXZV50BJsjEbKpXE97UFfdJdWlfHQiktQ0pW2dipUW9VKVYwJhDQH29YHlcGzf.OLql82YqPFqzCyUFohZoqEK+ZZEiIWAEF8ykVdkPL+AgXYXg3zDwYjWrTskuU2g9NbB02l5eOJGee+kVtxOUYgJ+bE67h51sPYR2gQ8T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U3NpmUnonVCY8jwpTNpaVDlkm.OYhjjMmxMbQSKP8Vpd.RgiKAAJ5Z4nWMG8Z4nWOG8F4nuQN5alRqCnMQARjgbD14Fs3YmrNEhGfX2M1yXkaR5k7v0bL2XlDlUlhwLxKnmyY9hd.3e9FjT4Iyb+.ynegXaTe3jcDGZviJ3D2ErKZnGOla1RDMo9zf9TehS1MABPcudXlosWnCcaNWrGz7fsswdXTnwt3utw9DeLhkcu8GUrn1jGKFW95pPs4ZKqqY+eiA.V9z1..mdHeoI373Yl196uW3iOZ1wwmcb7YGGe1fgNYGGf4+LrYUelU8YV0mYCC3jeX.iKMbgnQAXKhpL9W3XlyCUWd0VNqgSU3koe30Se2pOR7hSr4KhmQ+V8IwXUF6Kuft5qGvy3eis9ywH5SunD7ydjALtHi03hLfwEYrNVjY.xgQehi9yKRFelWwQDY7Ue1eK.aJosS9njfvpqTU9cnPdhii7JNei.IUrNqNE5r1Tny5SgNaLE5bioPmaNE57siUG4.ft8PNcftyhfQqczfYqcR.ykA+CHt101K
-
@Lunacy-Audio
Wow, I guess I should go back to @d-healey's video of scripting 101 in Hise all over again haha. Thank you that fixed it now project complete.