This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

play audio when signal goes over a threshold
#2
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…
Reply


Messages In This Thread
RE: play audio when signal goes over a threshold - by Jens Noriʇzsɔɥ - 09-13-2023, 03:12 PM

Forum Jump: