Synth.getAllEffects() bug (no bug)



  • I noticed that if I make references to Effect Slots using

    Synth.getAllEffects("Effects", or something related to the IDs)
    

    it will not work.

    Making the reference doesn't through an error but trying to use the "Effect Slot" function

    setEffect()
    

    will through an error

    example here:

    HiseSnippet 830.3oc6VstaSCCE1tqFQKWDH3Avp+ZfftDtKgP.asEUAaTsNPHgPSdNmtZMG6HGmMpP7rwqDuAfcR1ZJqLsUoMIjH+Jma1e9b9NG6AFMGRS0FDtwVSR.D9pjgST1wqMlITn9cP3qSVmkZACsP0pSRXooPDBiW5MdE3F0Q4e+7kqxjLEGlpBg9nVvg2IhE1oZG7p2JjxdrHXKQbEuezq5y0p0zRclCOKQBPIL9drcgMXd2pQP3K0MRX0lgVlERc9rpNZxvw5CTE9+QQpXGI3EBQCcKTgZzZiExnAGdVSQHb8ASO4KUbxuMYcQj3H8Sy.2H2.cZDUyA3ZyBo5y.ov+Fj5okQ9E3u.ObE3Uu.d2jLjaDI1oV7X6Jj9JWwYDyk1qBqBeQ09Alrl14gx1NlsGzy3DNJhkeRPv8nONH3NOuYSWpO0R68ogRsMk9BZNMn8tf80RY2Qi.tMc4Vdis7duxJM9fh4NXTqllkBzVofsvsVzCFCJpAFAFPwEpcoGHri8gz5jVzVTsgVnrxedisa2tXC453X2Qwumo.zbk61rDueN3KsOB.tUTDmHgMg8AyNd3dnWgy3UGPxl3Me2UFko3VgVQ0pMzV38pkuSyu0rQyu2j9mlFMZt17YYiVJAybM6Y5lSJvkUYw6.l6Q2mIyfibzU9mkecoSG+hWTzq3nV0WIruOAJkmx.CmCCDUxZb+8g9cXVlmTVpy4WBXrBObvcf8cc3ETzFjNP5dVchqG+X7WWWjNJSxry1Z4mgTZvkOlgC64opTgcR0YLmg9sf41uM2S6oDt2jLPX4imOdqMG75xZm23sb500HEz5ofsNo2mt.FUU63X4xDe6la2Kt+nRmb3r.ZoSZbd3YXbN93fnAoabhcRIJtUUTrctkyGnf1TmYcy7VmYMhuhvjMxhG5tPiCtJiRAR2hSv07cXExAdYOSYHnhxE9k6qzXnWFWZL7PiWH6wYor9f+WV+WordQrGwLtQuMu3hMec7x4Zb4VU9K4Z3dRoSlFhxuryEGInc.J18Jqs4b+jq66l5M+XdvBDyCWfXdzBDyiWfXdxBDySWfXd1IFi+AtuNypiKtUyoXP27a8w3t4OyKuaB8aXYVcUH
    


  • That's because FX Slots aren't the same as Effects. See when you right-click you can get a typed reference.

    363ba234-6a47-4150-9355-e111a6e70563-image.png

    So the solution is to get all the ids, loop through them, and put the typed references into an array.

    HiseSnippet 974.3oc6VEraaaDDcojYajRaPCfOTfdgvmjAREnhSRCPPgTskUqPkcDLcSLPPfwZxQVKL4trKW5TkhdO+B4V+M5mPOmefBzS4V+CZmkjRbYrhqqPS5kxSZeyL69zruY1YrT3CIIBIwpwgyhAh0GY6MiqltyTJiSF1mXcC68nIJP5jCs8rXZRBDPrrp+0Z.qFqQx99itaSCobenDhPdjf4CiXQLUI53deKKLb.M.NjEY38c5MzWv2QDJRQ9T21kDS8OidJrOU6VMah0Gra.SIjdJpBRHVqssHXl2Twy349+HVB6jPPunCwC2nb3Ahv.Mi0njclxBCFO++cBA2kwkYg54Yg0s2iEvVfWlM9jLCNkQXlOrpcYzqiI8bu5zyxfdqkSuaZ64KYwpRKZtcc6gb7hZBEuBLoUtujZuvxdGA5AW0NhdFLPhKVDQq645dKm655t4CZ1DuFRTNCNxKTnFFj37kNYhh1mB3xQrDUqM1cxDvW4n8XCLDyHz9+jmhayDgzoEKvgwK2qMa1nvq1woISasXi0XCNBceSMCJ74ItOscBnxOrVa3whhCgCfyA4I5SctWcp3UeHjNCMOIk6qXBtifuuPAOj2Zyl+XyFM+olNuooISVpMc5RJBCA4RMqkuxKKvV7znS.4sbNmFlBKbDuGqJTre6BEScre9smgiB9PNS8vXf+1jOjhqb7We2v9TEUqnJvP+hAohoofUe3brTMWe0vtOjblRDiEqWP7gk.hfzPppZcgtYPgALGTQ.pEY7DlZlYyh2IEKWU5dS6wLk+zky2ZKguXV6cMeKZ87w1453Rxtl8fiV09LKuMn6x5yT6hb4Z14UkEODXTy2oJgpWkP0uZD5uoYWwKR2v1rrOiJeVEpbbE6l75.gHxi874uw7yu7kutaeZTLieZATus15269XPMBCNrzsesae4r2.60ceLKPM0DXfDfmCnJx3D9kt+qkMHGHRUHW2ipjre.aSreZjG93nOfhCNGB0sNrpoKxyW6pWqEqd.OHaweheEF6nWaUXrybiuWNi+IJqa+dPYc8bR7g1YOUjwg0qvgiyMXxjLDcG+QvDigY9zdKLb.6zoFVVu2..BNAGgwHBTu8ptywMCHyvHwyFiGHJq99E6yKdUuugcATR+d6outlu725dHDEKvWS8qzj8+kh+GbFQTeo3X+7Y.zZuqkgf4Vd1jrMvQpw0NcHYyEfwY611kDgSVdruutg+miOVr7Xt8JDyVqPL2YEh4tqPL2aEh4KVgXt+kFidn9uJUIhxGF.AFua1vRVV6xoXERVK.xeAHqMcZF
    


  • @d-healey Aha, ok I see, thank you 🙂


Log in to reply
 

13
Online

1.6k
Users

4.6k
Topics

42.5k
Posts