Skip to content
Damnae edited this page Jul 17, 2021 · 6 revisions

Minimal configuration

The Spectrum effect needs a sprite to use to draw its bars. For this you have to configure its SpritePath field.

You may also want to adjust the StartTime and EndTime, as by default it will do the first 10 seconds of the song.

Configurable fields

StartTime / EndTime

The period of time during which the spectrum will be visible.

Position

Where the left side of the spectrum is.

Width

The width of the entire spectrum.

BeatDivisor

How often bar size will be updated to match the song. For example, 1 will update them every beat, 2 will update them every half beat, 4 will update them every fourth of a beat, etc.

BarCount

How many bars the spectrum is composed of.

SpritePath

The image to use for the spectrum's bars.

SpriteOrigin

The point of the sprite from which it is scaled from.

Scale

The scale of the bars, where 1 is the normal size, 2 is double the size, 0.5 is half the size, etc.

LogScale

Scales the bars using a log10 function. Increasing this value will make smaller bars more visible. You may have to adjust the Scale after changing this.

Tolerance

Simplifies bar animation by removing commands that are closer than this value.

Ramer–Douglas–Peucker algorithm

The purpose is to increase performance and reduce osb size.

CommandDecimals

How many decimals used when writing scale commands to the osb. The purpose is to reduce osb size.

MinimalHeight

The minimal size of bars.

FftEasing

Changes how the spectrum data is distributed between bars. The default setting will focus the spectrum on the more interesting part of the spectrum data.