getCurrentEffect().exists()



  • Is the function

    exists()
    

    broken?

    I tried on the

    Synth.getSlotFX("Effect Slot1")
    and on the
    getCurrentEffect()
    with the same log (function doesn't exist)

    Skärmavbild 2021-09-16 kl. 09.20.47.png



  • This post is deleted!


  • I just tried it myself and I'm getting the same error, so I guess we're misunderstanding how it's meant to be used... or it's broken.



  • @d-healey yes it seems to be broken
    here's a snippet

    HiseSnippet 1025.3oc6WE0aaaCDlx1rn1cqXcqXXORTrGb.5RsxZ6JvvPShicgwZRLhR65aArxmsIhDoJEUZLF1+w8So+C1NJIGI2o54psfATL+j4c2G0mN9c2QMVq7g3Xkl3z9zEQ.w4yndKjl48myERxnCHN2ldHO1.ZVlo8WDwiigIDGmlOyZvocKR5u28z84AboOTXhPdoR3COWDJLEVGu6OKBBFxm.mJBKE8C2cjuR1WEnRP9zj1iDw8OmOCNhaCqAk3biASDFk1yvMPLwo09pIK7lqdqLK9WJhEuN.rKbId3FkYdnJXhkw1+S5OWDLY7x26XBwgNtHKzLKKbW5ghIhqrWjM9hTGrBDkyGNMVG8bqI8bJQuVYz6NTOesHxT3wxsaQGIwCpob7HnLsxhkzf1f1WgQHMaGxOGFpwEWgn6i6069rG0q2V+XG7TH1vtfqYClNE7MdAJiK6mXoJismAoFF9pt2KyMK0+89..2oLvLyqCHa5kHfROWKr9IZMR6bzX7O3AsMyEwr2hBIlOpOYbICzZkFcgujwp.X6HsPZ5VdqfKEwl3tag6.FGiGDqX18YMf148.09CCZ5kkhcZhz2HTRlRdjx.GK6tUmesS6N+VG166Z5zJ8YOqzpf.PWoaasidc.6JSBeMnuOlVCRfqBDEQqpRuwloR8yjNkBTIGIEliif70E5X2JzwjbsG9uWL5.tgak141v3h.sQXoiyAvEXOiLgda5AP74FUD103uTEf0hpIIAbypEn1tR4Nv7wJUBV0tLVXVTtq0GQUauJqZq7scCo6cniEF+4Uy2FUvWLqccy27dfeNMqJnfrsnCeUca3UOpb6LpbKpmPBocQRIxWmtl8K7K.1y.InsIU20La522zYSQa7roi8M3i+TMWFGohWYi8fPwoJoMiTX7EwXGW3MmXOkKauuhqqz06d5P7krRLdbShNUtrWnJQZVQdzrVyHWspozYXESjZ8ev.y+8K89m2on4lQ2+lY5sWxQOQXT.LPdADfsCS43Wh8+lxSBLKstpH+PkTEMWIE9kU.m.FsX1LPWl6U9Bsmwf2vpvxc28DH.3kUye6tOGUgbMlmfZlKb27bw5Nu9FZFcY1JS1mFc3a9ITG9Zdk1btbSZ1kJy+lixWPbUB075P20b40MFDFYVjyhupLKNK0y0CUHmnRLB4rC4Xg6k3GjbTRnGNnwGvSFoDBvMm5zvNrHacO65rIMxIoK9C7WtSW6ZmbmtKc9+OiOhmQH2WqNyO6dzVsxMSsfmexzOEsM9Mw3ZlKI8t0HNZus6QBwIcm46aKi9NrDrZL6TCLeeMv7vZf4Q0.yiqAlenFXdxZwXujwdIFUXVKVzv3Aoejgiy.IGqBSqXI+IvvCWNO
    


  • Doesn't work with midiProcessors either. I'm guessing that the mechanism behind the exists function, which is shared by a number of scripting objects, is broken.



  • Not sure, but it might be because this is the only function that is declared inside the class and has no wrapper... ?



  • @ustk I noticed that too.



  • This post is deleted!


  • This post is deleted!

Log in to reply
 

8
Online

1.5k
Users

4.6k
Topics

42.1k
Posts