Add volume to kslider

Jun 6, 2011 at 11:29am

Add volume to kslider

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.

#57473
Jun 6, 2011 at 11:54am

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

#205912
Jun 6, 2011 at 3:54pm

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

[attachment=163806,2336]

Attachments:
  1. volume.png
#205913
Jun 6, 2011 at 4:53pm

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

#205914
Jun 6, 2011 at 4:57pm

Sorry, you better check the pictslider object

#205915
Jun 6, 2011 at 10:23pm

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..

#205916
Jun 7, 2011 at 10:09am

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.

#205917
Jun 7, 2011 at 11:27am

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

#205918

You must be logged in to reply to this topic.