View Single Post
Old 26th February 2010, 06:49   #16  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Well, I've just discovered that the waveform generated by AudioGraph() can be made "more visible" (or "more annoying", depending on the point-of-view) by using «PointResize()». Example script:

Quote:
LoadPlugin("C:\AVSplugins\AudGraph.dll")
vid=BlankClip(width=32, height=32, fps=15, \
length=3254).KillAudio()
aud00=WavSource("filename.wav")
aud01=WavSource("filename.wav").GetChannel(1)
aud02=WavSource("filename.wav").GetChannel(2)
left_ch=AudioGraph(AudioDub(vid,aud01),0).PointResize(256, \
256)
.AddBorders(16,16,16,16)
rite_ch=AudioGraph(AudioDub(vid,aud02),0).PointResize(256, \
256)
.AddBorders(16,16,16,16)
AudioDub(StackHorizontal(left_ch,rite_ch), aud00)
SelectEvery(1,0,0)
Example video:

http://cid-5acf098e0ebae8d5.skydrive...nnel-Theme.avi

Last edited by Midzuki; 27th February 2010 at 08:01. Reason: updated script, added URL to example video
Midzuki is offline   Reply With Quote