And most logical would be to have zeroing the arrays too.
tarmo
Kontakt Victor Lazzarini (<Victor.Lazzarini@mu.ie>) kirjutas kuupäeval E, 10. jaanuar 2022 kell 11:16:
Looks like we need an overload of fillarray for audio variables.
WarningThis email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
Hi!
What is the best way to set all elements of an audio array to 0?
If the array is declared as
gaOutput init 10
clear gaOutput
does not work
clear gaOutput[0], gaOutput[1], etc
works but is cumbersome for longer arrays
gaOutput fillarray 0
does not wor with a-arrays.
I am sure there is an elegent way but I cannot find it.