LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using claps for actvation

Hi Gerd 

Thank you so much for your assistance I realized the logic behind it.

 there is still a slight problem as the boolean is switching on and off (I assume its because I'm using Max values)

What is the best way to improve that?

best,

0 Kudos
Message 11 of 16
(696 Views)

Hi Sina,

 


@sinaaa wrote:

there is still a slight problem as the boolean is switching on and off (I assume its because I'm using Max values)

What is the best way to improve that?


Well, maybe not the best, but a good way would be to analyze the sound using a FFT and look for certain frequency band(s) level. Or use a bandfilter to detect typical frequencies of your clap sounds…

 

Didn't we mention this before?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 16
(691 Views)

Hello yamaeda 

Sorry for late reply 

You are right i found that even while we speak the boolean turns on and off

I watched some videos through the web  but i couldnt execyye it correctly . Would you please tell me how can i use that to detect a clap?

Thank you

0 Kudos
Message 13 of 16
(668 Views)

Hello I did this kind of project for my university and here I share with you my labview file. Hope it'll help the code is a bit messy though! The claps for activation is only detected by the amplitude of the sound wave. One clap for activation and two claps to turn it off. 

Message 14 of 16
(639 Views)

Thank you. It's really helpful.

0 Kudos
Message 15 of 16
(606 Views)

No problem! 🙂

0 Kudos
Message 16 of 16
(594 Views)