Log in

View Full Version : I wish you a merry christmas (2016 script)


hanfrunz
24th December 2016, 10:33
Hello everyone, here is the christmas script for 2016. Happy Festivus! :-)


function p(float len, float freq){return audiodub(BlankClip(length=int(len*24), width=400,height=400, pixel_type="rgb32",fps=24, color=int((freq-271.0)/1.72)),tone(len,freq,channels=1,level=1.0).FadeIO0(1,0,24))}
function q(float len, float freq){return tone(len,freq,channels=1,level=0.5).FadeIO0(1,0,24)}
c=261.6255653006
D=293.6647679174
E=329.6275569129
F=349.2282314330
G=391.9954359817
A=440.00000000001
B=493.8833012561
c2=c*2.0
d2=d*2.0
e2=e*2.0
f2=f*2.0
g2=g*2.0
N1=1.0
N2=0.5*N1
N4=0.25*N1

BlankClip(length=576, width=400,height=400, pixel_type="rgb32",fps=24, color=0).subtitle(" . * . * ",y=50,size=46,align=5, font="Courier New").subtitle(" . * . ",y=50+30*1,size=46,align=5, font="Courier New").subtitle("* . . * ",y=50+30*2,size=46,align=5, font="Courier New").subtitle(" . . .",y=50+30*3,size=46,align=5, font="Courier New").subtitle(" . . * . ",y=50+30*4,size=46,align=5, font="Courier New").subtitle(" * . * ",y=50+30*5,size=46,align=5, font="Courier New").subtitle(" . * . ",y=50+30*6,size=46,align=5, font="Courier New").subtitle("* . . * ",y=50+30*7,size=46,align=5, font="Courier New").subtitle(" . . .",y=50+30*8,size=46,align=5, font="Courier New").subtitle(" . . * . ",y=50+30*9,size=46,align=5, font="Courier New").greyscale().GeneralConvolution(0, "5 10 10 10 5 10 10 5 10 10 5 10 10 10 5 10 10 10 10 10 5 10 10 10 5 ", 200, false).crop(0,10,0,-076)
stackvertical(last,last,last,last)
sn=stackhorizontal(last,last,last)
sn= Animate(0,576,"Bicubicresize",sn, 400,400, 1./3.,1./3., 576./3., 1256.-400.,400,400, sn, 400,400, 1./3.,1./3., 0., 0.,400,400)
sn2=sn.crop(100,100,0,0).bicubicresize(400,400)
mixaudio(p(N4,E2)+p(N4,E2)+p(N2,E2)+p(N4,E2)+p(N4,E2)+p(N2,E2)+p(N4,E2)+p(N4,G2)+p(N4,C)+p(N4,D2)+p(N1,E2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,E2)+p(N4,E2)+p(N4,E2)+p(N4,E2)+p(N4,D2)+p(N4,D2)+p(N4,E2)+p(N2,D2)+p(N2,G2)+p(N4,E2)+p(N4,E2)+p(N2,E2)+p(N4,E2)+p(N4,E2)+p(N2,E2)+p(N4,E2)+p(N4,G2)+p(N4,C)+p(N4,D2)+p(N1,E2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,F2)+p(N4,E2)+p(N4,E2)+p(N4,E2)+p(N4,G2)+p(N4,G2)+p(N4,F2)+p(N4,D2)+p(N1,C),q(N2,C)+q(N2,g)+q(N2,C)+q(N2,g)+q(N2,g)+q(N2,a)+q(N2,g)+q(N2,C)+q(N2,A)+q(N2,B)+q(N2,g)+q(N2,g)+q(N2,a)+q(N2,g)+q(N4,b)+q(N4,g)+q(N4,a)+q(N4,b)+q(N2,C)+q(N2,g)+q(N2,C)+q(N2,g)+q(N2,a)+q(N2,g)+q(N2,C)+q(N2,g)+q(N2,b)+q(N2,g)+q(N2,C)+q(N2,g)+q(N4,b)+q(N4,g)+q(N4,a)+q(N4,b)+q(N1,c2))
subtitle("I wish all avisynth developers and users\n a merry christmas and a happy new year!\n\n(hanfrunz 2016)", align=5, lsp=10, text_color=$ffff00, halo_color=$ff0000)
overlay(last, sn ,mode="blend", opacity=0.25).overlay(sn2,mode="blend", opacity=0.25)
m=BlankClip(length=576, width=400,height=400, pixel_type="rgb32",fps=24, color=0).subtitle("o",y=530,size=1700,align=5, font="Courier New",text_color=$ffffff)
overlay(last,m.invert(),mode="blend", opacity=.25,mask=m).addborders(5,5,5,5)

#

feisty2
24th December 2016, 10:39
So glad ur not one of the victims of the Berlin terrorist attack
I had thought about the possibility since u didn't show up before xmas

real.finder
24th December 2016, 10:52
thank you, merry christmas and happy new year

StainlessS
24th December 2016, 11:33
Always nice to see you Hanfrunz, but should be more often.
Have a nice one :)

Groucho2004
24th December 2016, 16:48
Happy Festivus! :-)
Thanks, Festivus for the rest of us (https://www.youtube.com/watch?v=dS7-jcsB_WQ)!

GMJCZP
24th December 2016, 21:53
Merry Xmas for all!

Selur
24th December 2016, 22:10
Merry Christmas!

Sparktank
28th December 2016, 23:51
Awesome! Thanks and belated Festivus!
I got this thread confused with last years. :3

Really love seeing these. :goodpost: