Hello, guys
I have a programming question,
I have created this code, interacting webcam and sound.
It works with sound, but it doesn't switch modes.
What I can't do is this:
if percent >0.9, switch to Mode 2 ( and don't come back to default Mode)
and if percent >0.9 again switch to Mode 3(and don't come back to default Mode)
and if percent> 0.9 again switch to Mode 1
And default mode is Mode 1
Please help me.
Mode1(ellipse)
Mode2(rect)
Mode3(star)
and this is my code(it doesen't work):
can anybody fix my code or give me a new code please??
I really need code.
thank you^^
Hi, I have a question about sound buttion of this code.
I want it to start sound if I click the button and the sound will repeat until I click the button again (If I click the button again, then it has to stop)
I've tried this code if I click the button the sound keeps coming out even though I pressed it again.
How do i have to change?
my code: