Archive: Select color/size by sound level


14th November 2003 18:22 UTC

Select color/size by sound level
My wishes:

1. A function to get the Sound Level (a per-frame value) in the scripted objects.

2. An option to make the multicolor objects select the color using the current Sound Level.

3. A multicolor Moving Particle.

4. An option to make some values Proportional to the Sound Level.
Examples:
4.1: Moving Particle Size.
4.2: Sound Level Proportional Blending.

5. An option to make the non-wrapped movements use a fixed color instead of the border pixel color.

5. A dynamic buffer blending option so we can program how each pixel is blended.


14th November 2003 21:07 UTC

1. getosc(1,0,0) and global vars

2. Try the preset I added.

3. Nothing a little SSC and DM can't manage.

4. Once again... SSC and DM...

5. Not sure about this one.

6. Effects List ignoring input and output, load buffer, trans/movement, save buffer.


That work?


14th November 2003 21:21 UTC

for 6, use a dynamic movement with "No movement (blend only)" checked. Use the variable alpha (0...1) to define blend factor. Use buffers for source/dest image.


14th November 2003 22:26 UTC

Oh, I interpreted that differently than you. I read that one screwy... Yeah what unconed said. :up:


15th November 2003 06:48 UTC

check out avs primer :down:, or piR's new tutorial, which is...somewhere.

but check out avs primer first :p


16th November 2003 01:21 UTC

I knew all that could be done except for the UnConeD reply (I never knew what that option was for) but what I say is that It would be great to have all this included in the AVS objects instead of having to program them.

Other problem I have is that I don't know, for example, how does the moving particle works, or how to make a "filled" superscope (without using a lot of points and lines).


16th November 2003 02:23 UTC

You cant.. You have make a circle made up of lots and lots of zig zaggin or spiraling lines. The quickest way was something like

---init:
n=700;

---per frame:
s=1; af=h/w;

---per point:
s=-s; i=i*2*p;
y=sin(i*s)*0.5;
x=cos(i*s)*0.5*af;


but now, such code is pointless.. You can code steve[e]n'[/e]s "texer 2" APE in exactly the same way as you can with the scope, only it draws pictures instead of dots. And you can resize the image it draws. So, a moving, recoloring, resizing particle would be the easiest thing in the world.

18th November 2003 11:06 UTC

:up: