Audio loop player status



  • Is there a was that I can return the status of the AudioLoopPlayer? I'd like a script to know if there is an audio file loaded or not.



  • If you can live with the edge case that there is a sample with zero length loaded, use the getSampleLength() attribute:

    HiseSnippet 1005.3oc4WssiiSDDscRLhjkAwByC7XqHdHizxHG1Kf.MZmaInHlY1nICq3sU8ZWIo0ztaq1sCDg3SfeG9N3Wf+.9CfpsiiclwJj0bSBxStqa9TUW0obFqU9PbrRSbZeyxHf37NtSVJMyOaNiKIiNm37ttWxhMfllI5zkQr3XHf33z7KsBbZ2hj96We9oLAS5CEhHjWp39vE7PtoP53i+JtPLjE.2vCKY8SNdjuRdlRnRP7zz0iDw7ukMCthYMqgKw4sFDvMJ8DCy.wDmVmpBVNYt5akY1+RdL+0BvdnOYBFnLwCUh.KhsOSNaNWDLNOuiIDG2wEUglYUg8cujGvWKunZ7doJnEdTtd3zXavqeMgmSI30JCdOzchulGYJzXw1CbGIwKpoL7JnLrxrkz3GcbOSgVHMGFxtEFpwCq8n2y77dD8oddG7E60YuN3EQrgtfoomjDvUWnTQiErkftO8HZZGxgy.SptIrvHArFJ85lJkZcgtxmt1fpgYTlugu.vPb2nZiVVft.jyLy6c.8nindzmS6dkxLmKmQEJriInK8yocyrLWRJfwLKVIfCizbooW16w9VmlHwmURpRhABdgr2Ac99Ns67Ccn2U0zoUpyVyzJg.zUp11Cq2li8jIguFzOBqlhDXsg3k4lcKOX25V7ytBKYnRNRxMuHBVctnexpKKqy05QVmrkEUjikkllZUXVgn62tRV0hgO80iNmYX1N3UxP6h.sgayVmygEH0PV+ba2yg3aMpHjb3dM63HmJHQvLaNGZIeVo.K2azvaapkwbyxxjSuACmdUNb1uprcGg6CcGyM9yqFuMp.uXU6ua7thpaO2ASmB9lBv1xc32TWds5AkOHGJqoEfLJs8cuOYxVVA8y65JnncdEDx04iWaP4Voz6xaz3xIjWp7qxByARFVKBJK9ZkxXG5JuBLiBCqnZCF9MrFV.53MivPtnXKXnMkccrxCYem8we4mbHB7cmFtbchTvDjezo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