hi,
the first version of my little drummer is allmost beta ready, but i got a little problem (and i'm tired, "coded" whole day)...
i got 32 toggle buttons with receive-symbols "$0-jp01-r", "$0-jp02-r", "$0-jp03-r"... etc. and i managed to save the actual states of the buttons in a table. and saving&loading that table in/from a file is also no problem... but now i want to update the state of toggle buttons from the table and that seems to take my patience, so any help on this would be very thankfull
i'm quite new, so maybe theres a simple way doing this...
thnx -andre
Andre Schmidt hat gesagt: // Andre Schmidt wrote:
i got 32 toggle buttons with receive-symbols "$0-jp01-r", "$0-jp02-r", "$0-jp03-r"... etc. and i managed to save the actual states of the buttons in a table. and saving&loading that table in/from a file is also no problem... but now i want to update the state of toggle buttons from the table and that seems to take my patience, so any help on this would be very thankfull
I'm not sure, if it's the best way, but I once did this with a fast [for++] from IEMLIB and a [tabread]. See example, where the for++ is slow.
Frank Barknecht _ ______footils.org__
hi Frank,
I seem to suffer from a terrible mail delivery delay here, so your answer has come too late -- its the same solution. I would rather use <range> -> [until] -> <a counter>, than [for++], though...
Krzysztof
Frank Barknecht wrote: ...
I'm not sure, if it's the best way, but I once did this with a fast [for++] from IEMLIB and a [tabread]. See example, where the for++ is slow.
Krzysztof Czaja hat gesagt: // Krzysztof Czaja wrote:
I seem to suffer from a terrible mail delivery delay here, so your answer has come too late
But I sent it just his morning...
-- its the same solution. I would rather use <range> -> [until] -> <a counter>, than [for++], though...
Yep, that's better. And one could change the starting value with a [+ f]
Frank Barknecht _ ______footils.org__
Krzysztof Czaja wrote:
hi Frank,
I seem to suffer from a terrible mail delivery delay here, so your
ah yes.. finally i hope i have managed it (?) somehow i set up our mail-server as an open-relay and it has been blocked by many anti-spam sites. i have fixed this now, but it took some time, to convince all the databases that i am clean again.
i can ensure all of you, that we are not (willingly) sending/relaying spam.
mfg.fd.str IOhannes
hi,
this is what i was after [makefilename $0-jp%d-r] (i've even used it, but forgot:)
thnx for the exsample patch, very usefull !
thnx -andre
----- Original Message ----- From: "Frank Barknecht" barknech@ph-cip.uni-koeln.de To: "PD-LiST" pd-list@iem.kug.ac.at Sent: Thursday, June 06, 2002 8:49 AM Subject: Re: [PD] table to receive?
Andre Schmidt hat gesagt: // Andre Schmidt wrote:
i got 32 toggle buttons with receive-symbols "$0-jp01-r", "$0-jp02-r", "$0-jp03-r"... etc. and i managed to save the actual states of the buttons in a table. and saving&loading that table in/from a file is also no problem... but now i want to update the state of toggle buttons from the table and that seems to take my patience, so any help on this would be very thankfull
I'm not sure, if it's the best way, but I once did this with a fast
[for++]
from IEMLIB and a [tabread]. See example, where the for++ is slow.
Ciao,
Frank Barknecht _ ______footils.org__
is there any method to change dimensions of "envgen" object from ggee lib? something instead of setting dimensions by hand in text file.
thanks a
----- Original Message ----- From: "Andre Schmidt" andre@vju.info To: "PD-LiST" pd-list@iem.kug.ac.at Sent: Thursday, June 06, 2002 12:41 PM Subject: Re: [PD] table to receive?
hi,
this is what i was after [makefilename $0-jp%d-r] (i've even used it, but forgot:)
thnx for the exsample patch, very usefull !
thnx -andre
----- Original Message ----- From: "Frank Barknecht" barknech@ph-cip.uni-koeln.de To: "PD-LiST" pd-list@iem.kug.ac.at Sent: Thursday, June 06, 2002 8:49 AM Subject: Re: [PD] table to receive?
Andre Schmidt hat gesagt: // Andre Schmidt wrote:
i got 32 toggle buttons with receive-symbols "$0-jp01-r", "$0-jp02-r", "$0-jp03-r"... etc. and i managed to save the actual states of the buttons in a table. and saving&loading that table in/from a file is also no problem... but now i want to update the state of toggle buttons from the table and that seems to take my patience, so any help on this would be very thankfull
I'm not sure, if it's the best way, but I once did this with a fast
[for++]
from IEMLIB and a [tabread]. See example, where the for++ is slow.
Ciao,
Frank Barknecht _ ______footils.org__
hi Andre,
have you tried looping this:
<ndx> -> t 0 0 -> [tabread <array>] -> (2)[pack s 0] -> ';$1 $2', and <the trigger above -> [makefilename $0-jp%d-r] -> (1)[<the pack above>]
using $0-jp1-r rather than $0-jp01-r?
But what bothers me most is that this is a case when a preset mechanism would come in handy. Is anybody working on this? (Thomas?)
Krzysztof
Andre Schmidt wrote: ...
i got 32 toggle buttons with receive-symbols "$0-jp01-r", "$0-jp02-r", "$0-jp03-r"... etc. and i managed to save the actual states of the buttons in a table. and saving&loading that table in/from a file is also no problem...
but now i want to update the state of toggle buttons from the table and
Krzysztof Czaja wrote:
hi Andre,
have you tried looping this:
<ndx> -> t 0 0 -> [tabread <array>] -> (2)[pack s 0] -> ';$1 $2', and <the trigger above -> [makefilename $0-jp%d-r] -> (1)[<the pack above>]
using $0-jp1-r rather than $0-jp01-r?
well, one could use [makefilename $0-jp%02d-r] to get $0-jp01-r rather than $0-jp1-r
But what bothers me most is that this is a case when a preset mechanism would come in handy. Is anybody working on this? (Thomas?)
well, there is a built in functionality that stores the state of selected (via the "init" option in the properties; default is "no-init") gui-objects when the patch get's saved.
the major drawback is, of course, that only one state can be stored.
Krzysztof
yes, that saving of all toggle,slider...etc GUI objects state direct from PDs menu to a file would be very nice... (wish)
...
sorry, but i have to ask something: how do i EASILY add 3 (or more) tables X in 1 table Y? (tables X are all same size) like; tableX1 : "123" tableX2 : "789" tableX3 : "456" [do something] tableY : "123789456"
i made it with [counter] (gem) adding all tables after each other in tableY, works... is there an "easier" way ?
thnx -andre
----- Original Message ----- From: "IOhannes zmoelnig" zmoelnig@iem.at To: "Krzysztof Czaja" czaja@chopin.edu.pl Cc: "Andre Schmidt" andre@vju.info; "PD-LiST" pd-list@iem.kug.ac.at Sent: Thursday, June 06, 2002 12:54 PM Subject: Re: [PD] table to receive?
Krzysztof Czaja wrote:
hi Andre,
have you tried looping this:
<ndx> -> t 0 0 -> [tabread <array>] -> (2)[pack s 0] -> ';$1 $2',
and
<the trigger above -> [makefilename $0-jp%d-r] -> (1)[<the pack above>]
using $0-jp1-r rather than $0-jp01-r?
well, one could use [makefilename $0-jp%02d-r] to get $0-jp01-r rather than $0-jp1-r
But what bothers me most is that this is a case when a preset mechanism would come in handy. Is anybody working on this? (Thomas?)
well, there is a built in functionality that stores the state of selected (via the "init" option in the properties; default is "no-init") gui-objects when the patch get's saved.
the major drawback is, of course, that only one state can be stored.
Krzysztof