Welcome to %s forums

BrainModular Users Forum

Login Register

Simple Previous / Next Buttons?

I need help on a Patch
Post Reply
gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 10 May 2009, 10:20

It's always the easy things that stump me..or at least it seems like it should be easy.
I have a listbox of numbersand I want to use two buttons to go up or down the list in increments of one...
Easy enough so far? How about a modifier switch to change the increment to 10 when switched on?

Although as usual, the answer will probably come to me while I'm not thinking about it ten minutes after posting this...

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

Unread post by nay-seven » 10 May 2009, 10:31

there's a patch in the addons , by master bsork , named : Keys2FaderV3
addons/others
i think it could inspire you...;-)

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 10 May 2009, 10:39

maybe something like this?
Image

oops you have to remove the wire out from 9 going down to plus 1, otherwise ssems to work ok.

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 10 May 2009, 20:40

Thanks guys for the examples. I think the 2fx23 solution wins for easiest to adapt to my patch, after a bit of bug-hunting ;)
(Here's how it should work )

Image

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 11 May 2009, 00:35

yes right corrected cool if it works for you. I first made like this and wanted to repin an input and forgot to correct sorry ;)

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 11 May 2009, 09:16

Apparently it's not only the easy things that stump me..I am just in general easily lost when trying to do smart things, especially when thay have anything to do with math and logic circuits.
Now I want to apply the up / down / X10 relative to a variable incoming value. However, if changed, the incoming value always supercedes the output value set with the up /down buttons....any real gurus wanna pitch in towards my cause again?

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 11 May 2009, 10:49

mmm not sure but you could try to set /min max of the actual center fader to neg/positive values (ie -100 100) so it will output the scroll pos or neg, then outside the patch you add this to your input with A plus B modules, or to keep in same patch create an input and link it directly to out, so it will be added to the scoll, if im not wrong if input is 10 and scroll -4 will output 6, if input change to 9 will output 5 ect.... but must be a better tec that would always reset the scroll to 0, otherwise you might be lost after a while. will try to check tonight, will need that too ;)

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 11 May 2009, 19:39

So easy, and I thought the very first thing I tried last night was connecting the variable value input with a pass if change directly to the fader input in the patch, but it didn't work properly. Now it works fine after morning coffee :???
No more thinking after 6PM...!

moody33
Member
Posts: 338
Contact:

Unread post by moody33 » 11 May 2009, 19:53

Here is my patch. When you reach the max or min value, the patch also perform a modulus.

Image

gurulogic
Member
Posts: 1019
Contact:

Unread post by gurulogic » 11 May 2009, 20:02

Nice! Modulus is a bonus.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests