Floating value slider for controlling Volume

I would like to create a fader (slider) that controls the volume of our OSC Player.

This is the osc address: / volume
And this is the value: 0 to 100

So I should send the following when the slider is outputting 50%: /volume 50

I am still searching within this fantastic application how to set the settings.

But it looks very promising.

Hey,

You should set range under fader to:

{
“min”: 0,
“max”: 100
}
under address: /volume

This should work.

this should be a starting point ?
fader_50.json (3.0 KB)

Nice to see your example how you can make a default button.
But it wil not send these output to the OSC player,

@Kristaps Ive i put the range in the preArgs box nothing happens.

What i needed is a floating output between 0 and 100.

try in the range
{
“min”: 0,
“max”: 100
}

Hi Zoltan,

But where should i place these value.
{
“min”: 0,
“max”: 100
}

Right here:

Ok I think ive got the same setting. But it is stil not working. Integer & String commands er working fine. So the connection is fine.

You can enable the server’s debug option to print what’s actually being sent when you move the fader. From your screenshot the widget seems okay, are you confident your player expects a float and not an integer ?

Oke the debug option is great.

The player accept the command as a STRING.
Standard the slider is sending the osc value as FLOAT.

So i set a s by typeTags under the tap OSC.

Thanks for the fast feedback today. Ive learn a lot in one day :slight_smile:

1 Like