Wallpaper Engine

Wallpaper Engine

Audio active ring
11 Comments
the mighty marlin 17 Sep, 2024 @ 11:29pm 
Ok thank you
Shockz  [author] 17 Sep, 2024 @ 9:52am 
Not sure what is happening there, will take a look when i have some free time from work.
the mighty marlin 17 Sep, 2024 @ 1:52am 
I'm having an issue where the rings are nonstop flashing and not to the music or anything there just there and the ring doesn't react with the sound at all. is there a fix for that or did I mess up on my end?
Kumohikari 26 Jul, 2022 @ 12:31am 
Exactly what I wanted, thanks!
Shockz  [author] 25 Jul, 2022 @ 10:59am 
'use strict';

let frequencyResolution = 16; //Resolutions 16-32-64.
let sourceFrequency = 2; //Must be 1 lower than the selected resolution.
let smoothingRate = 15; //Lower values have a magnet effect.

let audioBuffer = engine.registerAudioBuffers(frequencyResolution);
let smoothValue = 0.1; //speed smoothness.
let scaleInitial;

export function update(value) {
let audioDelta = audioBuffer.average[sourceFrequency] - smoothValue;

smoothValue += audioDelta * engine.frametime * smoothingRate;
smoothValue = Math.min(5, smoothValue); //Distance of scale.
value = scaleInitial + (smoothValue * 5); //Scale Strength.

return value;
}

export function init(value) {
scaleInitial = value;
}

Smoothing on the audio script works. 15 is quite sharp lower values for something smoother. there is also smooth value to play with. and strength.
Kumohikari 25 Jul, 2022 @ 6:31am 
Hi, just curious if you would know of a way to make the visualizer less sensitive? Basically I want to try to get the animation as smooth as possible even though that may mean it's less accurate. Hopefully that makes sense
Lappipi 18 Feb, 2022 @ 2:51am 
The ring isn't following my wallpaper music, why is that?
𝚟𝚊𝚛$𝚒𝚝𝚢 10 Jun, 2021 @ 4:00pm 
That worked! Still fairly new to the editor, and I just figured out how to use community workshop assets. Thanks a lot!
Shockz  [author] 10 Jun, 2021 @ 3:41pm 
You could try adding a tint to it and applying and negative blend mode.
Shockz  [author] 10 Jun, 2021 @ 3:41pm 
I will look in to it for you when i have more time to spare.
𝚟𝚊𝚛$𝚒𝚝𝚢 10 Jun, 2021 @ 3:37pm 
Is there any way to get it to work on a white background? I change the color of everything and it doesn't seem to work on white backgrounds