Hi there,
I don't know why but it seem the scope.log is all of a sudden causing a Sig fault now that i am passing it a smaller array. I tried setting the scope to take the same number of values as the array and it still crashed.. but the code works when i comment of the scope.log function ...
Any idea why this would be?

OK well making them global rather than static in the render function fix the sig fault.. so it is fixed for now but still don't know why

You should make sure that the size of the array you are passing is the same as the number of channels you set sr initialization time in setup().

6 days later

thanks 🙂 I did try that but it did not help. I think when i had the array ( I was passing to the scope.log() ) as static var in the the render function it was somehow going out of scope by the time scope.log() was accessing it even tho it was in the same scope.... Or at least that is my guess because I had no problem once the array was global.