Using first-bang object to reduce sensor readings to a single bang for triggering video read
Excuse me, I have an abundance of sensor data from a floor sensor which I would like to reduce through using first-bang (from Real-time composition library). The intention is to use jit.movie to play the movie and reset first-bang with the bang generated by that object's right outlet . However, the issue is jit.movie sends out a bang from its right outlet when that video object begins as well as when it ends. Does anyone know how I can turn-off that initial bang from jit.movie or work around it? I am also using sensor data to generate audio which is another separate monster, which I could use advice on as well. I believe I am on the right track with first-bang but I am stumped on much of the rest. Help would be most appreciated.
jit.movie does not output bangs.
If you want to allow audio or video to play again only after they played to the end or maybe manually stop, you have to issue start and stop status of video an audio playback objects you use.
that can be used to gat incoming sensor "bangs"
Thanks for the reply but playback of video objects is not the issue, its reducing sensor data to a first-bang and then using the message that originates from the right outlet of jit.movie to reset first-bang. I don't understand how this would "be used to gate incoming senor bangs."
*message that originates from the right outlet of jit.movie to reset first-bang"
what does that mean ?
what message ?
and what is first bang ?
what I meant is :
1 sensor starts playback only if it is not allready running.
2 as long as playback runs, no sensor data gets through.
3 playback done = let sensor trigger playback again.
--
but maybe for you sensor and play status have no relation at all ?
I am trying to trigger video play by incoming sensor data which is above a certain threshold. the object first-bang sends out the first bang from the sensor and ignores the rest. But I would like first-bang object reset when movie is finished with playback. when jit.movie ends playing movie it sends out bang but Also bangs when starts movie. because I am listening to jit.movie to reset the initial Bang throws everything Off. maybe I should post the patch. Thanks for help.
Please understand I am trying to filter sensor data with first-bang. I intend to reset first-bang once video completes by using right output of jit.qt.movie (bang or whatever that may be). The problem is jit.qt.movie sends bang when video begins as well as ends.
as first that first-bang patcher is abstraction not existing in my max installation.

it probably is onebang object inside.
Your problem is that you don't understand what that right outlet of
jit.qt.movie object outputs.
if you insert button as you do it in your patch, it will produce a bang no matter what gets output.
jit.qt.movie does not have option to report start and stop of video playback.
just by chance, you enabled loopreport which does report loop status at playback end.
that causes that bang ...
When you send read message to read and auto play a movie
read gets reported and that triggered bang at beginning.
If you manually stop movie playback, you will have nothing at right outlet.
To make it short - if you want to use that patch as is - insert
sel loopnotify, which will produce bang only at playback end
and reset onebang object

Thanks very much! I will make these changes.