How to reset Sine Osc modifier to start from 0

Wed Oct 02, 2019 11:28 pm

Hello everyone!

It should be simple but I'm thinking how to solve this for about 2 hours now. What I want to achieve is that Text layer shows from 2nd to 5th second of video and that is alright: easily done with Playback Internal variable. What I want is that it fades in and out and I see it can be done with Transparency module and Sine Oscillator, but Sine Oscillator oscillate always, even while video is not running, so fade in starts from arbitrary point, but I need it to start from 0, when Text layer becomes powered on (from 2nd to 5th second of video).

Probably somebody has solved some similar problem in Magic, please help.
pyc
 
Posts: 18
Joined: Sun Mar 24, 2019 7:09 pm

Re: How to reset Sine Osc modifier to start from 0

Thu Oct 03, 2019 12:50 pm

Here's one method - the multimix will fade in, hold then fade out over 15 seconds with an Increase of 0.2. A value of 0.6 will give you 5 seconds. You can build up a whole sequence of text this way - assuming each is displayed for the same amount of time.

timed_fade.jpg
timed_fade.jpg (69.62 KiB) Viewed 376 times
Sadler
 
Posts: 633
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: How to reset Sine Osc modifier to start from 0

Thu Oct 03, 2019 2:26 pm

I'm sure there are many ways to do this. My thought is that if you want an alternative sin oscillator, you can use sin(x) in the Expression modifier.
Eric
Site Admin
 
Posts: 2636
Joined: Wed Apr 09, 2014 9:28 pm

Re: How to reset Sine Osc modifier to start from 0

Thu Oct 03, 2019 5:10 pm

Multimix is not the solution because it it fades one input out to display other one. I need one layer to be shown always and second one with the text to fade in and out...

As for sin(x) solution in with Expression modifier, yes, that's how I wanted to solve it yesterday, and I just managed to solve it with this Expression: if((x>=2) and (x<3.5)) sin(x); else cos(x); (x is Playback Time).

Thanks!
pyc
 
Posts: 18
Joined: Sun Mar 24, 2019 7:09 pm

Re: How to reset Sine Osc modifier to start from 0

Mon Oct 07, 2019 3:21 pm

Multimix is not the solution because it it fades one input out to display other one. I need one layer to be shown always and second one with the text to fade in and out...

Multimix would work fine for that situation. Just don't use it for the top layer, only use it for the other ones.
Eric
Site Admin
 
Posts: 2636
Joined: Wed Apr 09, 2014 9:28 pm

Return to General Discussion

© 2019 Color & Music, LLC • This web site is mobile-friendly