Page 1 of 1

Slider for equalizer question.

Posted: Sat Apr 17, 2021 12:54 pm
by digital coconut
Please noble colleagues, I am having trouble loading an animated bitmap from a slider.
I use FS4 and it is not allowed to post the diagram, but I bring the photo of the slider.
The only slider I have is the one in the photo, but I wanted a slider with a "real" appearance ... I use the knobman for knobs but I don't know the mechanism for how to load the animated png of a slider in this example that I have because I want to do this in an equalizer with multiple bands.
Thank you honorable friends. :?

Re: Slider for equalizer question.

Posted: Sun Apr 18, 2021 8:25 am
by Spogg
This slider doesn’t use an animated bitmap. It’s a single image and the Ruby code determines where the slider is drawn as a vertical displacement. The slot line is static.

You could load any single static image to replace the stock one of course. This slider's "handle" uses an image 22 wide by 44 pixels high.

Re: Slider for equalizer question.

Posted: Sun Apr 18, 2021 9:30 am
by RJHollins
If you go to the KnobMan Gallery ... you'll find multiple examples of Sliders of all kinds.

There is an 'on-line' version of KM that lets you load in an example, and see all the elements and settings creating it.

Very educational.

Re: Slider for equalizer question.

Posted: Sun Apr 18, 2021 12:44 pm
by DaveyBoy
It is also possible to use the same bitmap/animated bitmap for multiple sliders/knobs . . thus only loading the image once and keeping the filesize down, also great if you want to change/experiment with different images. :)

Re: Slider for equalizer question.

Posted: Sun Apr 18, 2021 7:21 pm
by digital coconut
Honorable colleagues. Following Mr Spogg's guidelines
(22x44 pixels image size) and Mr Hollins' clarification about using an image from a web knobman slider and the inestimable idea of ​​doing Mr Davey's experiments I arrived at this result of the photo! But I would like to say that before assembling the slider I treated the images in Photoshop's "Hue / saturation" option, as this tool allows me to achieve great results of the colors' vibration of the images.
Next step I will connect these new sliders to the equalizer module. Thankful noble friends. Result more than satisfactory as always ... :shock: :geek: