09-13-2023, 03:12 PM
In my understanding, you would like to play a tone whenever the gyroscope-y exceeds a certain value and none if it is below. You need a bit more logic in the analysis block, so that the tone in fact also stops.
A quick and dirty solution would perhaps be to set a brief sleep period for the analysis block and check with “max” (put a clear flag to that buffer!) if you are above threshold. With “if” you (un)set the tone…
A quick and dirty solution would perhaps be to set a brief sleep period for the analysis block and check with “max” (put a clear flag to that buffer!) if you are above threshold. With “if” you (un)set the tone…