hey,
i find myself often repeating a construct like this:
[t b a] | | [1 ( ... |
now, the last time i was using Max, i noticed that Max's trigger object allows you to go
[t 1 a]
and the left outlet will send out the number 1. or even:
[t reset a]
and the left outlet sends out the message 'reset'. this seems to me like an extremely handy feature, so if it gets the blessings of the list(s) i'd like to go and implement it and submit a patch.
what do folks think of this? i know there was some discussion a year or two ago, talking about how you should only be using the 'bang' and 'anything' keywords with trigger and not using it as a type-bashing object. not sure what came of that though...
chur d
Damian Stewart wrote:
hey,
[t 1 a]
i like this
[t reset a]
but i don't like this.
it makes the bfsla syntax less readable: why does [t a b c] output "c" at the 3rd outlet, but neither "a" nor "b" on the 1st two outlets? (for those who don't like abbreviations: [trigger bang this float])
on a related issue: the reason for zexy's pack is that in Pd we can have [pack 12 43] but not [pack two symbols]...
fgmsadr IOhannes
Le 21 nov. 08 à 18:07, IOhannes m zmoelnig a écrit :
Damian Stewart wrote:
hey,
[t 1 a]
i like this
[t reset a]
but i don't like this.
it makes the bfsla syntax less readable: why does [t a b c] output "c" at the 3rd outlet, but neither "a"
nor "b" on the 1st two outlets?
Maybe using something like [t \a \b c] or [t \a \b \c] output "a",
"b" and "c" ?
And [t a b c] output anything, bang and "c" ?
++
Jack
(for those who don't like abbreviations: [trigger bang this float])
on a related issue: the reason for zexy's pack is that in Pd we can
have [pack 12 43] but not [pack two symbols]...fgmsadr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
Damian Stewart wrote:
[t 1 a]
i like this
Me doesn't like it too much: Conceptually it clashes a bit with the possibility to replace "f" with a number in [pack]:
[pack f f f f f f f f f]
is almost the same as
[pack 1 2 3 4 5 6 7 8 9]
but the latter is easier for counting the arguments.
And how should [t 1 a] react to a list of "2 3 4": Should the first outlet give 1 or 2?
Frank Barknecht Do You RjDj.me? _ ______footils.org__
Using a \ (or something else) in [trigger] or [pack] before a float
or a symbol could force this to output ?
In all cases, i think it is not to much to add a 'message' under a
'bang' from [trigger].
++
Jack
Le 21 nov. 08 à 19:25, Frank Barknecht a écrit :
Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
Damian Stewart wrote:
[t 1 a]
i like this
Me doesn't like it too much: Conceptually it clashes a bit with the possibility to replace "f" with a number in [pack]:
[pack f f f f f f f f f]
is almost the same as
[pack 1 2 3 4 5 6 7 8 9]
but the latter is easier for counting the arguments.
And how should [t 1 a] react to a list of "2 3 4": Should the first outlet give 1 or 2?
Ciao
Frank Barknecht Do You RjDj.me? _
______footils.org__
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hi Damian
i like to use a list in your case since many objects map the list to the inlets.
[1 $1( | [-]
eni
Damian Stewart wrote:
hey,
i find myself often repeating a construct like this:
[t b a] | | [1 ( ... |
now, the last time i was using Max, i noticed that Max's trigger object allows you to go
[t 1 a]
and the left outlet will send out the number 1. or even:
[t reset a]
and the left outlet sends out the message 'reset'. this seems to me like an extremely handy feature, so if it gets the blessings of the list(s) i'd like to go and implement it and submit a patch.
what do folks think of this? i know there was some discussion a year or two ago, talking about how you should only be using the 'bang' and 'anything' keywords with trigger and not using it as a type-bashing object. not sure what came of that though...
chur d
On Fri, Nov 21, 2008 at 05:48:45PM +0100, Damian Stewart wrote:
hey,
i find myself often repeating a construct like this:
[t b a] | | [1 ( ... |
why don't you just make some handy abstraction ?
now, the last time i was using Max, i noticed that Max's trigger object allows you to go
[t 1 a]
and the left outlet will send out the number 1. or even:
[t reset a]
and the left outlet sends out the message 'reset'. this seems to me like an extremely handy feature, so if it gets the blessings of the list(s) i'd like to go and implement it and submit a patch.
what do folks think of this? i know there was some discussion a year or two ago, talking about how you should only be using the 'bang' and 'anything' keywords with trigger and not using it as a type-bashing object. not sure what came of that though...
chur d -- damian stewart | skype: damiansnz | damian@frey.co.nz frey | live art with machines | http://www.frey.co.nz
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
errordeveloper@gmail.com wrote:
On Fri, Nov 21, 2008 at 05:48:45PM +0100, Damian Stewart wrote:
hey,
i find myself often repeating a construct like this:
[t b a] | | [1 ( ... |
why don't you just make some handy abstraction ?
cos sometimes i'd like to go [t 1 b] and sometimes [t b 1], and sometimes [t b 1 b 0 a 69 a b]
On Nov 21, 2008, at 1:58 PM, Damian Stewart wrote:
errordeveloper@gmail.com wrote:
On Fri, Nov 21, 2008 at 05:48:45PM +0100, Damian Stewart wrote:
hey,
i find myself often repeating a construct like this:
[t b a] | | [1 ( ... |
why don't you just make some handy abstraction ?
cos sometimes i'd like to go [t 1 b] and sometimes [t b 1], and
sometimes [t b 1 b 0 a 69 a b]
I think this should definitely not be part of pd-vanilla's
[trigger]. It's been around for ever, and that would cause much
confusion.
But there is nothing stopping you from making your own trigger that
acts anyway you want it to.
.hc
-- damian stewart | skype: damiansnz | damian@frey.co.nz frey | live art with machines | http://www.frey.co.nz
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers. - General
Smedley Butler