Go Back   Winamp Forums > Visualizations > AVS > AVS Wishlist

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 22nd October 2002, 17:57   #1
crazycomputers
Junior Member
 
Join Date: Feb 2002
Location: Indiana
Posts: 6
Lightbulb AVS scripting language?

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.
crazycomputers is offline   Reply With Quote
 
Go Back   Winamp Forums > Visualizations > AVS > AVS Wishlist

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 Off
HTML code is Off

Forum Jump