Welcome to %s forums

BrainModular Users Forum

Login Register

Using sensor to control video playback.

I need help on a Patch
Post Reply
Jeff Smith
New member
Posts: 2
Contact:

Using sensor to control video playback.

Unread post by Jeff Smith » 27 May 2021, 11:49

Hi all,

I normally use the software to make music and sound things but I am trying out the video side.
I am trying to figure out how to do the following.
I am trying to get a sensor/camera to trigger video clips to play. So when the sensor/camera has movement
the video will play but when there is none the video stops playing at the end of the current clip and waits
to be triggered by movement again.
It's an eyeball. So I am trying to get the eye to open and stay open while people are near the sensor/camera and then to close
when they move away.
There are a series of clips in my timeline all starting with the eye opening and ending with it closing. I have a long sequence of
these. This gives the illusion that the eye is blinking. Hence why I need the video to stop at the end of the current clip to close the
eye.

Sorry it sounds very convoluted.

Any thoughts would be much appreciated.

Cheers,
Jeff

grego mondo
Member
Posts: 466
Location: 22110 Rostrenen
Contact:

Unread post by grego mondo » 27 May 2021, 15:38

Hello, if I understood what you want :
movement trigger play clips 1
at the end :
no move = stop
still moving = next clip

If so, I would use the movement trigger to restart a counter (let's say for 2 sec) and use the counting outlet.
1 means there was a movement less than 2 seconds ago
0 means no movement until more than 2 sec.

get the end of playing of the clip and let it pass to the play of the next clip ...

hope it helps
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX

Jeff Smith
New member
Posts: 2
Contact:

Unread post by Jeff Smith » 27 May 2021, 21:29

Thank you Grego for taking the time.

I will give it a go today and let you know how I get on.

Enjoying your soundcloud too.

Cheers,
Jeff

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests