@ToharShefiRafeld I am also new to HISE :) I recently saw a discussion on this topic, now I can't find it. Maybe this example will serve as a starting point for you?
HiseSnippet 2323.3oc0XsDabjTFtG6oRxLraztYyJsHtTxvgInryNOsGCZkm3WfIw1i7Xh18TT4tKOSG2SWs5tFaOaTPaRVQVDKhCb.NfDHwQDBSz57biWqbjKzyEzJj3.2Awd.NC+UUcOS21icbLIQhXono9qG+e02+ypq4xzoddLWsDoVtiCUKwqfp2wl2bplDSas4lVKwoQyS73TWrRzjcbHddTCsDIF96HDjHURM4+9xIljXQr0o8EoocYloN8RlsL48kVq5EMsrlkXPW1rUjUWp5b5L6oXVr1.dFFkSygnuFoAcAhXYCgzRbhYLL4L25bBm5okH4jLiN0ax1vVs9Ka5YthEULHuVc3fThmkYYHPrPp1TMMsLpEdu8zzRfp0mEFVwBmEMuogYO48YiWSNAt+NhxGIFJN7FNF7xGEd4h.uA.oDQfTREjdcTccWSGd+YD34qflyFLNqR.ZOJTTqUaH+jnoXvJr4YaQViNqKLn2NxLZtbmGC+2491oS+NuC1+W3eO+63+H+s6d6teBt6Mf+9wvvG18VX+G6uE1+9fja5uS2aCCuu+Cw9+gt2p6GAq+CEytiXNPDLv+t9aKVS2eJ1+NvIAK4l92GOc8ZoAarGGuNwEa3feWrzcKaCJeZSOGKRmIau5pT25fO..vQT2C7ruW9QBA4uBzwi.0da3zuI.S+OWp+6.P8A3m7agKviAAerDgO3IOBGbtqHO2HZugKncCm8o5L8niei71tEbR6.mJnM+sw9eJPH22+wBJI5kOetBkvYfE9PA772AWnH1+y5diyINoLc+IBpAKlr6GBqeawg.+5VBdAnGLba1JfaEb3CvRE+.+OKjaE2FfSOW5FtY8n7kLsanfK3O3Pc4lTuLWKMFOhR5kn1M3MG4aIw04ExWncKvM11lZ4IDm95GDetey9ryM6hmWXD2At8B7bW.r+HA8hAGFXEvdCr1Q3WEgCbLfXfiWhRLBHXglirvKZyVIOrtPGUXwSwZ4vrgAYFQNqz32eGbX0yX2vzllU2kBAahDItK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