|
|
#1 |
|
Junior Member
Join Date: Feb 2002
Location: Indiana
Posts: 6
|
I think turning AVS from a collection of filters into a scripting language would be awesome.
It could support the filters as separate functions, use variables, loops, etc. For example, the syntax for SuperScope would be: Render->SuperScope("n=800","","","x=i*2-1;y=v"); Variables would be interpolated into "" strings, etc. You could also programmatically create new buffers, mix different buffers into a new one: (Omitting a buffer assumes the global buffer, the one that is displayed when the script reaches the end.) $buf=new Buffer; #create new buffers $buft=new Buffer; #render in each buffer $buf->Render->SuperScope("n=800","","","x=i*2-1;y=v"); $buft->Render->SuperScope("n=800","","","y=i*2-1;x=v"); #blend them together into the main buffer Blend('50/50',$buf,$buft); Writing presets would be much more complex, but amazing things could be done with it. This would have to be implemented in AVS for Winamp2, because I think Winamp3's AVS is wayyyy to slow. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|