Record microphone when sound amplitude crosses threshold #2424
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @RomanU-mouse What are the characteristics of the sound that you are trying to detect or condition on? So in your screenshot, the If you are just trying to detect a high amplitude peak (like a finger snap), you can use something like this instead. We first publish the
edit: Forgot the Within the
If the sound you are trying to condition on is different (for instance, you actually want to condition on the overall background amplitude) then the workflow needs to be modified, but let me know if this works for you. Workflow attached: |
Beta Was this translation helpful? Give feedback.




Hi @RomanU-mouse What are the characteristics of the sound that you are trying to detect or condition on?
So in your screenshot, the
Addoperator isn't what you would normally think of as smoothing, its adding the audio buffers together and in essence making the output buffer "louder". That may give the appearance of smoothing out the background noise in theMatVisualizer. You are probably looking for something like anAverage, but I know theAveragereactive and dsp operators don't work in that regard. I think there is a way to make it work, but actually depending on your signal you might not even need a "smoothed" signal.If you are just trying to detect a high amplitude peak (like a fi…