It is currently April 12th, 2021, 3:55 am

HELP - Modify this "Music visualizer"

General topics related to Rainmeter.
EmberGas
Posts: 2
Joined: March 27th, 2021, 6:25 pm

HELP - Modify this "Music visualizer"

Post by EmberGas »

Hi guys, :welcome:

So, i've found this script on deviantart and i want to modify it.
I would want to modify theses bars to make it more sensitive, so it can move higher with lower volume (because if you test it with sound you can see that some bars aren't really moving, just slightly).

Therefore, i would like a second version of this script with modify but i want that the bars went up to down ^^

Well, this is the script and many thanks to everyone who are willing to help. :bow:
Pleasee, It would mean so much for me, much appreciated! <33 :rosegift:



Code: Select all

[Rainmeter]
Update=10

[Metadata]
Author=DD.921 (marcopixel)
Version=1.2
f
Description=[EN]Displays an audio spectrum / [FR]Affiche un spectre audio / [ES]Muestra un espectro de audio
Instructions=/!\ The skin is a modified version of the original skin that is marcopixel

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
VARIABLES

[Variables]
@include=#@#variables.ini
@include2=#@#include\MeasureGenre.inc
@include3=#@#include\ColorExtract.inc

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
SPECTRUM MEASURE

[MeasureShowDynamicColors]
Measure=Calc
Formula=#EnableDynamicColors#
IfBelowValue=1
IfBelowAction=[!SetOptionGroup GroupBarColor MeterStyle "StyleStaticBar"]
IfEqualValue=1
IfEqualAction=[!SetOptionGroup GroupBarColor MeterStyle "StyleGenreBar"]
IfAboveValue=1
IfAboveAction=[!SetOptionGroup GroupBarColor MeterStyle "StyleCoverBar"]
UpdateDivider=-1

----------------------------------

[MeasureAudio]
Measure=Plugin
Plugin=AudioLevel
Port=Output
FFTSize=#FFTSize#
FFTOverlap=(#FFTSize#/2)
FFTAttack=#FFTAttack#
FFTDecay=#FFTDecay#
Bands=#BarCountCalc#
FreqMin=#FreqMin#
FreqMax=#FreqMax#
Sensitivity=#Sensitivity#

----------------------------------

[ScriptFactoryBars]
Measure=Script
ScriptFile=#@#scripts\Factory.lua
IncFile=#@#include\MeterBars.inc
Number=#BarCount#
SectionName=MeterBar%%
Option0=Meter
Value0=BAR
Option1=Group
Value1=GroupBarColor
Option2=MeasureName
Value2=MeasureAudioSmoothed{%%}
Option3=X
Value3=(#BarGap#*#ScaleVisualizer#)R
Option4=Y
Value4=0
Option5=W
Value5=(#BarWidth#*#ScaleVisualizer#)
Option6=H
Value6=#BarHeight#
Option7=BarOrientation
Value7=Vertical
Option8=Flip
Value8=#FlipVisualizer#
UpdateDivider=-1

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
REFRESHER MEASURE

[ScriptRefresher]
Measure=Script
ScriptFile=#@#scripts\Refresher.lua
UpdateDivider=-1
Refreshed=0

----------------------------------

; Include the BandMeasures with raw data
@include3=#@#include\BandMeasures.inc

; Include the BandMeasures with smoothed data
@include4=#@#include\BandMeasuresSmoothed.inc

; Include the band meters
@include5=#@#include\MeterBars.inc
Last edited by balala on March 27th, 2021, 6:47 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.
User avatar
balala
Rainmeter Sage
Posts: 12543
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: HELP - Modify this "Music visualizer"

Post by balala »

Unfortunately the posted code uses a lot of resources (files), which are unavailable, but absolutely needed. For instance::
  • Files: variables.ini, MeasureGenre.inc, ColorExtract.inc.
  • Script files: Factory.lua or Refresher.lua.
  • Files containing measures and meters: BandMeasures.inc, BandMeasuresSmoothed.inc or MeterBars.inc.
All above contained into the @Resources folder.
Not having these files, no one is able to help. So please post a link, where we can download the package containing the needed resources.
EmberGas
Posts: 2
Joined: March 27th, 2021, 6:25 pm

Re: HELP - Modify this "Music visualizer"

Post by EmberGas »

balala wrote: March 27th, 2021, 6:56 pm Unfortunately the posted code uses a lot of resources (files), which are unavailable, but absolutely needed. For instance::
  • Files: variables.ini, MeasureGenre.inc, ColorExtract.inc.
  • Script files: Factory.lua or Refresher.lua.
  • Files containing measures and meters: BandMeasures.inc, BandMeasuresSmoothed.inc or MeterBars.inc.
All above contained into the @Resources folder.
Not having these files, no one is able to help. So please post a link, where we can download the package containing the needed resources.


Thank you for helping out !! :rosegift:

Cant seem to find the package containing the needed resources tho but its okay because eventually,
I was lucky to have found another visualizer that can adjust the sensitivity/height/width gap and much moree.

https://www.deviantart.com/marcopixel/art/Lano-Visualizer-Highly-configurable-visualizer-545915953

Anyone who have encountered similar problems or issue can take a look at this visualizer, its perfect <3

Thanks again, you're an angel for responding! :givelove:
User avatar
balala
Rainmeter Sage
Posts: 12543
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: HELP - Modify this "Music visualizer"

Post by balala »

EmberGas wrote: March 27th, 2021, 7:35 pm Cant seem to find the package containing the needed resources tho but its okay because eventually,
I suppose you have the skin installed on your computer, isn't it? If so, you could pack your existing config and upload the package here.
EmberGas wrote: March 27th, 2021, 7:35 pm I was lucky to have found another visualizer that can adjust the sensitivity/height/width gap and much moree.

https://www.deviantart.com/marcopixel/art/Lano-Visualizer-Highly-configurable-visualizer-545915953

Anyone who have encountered similar problems or issue can take a look at this visualizer, its perfect <3
So is there any other question?
EmberGas wrote: March 27th, 2021, 7:35 pm Thanks again, you're an angel for responding! :givelove:
No, I'm not. Just trying to help here on the forum when I can, as I also got lot of help over time.