imovie to bang on every loopend? need help!

Per's icon

Hi!

Im trying to make imovie to create a bang everytime a loop has reached its end. i was thinking of using something like this below but are getting into problems.

I was thinking of using the timemessage to get the current time every 100 ms and then [select] to create a bang when the loop reach its end but got two problems:

1) I cant use the rslider to control the loop if Im using this.
Is there any way to get one number box from the lower left output that displays the value from the rslider and one that shows the current time?

2) is it possilble to get the durationvalue to pop up in Select. For example ideal if something like this would be possible to write: [sel duration]

any suggestion on how to achieve creating a bang every time imovie reaches the loopend of the clip?

Is it possible to use [timepoint] in some way?

Max Patch
Copy patch and select New From Clipboard in Max.

heres my app so far (more description of my problem in the app)

thanks a lot!!!

perik

gpvillamil's icon

Have you tried using jit.qt.movie and jit.pwindow instead of an imovie?

You can set the loopreport attribute, and it will send the message "loopnotify" everytime it loops.

(Then you can use a route object to pick out the message and trigger a bang.)

Per's icon

havnt digged so deep into jitter yet. still on tutorials and learning on MAX. but is it possible to do without jitter?

gpvillamil's icon

It might be possible to do it without jitter, but why bother? It will be a lot easier with jit.qt.movie.