Log in

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


hanfrunz
23rd December 2010, 13:29
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))}
function q(float len, float freq){return tone(len,freq,channels=1,level=0.5)}
c=261.6255653006
D=293.6647679174
E=329.6275569129
F=349.2282314330
Gb=369.9944227116
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
N4=0.5
N8=0.25
mixaudio(p(N4,G)+p(N4,c2)+p(N8,c2)+p(N8,d2)+p(N8,c2)+p(N8,B)+p(N4,a)+p(N4,a)+p(N4,a)+p(N4,d2)+p(N8,d2)+p(N8,e2)+p(N8,d2)+p(N8,c2)+p(N4,b)+p(N4,g)+p(N4,g)+p(N4,e2)+p(N8,e2)+p(N8,f2)+p(N8,e2)+p(N8,d2)+p(N4,c2)+p(N4,a)+p(N8,g)+p(N8,g)+p(N4,a)+p(N4,d2)+p(N4,b)+p(1,c2)+p(N4,g)+p(N4,c2)+p(N4,c2)+p(N4,c2)+p(1,b)+p(N4,b)+p(N4,c2)+p(N4,b)+p(N4,a)+p(1,g)+p(N4,d2)+p(N4,e2)+p(N8,d2)+p(N8,d2)+p(N8,c2)+p(N8,c2)+p(N4,2*g)+p(N4,g)+p(N8,g)+p(N8,g)+p(N4,a)+p(N4,d)+p(N4,b)+p(1,c2),q(N4,G)+q(1,e)+q(N4,c)+q(1,F)+q(N4,G)+q(N4,F)+q(N4,d)+q(N4,Gb)+q(N4,g)+q(N4,d)+q(N4,f)+q(N4,g)+q(N4,d)+q(N4,f)+q(N4,a)+q(N4,f)+q(N4,g)+q(N4,f)+q(N4,Gb)+q(N4,f)+q(1,e)+q(N4,e)+q(N4,c2)+q(N4,b)+q(N4,a)+q(1,g)+q(N4,g)+q(N4,a)+q(N4,g)+q(N4,f)+q(N4,e)+q(N4,f)+q(N4,g)+q(N4,c2)+q(N4,g)+q(N4,a)+q(1,g)+q(N4,e)+q(N4,f)+q(N4,Gb)+q(N4,f)+q(1,e)).subtitle("I wish all avisynth developers and users\n a merry christmas and a happy new year!\n\n(hanfrunz 2010)", align=5, lsp=10, text_color=$ffff00, halo_color=$ff0000)
#

Gavino
23rd December 2010, 15:09
Thank you, hanfrunz.
A novel and fun way to use Avisynth. :)

Merry Christmas to you too, and to all forum members.

Usedocne
23rd December 2010, 16:31
Too much time on your hands, aye? j/k

Meeery Christmas to yer hanfrunz, and to anybody reading this (yes, even the lurkers.) :D

Taurus
23rd December 2010, 21:20
Thanks a lot for this little tune in!
All the best for Christmas and stay tuned.:p

Hobojobo
23rd December 2010, 22:34
Can you see Santa Claus stumping in the backround???

How did you do that?:eek:

SallyDog
23rd December 2010, 23:45
Very cool. Thanks for your efforts and Merry Christmas to all.

EuropeanMan
28th December 2010, 01:39
Sweet - wow

setarip_old
28th December 2010, 03:54
@hanfrunz

Nicely Done!


Season's Greetings!