Welcome to %s forums

BrainModular Users Forum

Login Register

Knobs showing just their current value

Tell us what you'd like Usine to do
Post Reply
ynohtna
Member
Posts: 36
Location: Brighton, UK
Contact:

Unread post by ynohtna » 31 Aug 2013, 17:20

I was just thinking that it would be great if the knob module had a "show cursor" option - kinda like what Faders have.

Because at the moment knobs always fill in the arc from 0 clockwise, whereas an option to just colour a blob at it's current value would be better when using knobs for panning/balance, bidirectional/crossfader controls, etc.

Does that make sense?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 31 Aug 2013, 18:04

Actually no easy,
but using contrasted color for knob background can be workaround..?
Image

ynohtna
Member
Posts: 36
Location: Brighton, UK
Contact:

Unread post by ynohtna » 31 Aug 2013, 19:23

Oh that's a shame but then, very little is rarely easy in code. :)

I like your suggestion for the contrast background workaround: could look very nice with the right colours. Although, I've just thought that I can maybe display something appropriate using the shape modules: experimentation time!

ynohtna
Member
Posts: 36
Location: Brighton, UK
Contact:

Unread post by ynohtna » 31 Aug 2013, 22:41

Well a bit of fiddling around with trigonometry, shape modules, and IML and I've got a nice little custom knob display sub-patch working:

Image :)

I'm still struggling with programmatically setting colours from fastscript, though.

Does anyone have a Hollyhock code example of either sending a colour (say $FFFF00FF) to a script outlet, or using IML to set a module's colour property (one that is only shown on the module layout page - "SET_LAYOUT" and "SET_VALUE" won't accept colours)?

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 03 Sep 2013, 09:26

IML examples will arrive soon.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests