HISE Crashes using "AudioFile linkTo"
-
Hello there.
Hise crashes when linking two buffers of the ScriptNode using using "AudioFile.linkTo". This also happens when trying to link various external files of the same buffer.
HiseSnippet 1257.3oc6Xs0SibCE1S.Cax1J0Up66Q6SAI1nLY4pVUUfPRaTKPDCkt8IjYFGhUlwdpGO.oU889ys+CZ8wdRlYXADjt6JdffDZN9bwe9b4abx.ovmljHjHmpmLIlhb9Jr2DtZTmQDFG0eejSMb2qIQwgTWzdShIIIz.jiyB+.n2o5hHym+462iDR39z7kPnSELe5OyhXp7UGryOwBC6QBnmvhJX8Z6z2Wv6HBEoZrr.tEJl3OlbA8PBXVELxYotALkP5oHJZBxYw8DAS7FIthas+TVB67PJH3h7zAxtbOQX.fXXUTmQrvfASOyIHcTFjmAVvlA9V7Ar.1r0yyDeiQQ8bOJlObpTFdKTBdtEgWqBv6VfjSAHsnERuB64KYwpbM.ddItOWQkCI5zdQnXsEU42cvcDZK3plQjwzdRsvLOZrQqVqVW+uUdesZ5Tehp9kDY8ySG5V+6pa5AZdAUsaZ.S3Yp+y17FuwtC068A22rxLq5wBoMfvUJZseDQq8MilK.NHHMCY7wmHZ.vak2OLk6qXBdcA+PghdDuwJ09yZUq8W0peSUCGdq5f7hTDFRk2pZn2TdeN1fmFcNUtp9TFlRmYntfUtK.e2cAEaR8skoBFJ384L0QwT9c05hxpsPGSFpzyHJS+xqy5WLYxekbIcnPFgXAPObo0bQlCPwo1.hhXF3jD9ET8AQpGewNfJyJc4ASkQ+R+8AqyPfFLZ.FSkJFb1c1mdol.v1AWEuOMYrRDarMJVvAn6fez385br9a6LonP7zjS+.CM1rdTMqyGMQomkEAogDU4AbfUKSgtdWZpBlb3IL0jhrdexl5enP7U3ALk+naGiUtELpKNeNvXFW4Wi6NbH0WkCvEw89vmIhwJE1erc+qkUl06Ir4kp5EAwgoQyXUfwRmJ5iSFOoyeiymvikzXhjdhXPHYRiDCU0wZfuZ8yCE9i8X+A8ioEx571Crng+HBmSCSlG1ikdvoJ26uRcrHUw3Wb.QIY5IFr976oeypOsSF5llCxjaMcj1ixCLB+q9SlRWP1ISo6Tk47OnCopqDxwlWdk8LxYYnfTE6ojTcCK5TpLAZWcVF2po9Oztgghq.p.VVirtLYVafHbR7HAm4CKYsXJt2MRjZ3MLf+GIImPXgPmuWZhlqL3Htm1Xy8PfNuCEA5mv8H95r5jAD0HXBBXa0sqTYS+Yss4.MusAxsPDldqDaFRCnHC2EbmjE.81yscqrynI1XcVrtIhJcQk.vq0.PRaV1lG41BYkP50SYeKzaWTBArVAzqsw7.F+TKYuQhbcAIz.hTeQK8cCfHfmIoeN2MLT4J3HF6pk8TzXXrXpLjAVRSjpnnR1gt6ftdof1FB5X5U1jFberVM23cs1t81atwVs1Z801b6Myt+C7d5igtm6dqVLeqVF+V21kNAKgMK.AaYKwJpzYE8+MQ7BbWNAFYenohGVXeItigMZB2+l.N+EvkKpkzXtiIHoeQQEKwY+jSAs9jvoQTOhsmPLNhXlrmq20idLL1selw9I.icsoDgsepSYW.oe54ra+Tfy18YN6m4r+hyY+kfIJh3KEm4aIWgC2KLqnar4leump3C.45y99o1TUDKfcluO7sLdq9q0c69zdN74cygOqMG9r9b3yFygOaNG9r085C7SesapRDYY90KLnqo4xwwNtXdqM5+PauInV
Here´s a video of the Snippet above.
Does this happend to you or is my project? I´m using version 3.6.2
-
Found a workaround using "loadFile" on slots created in the processor Id
// Create Buffer with Slots const bufStretch1 = Engine.createAndRegisterAudioFile(0); const bufStretch2 = Engine.createAndRegisterAudioFile(1); const var bufScriptFX = Synth.getAudioSampleProcessor("Script FX1"); const bufScript1 = bufScriptFX.getAudioFile(0); const bufScript2 = bufScriptFX.getAudioFile(1); // Load Script buffers bufScript1.loadFile("{PROJECT_FOLDER}MySound.wav"); bufScript2.loadFile("{PROJECT_FOLDER}MySound.wav");
The Snippet
HiseSnippet 1413.3oc6X0raabCDlqrYRrRJPLPy0BAeRAHUPxIMsnEE9GYoTkFaIn00MEv.Fz6RIQncIWvkxxJA4du2Wf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