Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd December 2011, 20:08   #1  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 534
I wish you a merry christmas (2011 script)

i optimized my script from 2010

Code:
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)).addborders(20,20,20,20,$ffffff),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
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 2011)", align=5, lsp=10, text_color=$ffff00, halo_color=$ff0000)
#
hanfrunz is offline   Reply With Quote
Old 23rd December 2011, 22:32   #2  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,168
Merry Christmas hanfrunz

And the greetings and very best wishes for the season to one and all.
IanB is offline   Reply With Quote
Old 27th December 2011, 14:36   #3  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
Thanks a lot.
Jenyok is offline   Reply With Quote
Old 27th December 2011, 17:32   #4  |  Link
DarkT
Registered User
 
Join Date: Dec 2006
Posts: 280
Niceeeeeeeeeeeeeeeeeeeeeeeeeeeee

Merry christmas and stuff .
DarkT is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.