Hello everyone,
is there a way to figure where is there data in a array
I make a looper and I want it to reset when there is no more sound
I could use snaphot, but as far as I understand how it forks, it's not like parsing all the data in the array
pseudo code :
datastart=null;
for(int i=0;i<array.length;i++)
{
if (array[i]>threshold)
{
datastart=i;
break;
}
}
I can use until , but what about finding the end of the data ?
same for the position where data ends
thanks