[ANSWERED] Plz help - Touch OSC - fader (play start, opacity, audio fade out)
-
hi!
When I enter a scene, how do I get Izzy not to play a movie when I first enter the scene? I am using touch osc and want the fader from touch osc to start the video once I bring it up.
I am using touch osc as an osc listener and I have all the channels registered. I am trying to use the touch osc fader to start the video, and only then should it start,(not with me entering the scene), when the fader senses movement, and I’m also using the fader to bring up the opacity from 0 to 100. Also when the I bring the fader down to 0, I want the audio to fade out.The only thing that’s working right now when I bring the fader up is the opacity.
I have the osc listener output value in Izzy set to 0 (when the fader moves up, it goes 0 to 1 , which is good)
However, every time I’m entering the scene, the movie player keeps playing by itself, even though I have the play start input in movie player actor set to 0 and initialized at 0.
I also added a comparator actor whose input is connected to the the OSC’s listeners value output. The comparator has value 1 at 0 and value 2 at .01. But when I bring the fader up, the output does not light up green like opacity does, signaling that the comparator maybe isn’t activating the play start.
Can someone give me a step by step of how to program this correctly? Or tell me what I’m doing wrong?
I’m going to play 4 videos on in one scene and I want each fader being brought up in TouchOSC to control when the videos play. Right now, they’re all playing at once.
-
Hi there!
Welcome to the Isadora community, glad to have you here!
To stop a Movie player from automatically playing you can do these things:
1) Set the init value of the value 'Visible' to off, please be aware that all movies that are marked as 'Visible' off are also not pre-loaded by Isadora. So it could happen that a Movie isn't ready to be played just yet..
What you can do to resolve that situation is the following:
- Between your 'Movie' playback and your Projector place a 'Gate'. A gate basically is like a traffic light, it either allows or stops a signal (in this case a video) from going thru. Using a Trigger value actor we can either tell the Gate to let 'traffic' pass through or 'stop' all traffic from going thru.
- And then the final step in that is that you set your Movie playback speed to 0 (and also init that value)
Now we have a movie that is pre-loaded and ready for playback when you desire. When the movie is ready to be played by TouchOSC we can simply bring our value up to 1 (for the speed) and give the gate a 'true' causing traffic to be passed thru it.You might ask; how can I make sure that when I set my opacity to a low value like 0.1 (on a scale of 0 till 1) to trigger a value. You can use the actor 'Comparator' for that. This actor will give a trigger when the value is above a certain value or when the data changes that our end result at the output side is different. (See the 'notify' input)
-
@juriaan thanks! I tried this and no luck so far. Few questions:
Why is the speed being changed?
Also in the image provided, you have the visible "on". how do I get the visibility to change to "on" from "off' with touch osc when i bring the fader up, if I've initialized it to "off"?
What should the comparator be initialized at and where should the trigger value actor be placed and connected to?
-
I change the speed to 0 to cause Isadora to stop the playback of that particular movie file, because Visibility is on (and Is never to false (!)) it causes the movie to be preloaded and be ready for playback when we desire..
-
And regarding your second question;
I use the 'Output' value; the output is either a 0 or a 1 (a number value), if you connect that to a true or false (a boolean value) it causes 0 = false and 1 = true
That way we don't need a Trigger value.