Hi Frank
Maybe look at this concept attached tab-many.pd
its more generic.
Stef
Frank Barknecht skrev:
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
You can only store one number per index. So you either should use 3
arrays (i.e. $0-r, $0-g, $0-b) or group three values
oops, attached corrected
Steffen Leve Poulsen skrev:
Hi Frank
Maybe look at this concept attached tab-many.pd
its more generic.
Stef
Frank Barknecht skrev:
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
You can only store one number per index. So you either should use 3
Hallo,
punchik punchik hat gesagt: // punchik punchik wrote:
yes, something like that thanks, but why should i use arrays instead text
files? is it faster?
Yes, it's a lot faster especially with larger textfiles.
For example to read out line number 80 you would need to bang the
textfile
Barknecht f...@footils.org
Subject: Re: [PD] reading colors from txt file with repeat
To: pd-list@iem.at
Date: Wednesday, January 21, 2009, 3:59 AM
Hallo,
punchik punchik hat gesagt: // punchik punchik wrote:
yes, something like that thanks, but why should i use
arrays instead text files
Hallo,
punchik punchik hat gesagt: // punchik punchik wrote:
cool thanks, i have one more doubt , is there is a way to store 3
variable in one index of an array? how can i do if i would like to
have 3 values rgb at one index? or should i use 3 arrays one per
color?
You can only store one
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
You can only store one number per index. So you either should use 3
arrays (i.e. $0-r, $0-g, $0-b) or group three values inside one table
by adjusting the indices accordingly. It's easier to show in a patch
than to tell, so just
Hello pd happy people, one question , i have a txt file with rgb colors .
The txt file i have is something like this:
142 250 0
0 100 50
14 123 0
123 222 111 and so on.
each line represents the rgb color where the first item in each line is red ,
punchik punchik wrote:
Hello pd happy people, one question , i have a txt file with rgb colors .
The txt file i have is something like this:
142 250 0
0 100 50
14 123 0
123 222 111 and so on.
each line represents the rgb color where the first item
yes, something like that thanks, but why should i use arrays instead text
files? is it faster?
pun.
--- On Tue, 1/20/09, IOhannes m zmoelnig zmoel...@iem.at wrote:
From: IOhannes m zmoelnig zmoel...@iem.at
Subject: Re: [PD] reading colors from txt file with repeat
To: punch...@yahoo.com