## mouse down pots

Scope and XITE Development

Original topic on PlanetZ: https://forums.scopeusers.com/viewtopic.php?t=24865

#### mouse down pots

Posted: Mon Mar 31, 2008 10:44 am
by Shroomz~>
Hi,
does anyone know how I can make a mouse down pot which has a mouse down action similar to a momentary button/switch?
The purpose is that I want the pots on a device to send a momentary val of 1 when they are clicked (not moved) & back to a val of 0 with the release of the mouse button.
Any ideas?

####

Posted: Mon Mar 31, 2008 10:54 am
by hifiboom
Hi Shroomz
yep this is very simple.
- load a button
- go to the var section and change function value to 4.
just try them out, its just 5 or 6 you can choose for various other tasks.
default is I think 2.
the same with the pots, where you can change the rotation handling.
up/down - rotate in cw, etc......

####

Posted: Mon Mar 31, 2008 10:57 am
by Shroomz~>
Thanks, but I already know how to get the momentary action on a button.
What I want to do is get the same momentary action on a potentiometer....

####

Posted: Mon Mar 31, 2008 11:28 am
by Shroomz~>
In fact it doesn't even need to be a momentary action necessarily... if I could even just get a pot to send a single val of 1 when it's selected with a mouse click, that would be ideal.

####

Posted: Mon Mar 31, 2008 11:43 am
by hifiboom
sorry i misunderstood your question a bit.....

####

Posted: Mon Mar 31, 2008 12:16 pm
by Shroomz~>
Yes, I know.
So anyway, what's the solution here? I know it's possible to create a val when the pot is moved, but how do I do it when the pot is clicked? It must be possible because the sdk recognises a pot selection...

####

Posted: Mon Mar 31, 2008 2:04 pm
by hifiboom
but who would click a pot?
then the pot would be a button by definition....
sorry for my rude type of humor.....

####

Posted: Mon Mar 31, 2008 2:06 pm
by Shroomz~>
OK hifi, thanks for your help.
HELP

####

Posted: Tue Apr 01, 2008 6:43 am
by hifiboom
so to bring it to the point?
what is exactly your intention, you want a knob, that can control something by the knob movement but also does some kind of selection?
so when you click f.e. one of 3 knobs an lcd gets changed to a new parameter?

####

Posted: Tue Apr 01, 2008 7:28 am
by kylie
there are midi controllers that implement an additional push function for rotary encoders. I think he wants it to work exactly that way...

####

Posted: Tue Apr 01, 2008 7:49 am
by Neutron
If you make the graphics match, maybe you could just use an actual button and put it on the middle of the pot i was wondering about that as well, because of the behringer BCR/BCF
im still waiting for the SDK though.

####

Posted: Tue Apr 01, 2008 8:41 am
by Shroomz~>
Hifiboom isn't too far off the mark, except I had more than 3 controls in mind (and no LCD). One of the main uses I can see for this type of control is for a parameter related paging system, where a page will update depending on the selected control.
I've tried adding a button but then the button is selected instead of the pot. You can make the button smaller in the centre of the cap and select either pot or button, but this isn't as intuitive as getting both click and movement responses from one control.
I can also get the paging to update from pot movement, but then you need to alter a parameter to get the page to update. This would be OK for an LCD type parameter update, but it's not ideal for what I had in mind.

####

Posted: Tue Apr 01, 2008 6:35 pm
by Neutron
A little surprise in the mail today
anyways i tried my idea, and it might not work. which is to add the button pad right into a knob "device" Im a bit rusty though i think i did something wrong.
Started a new device though!

####

Posted: Tue Apr 01, 2008 7:12 pm
by hifiboom
@shroomz, i thought abou something like the lcd thing also some time ago.
where you have various knobs for different parameters and the one lcd display, that for example shows "size 30meteres" when you move the sizing knob on a reverb and "decay=20s" when you move decay time etc....
cleaning up the gui a bit.....
@neutron: so you got your long-awaited sdk license?
great! welcome back in the club ....

####

Posted: Wed Apr 02, 2008 4:08 am
by Neutron

> hifiboom wrote:@shroomz, i thought abou something like the lcd thing also some time ago.
> where you have various knobs for different parameters and the one lcd display, that for example shows "size 30meteres" when you move the sizing knob on a reverb and "decay=20s" when you move decay time etc....
> cleaning up the gui a bit.....
> @neutron: so you got your long-awaited sdk license?
> great! welcome back in the club ....

The orbitone syn chrome used to have that if i remember right, and it was one of the very first synths.
yes i got it.

####

Posted: Wed Apr 02, 2008 2:59 pm
by Shroomz~>
If we figure this one out, it has lots of applications for device building, not just virtual graphic lcd displays.

####

Posted: Wed Apr 02, 2008 4:18 pm
by hifiboom
the thing is the sdk is more or less all tools that cw needed in the last century for their own plug-in creations.
So there are def. some limitations as long as you don`t have access to scripting, gui and other coding enigne, and/or the assembler part for coding atoms running on the dsps.

####

Posted: Wed Apr 02, 2008 4:59 pm
by voidar
What about multiple surfaces or panels? I was thinking more in terms of a visual trick utilizing z-order.
From my experience, the highlighted device comes visually at top.
Check my sketch.
Stipple lines are hidden, but the idea is that all panels share the same space ("screen"). And there could be a top border-layer if needed.
This can of course be expanded past three panels.

Attachments
    Idea.PNG (22.39 KiB) Viewed 3365 times

####

Posted: Thu Apr 03, 2008 3:51 am
by Refrochia
Looks like a TV on wheels

####

Posted: Thu Apr 03, 2008 4:27 am
by Shroomz~>
Sketch looks great Voidar.

####

Posted: Thu Apr 03, 2008 9:22 am
by voidar
Thanks .. MS Paint is the bruuuhtals..!