Forums > MaxMSP

Add volume to kslider


Jun 06 2011 | 11:29 am

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.

Jun 06 2011 | 11:54 am

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

Jun 06 2011 | 3:54 pm

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

[attachment=163806,2336]

Attachments:
  1. volume.png

    volume.png

Jun 06 2011 | 4:53 pm

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

Jun 06 2011 | 4:57 pm

Sorry, you better check the pictslider object

Jun 06 2011 | 10:23 pm

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

Jun 07 2011 | 10:09 am

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.

Jun 07 2011 | 11:27 am

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

Viewing 8 posts - 1 through 8 (of 8 total)

Forums > MaxMSP