Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Any Way to Invert This Over X-Axis? #26

@shirchan627

Description

@shirchan627

This is the script that DadiBit made for a two-way wave. Was wondering if there's any way to invert this so that bass sounds are on the right side instead of the left.

; Script Factory - generates the bars for the visualizer
[ScriptFactoryBars]
Measure=Script
ScriptFile=#@#scripts\Factory.lua
IncFile=#@#include\MeterBars.inc
Number=#BarCount#
SectionName=MeterBar%%
Option0=Meter
Value0=Shape
Option1=Group
Value1=GroupBars | GroupDynamicColors
Option2=X
Value2=0R
Option3=Y
Value3=0
Option4=Shape
Value4=Rectangle 0,((#BarHeight#/2)-(((#BarHeight#-(#BarWidth##ScaleVisualizer#))([MeasureAudioSmoothed{%%}]>1?1:[MeasureAudioSmoothed{%%}])/2+(#BarWidth##ScaleVisualizer#)))),(#BarWidth##ScaleVisualizer#),((#BarHeight#-(#BarWidth##ScaleVisualizer#))([MeasureAudioSmoothed{%%}]>1?1:[MeasureAudioSmoothed{%%}])+(#BarWidth##ScaleVisualizer#)),((#BarWidth##ScaleVisualizer#)/2) | Fill Color #Color# | StrokeWidth 0
Option5=DynamicVariables
Value5=1
Option6=Padding
Value6=0,(#BarGap##ScaleVisualizer#),(#BarGap##ScaleVisualizer#),0
UpdateDivider=-1

[FixHeight]
Meter=Shape
X=(#BarGap#*#ScaleVisualizer#)
Y=0
Shape=Rectangle 0,0,0,#BarHeight# | StrokeWidth 0
UpdateDivider=-1


_Originally posted by @DadiBit in https://github.com/marcopixel/Lano-Visualizer/issues/6#issuecomment-615193972_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions