Skip to content
Forum Archive

Preset challenge (please help)

3 posts

ruch#

Preset challenge (please help)

Alright, I'd like to tap into the wealth of knowledge here cause I've got no idea what I'm doing.

I'd like to make a preset that

-has 21 rectangles, each with a different colour, based on ROYGBIV, from left to right

- the rectangles are triggered with noise

-the rectangles correspond to set sound frequencies, the left most rectangle (red) represents the lowest frequencies and the rightmost rectangle responds to the highest frequencies. And they are graded through the middle.

-the intensity/volume of the frequency affetcs the brightness of the rectangle. So no noise = transparent, loud noise = bright colour

Any help will be most greatly appreciated
Warrior of the Light#
I was going to write a howto, but then, you can read tutorials just as good as anyone else.

I made this quick setup because I'm bored, just read through the code to find out how I did it and tweak it yourself to make a good preset out of it.. even though that will be difficult.

I added the variable nn to be able to enter the amount of rectangles you want (nn=21 now).
I also made the linesize 1 pixel wider to get rid of ugly black lines.

It's probably tidier and better to use a Triangle instead of a SuperScope.

Have fun tinkering with it.
jheriko#
better to use triangles and learn how to do something properly than badly...

i would write an example, but i am lazy