this is just the code you can implement into any rainmeter skin that uses color values.
skin in the preview is Pulsweb (Hexpulse) with MusiColor Enabled.
Let your music decide the color of your skin!
MusiColor is a piece of code that makes the color of your skin react to your music, even if the skin itself is not an audio visualizer.
It can be used in any code and will be available as an option in most of my own skins.
To use it:
1. Place "MusiColor.inc" in the Resources folder inside your skin folder.
If you don't have one yet, create a new folder and name it "resources"
2. Include "MusiColor.inc" in your skin file.
Do this by adding "@include0=#@#MusiColor.inc" at the top of the file
If there are already more "@ include" lines in the code, change the "0" to a number that in not used yet.
For most skins "@include6" will be more than enough and it wont hurt if 0 would have been fine too.
3. Use it!
Now you can use the variables "MusiColor", "MusiColorO", "MusicolorX" and all the RGBCMY colors in place of any RGB or RGBA code, and "MusiColorA" for any A chanel.
As an example:
Color=255,255,255 ( white ) -> Color=#MusiColorO# (MusiColor changing color)
Color=255,255,255 ( white ) -> Color=#MusiColor# (MusiColor changing color and transparency)
Color=255,255,255,100 (semi transparent white ) -> Color=#MusiColorO#,100 (MusiColor changing color but keeping the original transparency)
Color=255,255,255,100 (semi transparent white ) -> Color=255,255,255,#MusiColorA# (Static Color with MusiColor Transparenty)
*** CHANGELOG ***
Added: MusiColorR, MusiColorG, MusiColorB, MusiColorC, MusiColorM, MusiColorY
New colors that only fade between shades of that color and white.
Added: a simple test skin I once made but never released. It makes the edge of your screen pulse and glow to the music.
Default MusiColor now with transparency
MusiColorO now white if no music.
Red and Blue colors are a little bit more present now.
Fixed: Flickering problem
Archive available on GitHub
So I'm using Fizzualizer and I was wondering if MusiColor can be integrated into it, since the color format for Fizzualizer is in HSV. Any way to integrate MusiColor into Fizzualizer?
Sure, HSV is still a value with a 0-255 range. So you can use any of the variables and they will work. But probably pick specific ones since they'll be behaving differently. So you might need to experiment a bit.
I've been thinking about rebuilding MusiColor to use HSV anyway so there might be an easier way in the future.
For some reason its nearly transparent when I use the variables and when I use MusiColor0 the transparency number is acting like the blue amount
Edit: I think I figured it out (sort of) the alpha was measuring too low for it to actually show up, although the colors don't seem to be measuring properly for me either as even after (sort of) fixing the alpha it's pretty much permanently red.
That sounds like it has to do with the kind of music, but mostly the internal volume that you listen to it.
Red is low's but the higher the fidelity music you listen to, the brighter the colors. (local files give way brighter colors than streamed music)
Something that could potentially imitate the vivid color on the lines and dots as shown on the encircled part of my wallpaper? MusiColorO jst doesn't cut it enough for me...
The problem is that it is all dependent on the music. The more vivid I make it, the less responsive it will be. I have been working on a version however that would probably solve it. Right now it's RGB resposive but I am trying to make a HSL, than it would be possible to just change the hue without altering brightness or saturation.
Change Color in the variavles.inc file to #MusiColorO# (this has to be MusiColorO, it can't be MusiColor or MusiColorX) and than as a final step edit Frost.inc and at the top change DefaultUpdateDivider=-1 to DefaultUpdateDivider=1.
Than MusiColor should work... This is far from ideal though since it is now refreshing the entire skin and that makes it very heavy to run. It should be possible to just refresh the things you have to but I did not find all of them yet. If I do, I'll get back to you.
If you want to use a MusiColor that includes then Alpha chanel (like MusiColor or MusiColorX) you have to edit SetMeterOptions.lua and change the color there. Replace #Color#,255 and #Color#,0 with the desired colors.
Let me know if it works!