Actually, I usually connect the output of the [mod] object back into
the [f 0], but the ASCII patching made that a little difficult to
describe.
~Kyle
On 6/13/07, Mathieu Bouchard <[EMAIL PROTECTED]> wrote:
> On Wed, 13 Jun 2007, Kyle wrote:
>
> > [inlet keypress]
> > |
> > [sel 0 1]
> >
On Wed, 13 Jun 2007, hard off wrote:
This will fail once [f] increments to 16777216<
yep, you'd get a pretty sore finger doing that many keypresses as well.
I know that it's extremely unlikely to happen, but one day you'll want
such a counter for something else that is triggered automaticall
This will fail once [f] increments to 16777216<
yep, you'd get a pretty sore finger doing that many keypresses as well.
[f]X[==]
nice trick. cheers.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/
On Wed, 13 Jun 2007, Kyle wrote:
[inlet keypress]
|
[sel 0 1]
|
[f 0]X[+1]
|
[mod 2]
|
[outlet to wherever]
This will fail once [f] increments to 16777216 (also known as 256 cubed),
and then it will get stuck, because that's the last co
Or alternatively, just use this construction:
[inlet keypress]
|
[sel 0 1]
|
[f 0]X[+1]
|
[mod 2]
|
[outlet to wherever]
Note: the first outlet of [sel] is ignored.
~Kyle
On 6/13/07, IOhannes m zmoelnig <[EMAIL PROTECTED]> wrote:
>
David Powers wrote:
> Woops, I'm tired, I meant a TOGGLE (the gui kind) not a TRIGGER ~D
>
i think you meant both a trigger and a toggle.
since toggle will set its value to the incoming number, you will want to
de-number the output of [ctlout] by using [t b]
gmasdr
IOhannes
___
Woops, I'm tired, I meant a TOGGLE (the gui kind) not a TRIGGER ~D
On 6/13/07, David Powers <[EMAIL PROTECTED]> wrote:
> One quick and dirty solution is to put a trigger after the ctlout...
> ~David
>
> On 6/12/07, PROTMAN <[EMAIL PROTECTED]> wrote:
> > I am sending a value of 0 and 1 toward a
One quick and dirty solution is to put a trigger after the ctlout...
~David
On 6/12/07, PROTMAN <[EMAIL PROTECTED]> wrote:
> I am sending a value of 0 and 1 toward a midi ctlout. When my button is
> pressed down, it sends 1, when it is up, it sends 0.
>
> I want this to instead alternate values so
I am sending a value of 0 and 1 toward a midi ctlout. When my button is
pressed down, it sends 1, when it is up, it sends 0.
I want this to instead alternate values so that when pressed down it sends
1, when let go, it stays at 1, when pressing again it sends 0, when letting
go it stays at 0..
a