PDA

View Full Version : Select color/size by sound level


GiGaHeRz
14th November 2003, 17:22
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.

UIUC85
14th November 2003, 20:07
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?

UnConeD
14th November 2003, 20:21
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.

UIUC85
14th November 2003, 21:26
Oh, I interpreted that differently than you. I read that one screwy... Yeah what unconed said. :up:

dirkdeftly
15th November 2003, 05:48
check out avs primer :down:, or piR's new tutorial, which is...somewhere.

but check out avs primer first :p

GiGaHeRz
16th November 2003, 00:21
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).

sidd
16th November 2003, 01:23
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 steven'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.

Magic.X
18th November 2003, 10:06
:up: