Add volume to kslider

TheAvenger's icon

The standard volume of kslider is too low, can you say me which is the tool to increase it (and where i must link it)? Thanks.

marker's icon

Kslider has nothing to do with volume if you mean volume as in amplitude. it deals with (midi) velocity 0-127 meaning 128 steps. You can scale or mutiply or divide velocity or multiply an audio signal if your talking about amplitude. Divide left outlet of kslider by 127. to get a rage from 0. to 1. which is suitable for an audio signal.
If your talking about keyrange? look in the kslider inspector key offset

TheAvenger's icon

Thanks for reply man, i mean a classic volume controller like that. How can i do?

2336.volume.png
png
marker's icon

Can you please be more specific! What is that you need? If you want a (volume) slider looking like that you will need to put it in a pictctrl object. check the helpfile of pictctrl. I think you'll have to make a .pict file.
greet

marker's icon

Sorry, you better check the pictslider object

TheAvenger's icon

Ok thanks, i'll use that tool. But i have a problem with it. When i open an image (png. format as requested), it shows me only half image and only when i click on the picture i see the other part..

mr_mapes's icon

The image for the slider has two parts for the two different mousestates - if you want the image to be, say, 20*20pixels you'll need an image 20*40pixels with each half representing its clicked and unclicked image. It's explained better in the help file.

TheAvenger's icon

Oh thanks a lot! I read tutorial but i didn't understand well.