Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Pad selectors(or "radio" selectors)

Post any examples or modules that you want to share here

Re: Pad selectors(or "radio" selectors)

Postby billv » Wed Dec 10, 2014 9:18 pm

Walter Sommerfeld wrote:Can u change it 4 me so i can (de-)select multiple pads while dragging ?

That's where it began actually Walter, the radio selector version was just a quick detour... :)
I was trying to build a "Multi-purpose Grid Template" ...anyway...
Control....
1. left mouse click/drag = Draw
2. rightmouse click/drag = Delete
3. Right double click = Delete all
Outputs...
1. Selection
2. Selection array
3. Alt value
4. Alt value array
5. Boolean Array

Notes:
Mouse capture is standard and not accurate... having trouble writing the accurate mouse in...
Preset is working, but note I've used the Preset String Prim. Don't really trust it....not sure...
It claims a max of 256 chr, but I'm still getting results with more than 256 chr.

Hope its useful...Thanks for feedback Walter...Cheers
Grid_BV_RowsandColums.fsm
(126.2 KiB) Downloaded 931 times
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Pad selectors(or "radio" selectors)

Postby tulamide » Thu Dec 11, 2014 3:04 am

billv wrote:Preset is working, but note I've used the Preset String Prim. Don't really trust it....not sure...
It claims a max of 256 chr, but I'm still getting results with more than 256 chr.

That's once again a restriction of the VST 2.4 standard (255 bytes plus null byte = 256 byte string). Byte = char in plain ASCII. So it might work with more chars, but those hosts exactly supporting VST2.4 won't. Just make sure you use 255 chars at most to stay compatible with the standard.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Pad selectors(or "radio" selectors)

Postby billv » Thu Dec 11, 2014 6:52 am

Thanks tulamide. Preset String Prim was a bad choice.
Not suitable...will go back to VST Parameter Array Prim
and try to fix bug that made me change to Preset String Prim.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Pad selectors(or "radio" selectors)

Postby Walter Sommerfeld » Thu Dec 11, 2014 6:35 pm

nearly perfect billv...

I need to deselect also via LDown (Touch-Screen) - is this possible 4U???

Thanks again
Walter

P.S.: Please exclude the edge area from Mouse area - if doable!
This way diagonal mouse moves (with greater edges around the pads) are possible wo activating all pads around... ;)
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: Pad selectors(or "radio" selectors)

Postby billv » Thu Dec 11, 2014 7:51 pm

Walter Sommerfeld wrote:I need to deselect also via LDown (Touch-Screen) - is this possible 4U???

Yeh maybe.....I can "see" a way forward on this....but will take a fair bit of re-writing..
Got some days off soon.....have patience Walter...I'm a bit slow....
Walter Sommerfeld wrote:This way diagonal mouse moves (with greater edges around the pads) are possible wo activating all pads around...

Saw that issue with diagonal moves...had no idea how to fix....
Thanks for the tip Walter... I've seen the other guys use "inner" and "outer" technique...
Not real confident here but will take a look at that too.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Pad selectors(or "radio" selectors)

Postby kortezzzz » Fri Dec 12, 2014 7:09 am

Amazing stuff, billv. It's a pearl. :)

If you could remove the limitation of fixed grid size and put a scroller (like in trogs super-text module), would be great, so then we can finally abandon the nasty drop list prim for reading text files from folders and making them selectable straight from the GUI. Trog's one is quite good and cleaver module, but sometimes freaks out, makes difficult to locate the text in the right position and not always reads the incoming array (especially string array) from the preset. Yours is much reliable.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Pad selectors(or "radio" selectors)

Postby billv » Fri Dec 12, 2014 8:35 am

kortezzzz wrote:Trog's one is quite good and cleaver module, but sometimes freaks out,

Bummer you got issues with that. I built a program earlier in the year( was lost in crash)
that used Trog's Radio extensively, and it worked great. It's a great piece of work, but
real hard for noobs to modify code cause you got to work around Trog's monster brain... :lol:
(that's the only reason I had to build my own...
I couldn't work out how to get rid of the spacings in-between each graphic.. :D )
kortezzzz wrote:remove the limitation of fixed grid size and put a scroller

Yeh ..I saw this too a while back....defiantly want a version like that as well..
On the list somewhere.. looks like a fun mod too...
PS
Nice job on the graphics for gurus..that site is really looking good..will be massive in a few years..

Walter Sommerfeld wrote:I need to deselect also via LDown (Touch-Screen) - is this possible 4U???

This is done now . I'm getting a slight bug though...clicking really fast on/off is buggy.
Clicking normal speed on/off is fine....I'll up it when it's faultless...or near as i can get...
This new behavior kind of works well in practice and makes sense Walter.

EDIT:
@kortezzzz...
If you can isolate the issue with Trog's radio, stick it in example fsm and up it to General section,
I'm sure the gurus can probably sort it out if Trog's busy/not around...
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Pad selectors(or "radio" selectors)

Postby Walter Sommerfeld » Fri Dec 12, 2014 12:35 pm

I need to deselect also via LDown (Touch-Screen) - is this possible 4U???

This is done now .
This new behavior kind of works well in practice and makes sense Walter.


...awesome news

I'm getting a slight bug though...clicking really fast on/off is buggy.
Clicking normal speed on/off is fine....I'll up it when it's faultless...or near as i can get...

Yeah - this mouse behaviour is a little mess - i know it 2 well inside my own projects :(

btw: if u even make a gradient possible in the back 4 each pad - this would be nice 2!

keep on doing!
Walter
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: Pad selectors(or "radio" selectors)

Postby kortezzzz » Fri Dec 12, 2014 12:46 pm

I couldn't work out how to get rid of the spacings in-between each graphic..


Yep! :lol: I also tried to fix the spaces for almost a damn hour before ended up with a reasonable compromise.
And the preset thing almost made me loose my mind before I found out that the string array input can't be
fed straight from text prim. But cheers to trog for the pioneering ;)

On the list somewhere

Great news 8-)

Nice job on the graphics for gurus..that site is really looking good..will be massive in a few years..


Thanks. Was glad to have a chance to contribute my modest contribution to the community.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Pad selectors(or "radio" selectors)

Postby billv » Fri Dec 12, 2014 7:23 pm

Walter Sommerfeld wrote:this mouse behaviour is a little mess

Worked out the issue last night. Problem is this Walter.
EG: Switch is on...left click and release mouse... switch turns off..perfect..
But if you move the mouse after click and before release, the mouse capture
is activated and will quickly turn the switch back on..
In other words, LMouse Down delete works....but only if you dont move the mouse
and activate the mouse capture...
End result is it feels like a bug to the user....I can't see a way around this ATM...
Walter Sommerfeld wrote: if u even make a gradient possible in the back 4 each pad - this would be nice 2!

Color/Gradient options should't be hard....will take a look at that too...
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

PreviousNext

Return to User Examples

Who is online

Users browsing this forum: No registered users and 11 guests