"00"?

Dec 30, 2006 at 9:57pm

"00"?

This may just be silly, but I’ve been trying to get a message box to display “00″, and I can’t figure it out!
I’ve tried a coll to output 00, I’ve tried a couple other things as well, even a sprintf to try and format a list, but to no avail. Is there no way to display “00″ in a message box?

Thanks Cycling74 Community!

#29434
Dec 30, 2006 at 11:01pm

as far as i know, thats not possible with plain vanilla numbox.
look for rs.numbox on maxobjects.com, that does it nicely.

hans

hans w. koch
im krahnenhof 11
d-50668 koeln
+49-221-554902
http://www.hans-w-koch.net

Am 30.12.2006 um 22:57 schrieb Michael Hastings:

>
> This may just be silly, but I’ve been trying to get a message box
> to display “00″, and I can’t figure it out!
> I’ve tried a coll to output 00, I’ve tried a couple other things as
> well, even a sprintf to try and format a list, but to no avail. Is
> there no way to display “00″ in a message box?
>
> Thanks Cycling74 Community!

#92071
Dec 30, 2006 at 11:38pm

On 31 Dec 2006, at 00:01, hans w. koch wrote:

> as far as i know, thats not possible with plain vanilla numbox.
> look for rs.numbox on maxobjects.com, that does it nicely.
>
> hans
>
> Am 30.12.2006 um 22:57 schrieb Michael Hastings:
>
>>
>> This may just be silly, but I’ve been trying to get a message box
>> to display “00″, and I can’t figure it out!
>> I’ve tried a coll to output 00, I’ve tried a couple other things
>> as well, even a sprintf to try and format a list, but to no avail.
>> Is there no way to display “00″ in a message box?

it is possible, with a little trick…
vb

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 54 49 60 196617 loadmess 0;
#P message 54 125 50 196617 00_;
#P number 54 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 54 98 93 196617 sprintf set %02d_;
#P newex 265 49 60 196617 loadmess 0;
#P message 265 125 50 196617 00 ;
#P number 265 74 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 265 98 93 196617 sprintf set %02d ;
#P window linecount 4;
#P comment 154 79 100 196617 more elegant with a non-printable at the
end (as pcastine once proposed);
#P connect 6 0 5 0;
#P connect 5 0 7 0;
#P connect 8 0 6 0;
#P connect 4 0 2 0;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P window clipboard copycount 9;

#92072
Jan 1, 2007 at 8:58pm

vb wrote:
> it is possible, with a little trick…
> vb

The unvisible space didn’t make it to the list somehow. Its ascii 202 or
alt-space on my Mac…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#92073
Jan 1, 2007 at 9:38pm

Quote: Dj_ICN wrote on Sat, 30 December 2006 22:57
—————————————————-
> This may just be silly, but I’ve been trying to get a message box to display “00″, and I can’t figure it out!
> I’ve tried a coll to output 00, I’ve tried a couple other things as well, even a sprintf to try and format a list, but to no avail. Is there no way to display “00″ in a message box?
>
> Thanks Cycling74 Community!
—————————————————-

Wow, that’s a nice example of a drawback of the automatic typecasting system!

Could this be a reason to reconsider my explicit typecasting proposal in this thread: http://www.cycling74.com/forums/index.php?t=msg&th=22827&prevloaded=1&rid=3579&S=fea9fc8a3dc7492d221e367708ba97ed&start=40#msg_num_26
?

Mattijs

#92074
Jan 2, 2007 at 1:42am

#92075
Jan 2, 2007 at 2:14am

#92076
Jan 2, 2007 at 4:46am

On 1-Jan-2007, at 21:14, Steven Miller wrote:

>> maybe its possible for you to append something to your
>> 00 number?
>
> Why should this be necessary?

Because that’s the way things work in Max.

I am honestly reminded by the current spate of threads on formatting
in Max of nothing so much as the guy who got into a brand new Honda
Civic, drove it into the Gulf of Mexico, and asked “Why doesn’t the
car go in water?”

Because it don’t.

No matter how much of a newbie you may or may not be, until you come
to terms with how Max differentiates between numbers and symbols you
are doomed to eternal perdition. Simple as that.

Easy rule #1: if Max can interpret something as a number, it *will*
interpret it as a number.

Easy rule #2: text is parsed as a stream of ints, floats, and symbols
separated by white space; when reconstructing a stream of ints,
floats, and symbols, Max condenses any white space into a single
space char.

Was that hard?

Maybe Max 5 will introduce greater flexibility in handling of text.
But nobody knows when it will come out and whatever flexibility it
adds will still have to recognize the differentiation between numbers
and symbols that has been the backbone of the language for close to
two decades.

When I teach Max I explain symbol handling carefully and recommend
that people get used to it rather than go through life with
expectations of the language that are just going to be unfulfilled.
Life is too short for that.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

#92077
Jan 2, 2007 at 5:55am

#92078
Jan 2, 2007 at 6:30am

#92079
Jan 2, 2007 at 9:41am

#92080
Jan 2, 2007 at 12:52pm

Quote: Peter Castine wrote on Tue, 02 January 2007 05:46
—————————————————-
> I am honestly reminded by the current spate of threads on formatting
> in Max of nothing so much as the guy who got into a brand new Honda
> Civic, drove it into the Gulf of Mexico, and asked “Why doesn’t the
> car go in water?”
>

I see more resemblance with the days when a typical car wasn’t likely to start without pushing it manually for 50 metres. People knew it and expected it to be that way, still I am happy they didn’t stop developing at that point..

I think we’re not talking about how max currently works (although while on that subject, I am still in favor of good documentation, how about your course materials, Peter?), I believe we’re talking about what would be ideal. No need to say the goal is not to express any lack of appreciation towards the current state of max.

From my point of view Max/MSP has a great future as a graphical programming language. In that case it is necessary to think in terms of datatypes and typecasting. For the record, theory and knowledge about this are older than Max.

The idea that elements of the standard library of a programming language automatically try to typecast every string to an integer or float (or list, see for example sprintf) seems crazy to me.

Of course not everyone has to agree with my vision of the future max and the terminology and basic concepts that come with it. But let’s say that at least one characteristic of programming languages is that users never have questions about the way data is structured in different types and processed accordingly. If max could reach a similar state of consistency, that would be a great milestone.

Best,
Mattijs

#92081
Jan 2, 2007 at 1:18pm

On 2 Jan 2007, at 12:52, Mattijs Kneppers wrote:

> The idea that elements of the standard library of a programming
> language automatically try to typecast every string to an integer
> or float (or list, see for example sprintf) seems crazy to me.

Crazy or not, this behaviour is not unusual; Perl and PHP do this
kind of thing, for example (under various circumstances).

– N.

#92082
Jan 2, 2007 at 9:31pm

Now I feel bad for stirring up this hornets nest. I was just trying to make a display clock for a Contraction Timer I’m trying to build for my wife (she’s 9 months pregnant). The ability to display a time such as 09:00:37 was my only desire, and now I feel that the work to obtain such a minor victory in this situation isn’t worth my time. I am very impressed at the level of debate this has started, and I thank everyone for sharing their insight opinion, frustration in this thread.

#92083
Jan 2, 2007 at 9:41pm

This must be your first child, since you still have enough free time
to build contraction timers in Max!

Kudos to you for using Max to its fullest – and best of luck with your child!

Dan

At 2:31 PM -0700 1/2/07, Michael Hastings wrote:
>Now I feel bad for stirring up this hornets nest. I was just trying
>to make a display clock for a Contraction Timer I’m trying to build
>for my wife (she’s 9 months pregnant). The ability to display a time
>such as 09:00:37 was my only desire, and now I feel that the work to
>obtain such a minor victory in this situation isn’t worth my time. I
>am very impressed at the level of debate this has started, and I
>thank everyone for sharing their insight opinion, frustration in
>this thread.


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X
http://www.defectiverecords.com

http://www.jackosx.com

#92084
Jan 2, 2007 at 9:49pm

>Now I feel bad for stirring up this hornets nest. I was just trying
>to make a display clock for a Contraction Timer I’m trying to build
>for my wife (she’s 9 months pregnant). The ability to display a time
>such as 09:00:37 was my only desire, and now I feel that the work to
>obtain such a minor victory in this situation isn’t worth my time. I
>am very impressed at the level of debate this has started, and I
>thank everyone for sharing their insight opinion, frustration in
>this thread.

come on!!!

if showing teh resulting time in a message box (and not a numbox) is
ok for you, the following patch should help you (only minutes and
seconds, but easy to add hours as well)

best

kasper

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 382 269 62 196617 prepend set;
#P window setfont “Sans Serif” 36.;
#P message 382 308 117 196644 00:03;
#P window setfont “Sans Serif” 9.;
#P newex 448 66 31 196617 sel 1;
#P message 448 88 14 196617 0;
#N counter;
#X flags 0 0;
#P newobj 382 110 66 196617 counter;
#P toggle 382 46 15 0;
#P newex 382 88 63 196617 metro 1000;
#P number 382 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 382 208 29 196617 / 10;
#P number 423 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 423 208 32 196617 % 10;
#P number 382 185 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 382 247 135 196617 sprintf %s%s:%s%s;
#P number 464 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 464 208 29 196617 / 10;
#P number 505 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 505 208 32 196617 % 10;
#P number 464 185 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 464 165 32 196617 % 60;
#P number 382 131 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 382 165 29 196617 / 60;
#P connect 20 0 19 0;
#P connect 8 0 20 0;
#P connect 15 0 14 0;
#P fasten 15 0 18 0 387 63 453 63;
#P connect 9 0 12 0;
#P fasten 9 0 10 0 387 205 428 205;
#P connect 3 0 6 0;
#P fasten 3 0 4 0 469 203 510 203;
#P connect 1 0 0 0;
#P fasten 1 0 2 0 387 161 469 161;
#P connect 14 0 16 0;
#P connect 16 0 1 0;
#P connect 0 0 9 0;
#P connect 12 0 13 0;
#P fasten 17 0 16 2 453 106 415 106;
#P connect 10 0 11 0;
#P connect 11 0 8 1;
#P connect 2 0 3 0;
#P connect 6 0 7 0;
#P connect 7 0 8 2;
#P connect 4 0 5 0;
#P connect 5 0 8 3;
#P connect 18 0 17 0;
#P connect 13 0 8 0;
#P window clipboard copycount 21;

#92085
Jan 2, 2007 at 9:56pm

On 2 janv. 07, at 22:31, Michael Hastings wrote:
> I was just trying to make a display clock for a Contraction Timer
> I’m trying to build for my wife (she’s 9 months pregnant). The
> ability to display a time such as 09:00:37 was my only desire

If you are on a mac, download my rs.numbox (as hans already
suggested), there’s a readymade time display in the help file.
http://www.arts.lu/roby/
If you are on Windows, too bad, your baby will be born before I will
have a windows version ready.
But what is a windows port of my objects compared to a new born baby.
Good luck!

Roby

#92086
Jan 2, 2007 at 9:57pm

>Now I feel bad for stirring up this hornets nest. I was just trying
>to make a display clock for a Contraction Timer I’m trying to build
>for my wife (she’s 9 months pregnant). The ability to display a time
>such as 09:00:37 was my only desire, and now I feel that the work to
>obtain such a minor victory in this situation isn’t worth my time. I
>am very impressed at the level of debate this has started, and I
>thank everyone for sharing their insight opinion, frustration in
>this thread.

et avec les heures

#P window setfont “Sans Serif” 9.;
#P number 303 183 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 278 203 31 196617 / 10;
#P number 279 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 318 203 34 196617 % 10;
#P number 319 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 307 160 43 196617 / 3600;
#P newex 338 321 62 196617 prepend set;
#P window setfont “Sans Serif” 36.;
#P message 338 346 159 196644 51::;
#P window setfont “Sans Serif” 9.;
#P newex 448 66 31 196617 sel 1;
#P message 448 88 14 196617 0;
#N counter;
#X flags 0 0;
#P newobj 382 110 66 196617 counter;
#P toggle 382 46 15 0;
#P newex 382 88 64 196617 metro 1000;
#P number 382 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 382 208 29 196617 / 10;
#P number 423 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 423 208 32 196617 % 10;
#P number 382 185 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 346 276 136 196617 sprintf %s%s:%s%s:%s%s;
#P number 464 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 464 208 29 196617 / 10;
#P number 505 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 505 208 32 196617 % 10;
#P number 464 185 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 464 165 32 196617 % 60;
#P number 382 131 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 382 165 29 196617 / 60;
#P connect 15 0 14 0;
#P fasten 15 0 18 0 387 63 453 63;
#P connect 14 0 16 0;
#P connect 26 0 25 0;
#P connect 26 0 23 0;
#P connect 25 0 24 0;
#P connect 23 0 22 0;
#P connect 5 0 8 5;
#P connect 7 0 8 4;
#P connect 11 0 8 3;
#P connect 13 0 8 2;
#P connect 22 0 8 1;
#P connect 24 0 8 0;
#P connect 21 0 26 0;
#P connect 1 0 21 0;
#P connect 1 0 0 0;
#P fasten 1 0 2 0 387 161 469 161;
#P connect 8 0 20 0;
#P connect 20 0 19 0;
#P connect 9 0 12 0;
#P fasten 9 0 10 0 387 205 428 205;
#P connect 3 0 6 0;
#P fasten 3 0 4 0 469 203 510 203;
#P connect 16 0 1 0;
#P connect 0 0 9 0;
#P connect 12 0 13 0;
#P fasten 17 0 16 2 453 106 415 106;
#P connect 10 0 11 0;
#P connect 2 0 3 0;
#P connect 6 0 7 0;
#P connect 4 0 5 0;
#P connect 18 0 17 0;
#P window clipboard copycount 27;

#92087
Jan 2, 2007 at 10:07pm

And if you use my apple sudden motion sensor object
(www.barrytherw.com), and set your MacBook on top of your wife’s uterus,
you can detect the contractions automagically…

best of luck.

b

Roby Steinmetzer wrote:
> On 2 janv. 07, at 22:31, Michael Hastings wrote:
>> I was just trying to make a display clock for a Contraction Timer I’m
>> trying to build for my wife (she’s 9 months pregnant). The ability to
>> display a time such as 09:00:37 was my only desire
>
> If you are on a mac, download my rs.numbox (as hans already suggested),
> there’s a readymade time display in the help file.
> http://www.arts.lu/roby/
> If you are on Windows, too bad, your baby will be born before I will
> have a windows version ready.
> But what is a windows port of my objects compared to a new born baby.
> Good luck!
>
> Roby
>


barry threw
composition : sound : programming
http://www.barrythrew.com
bthrew(at)gmail(dot)com
857-544-3967

(if you would see the stars clearly,
look hard at the surrounding darkness)
-Ooka Makoto

#92088
Jan 2, 2007 at 10:09pm

Quote: Dj_ICN wrote on Tue, 02 January 2007 22:31
—————————————————-
> Now I feel bad for stirring up this hornets nest. I was just trying to make a display clock for a Contraction Timer I’m trying to build for my wife (she’s 9 months pregnant). The ability to display a time such as 09:00:37 was my only desire, and now I feel that the work to obtain such a minor victory in this situation isn’t worth my time. I am very impressed at the level of debate this has started, and I thank everyone for sharing their insight opinion, frustration in this thread.
—————————————————-

Oh, don’t feel bad. Sometimes it is wise to share a frustration with the world ;)

Good wishes to both of you,
Mattijs

Btw, is this what you’re looking for?

#N vpatcher 136 538 293 778;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 14 157 51 9109513 sprintf :%i;
#P window linecount 0;
#P newex 31 85 27 9109513 + 1;
#P newex 14 113 42 9109513 gate 2 1;
#P newex 14 42 27 9109513 t i i;
#P newex 46 136 56 9109513 sprintf :0%i;
#P newex 31 64 27 9109513 < 10;
#N comlet (symbol) padded number;
#P outlet 14 181 15 0;
#N comlet (int) number to pad;
#P inlet 14 24 15 0;
#P connect 0 0 4 0;
#P connect 6 0 5 0;
#P connect 5 0 7 0;
#P connect 7 0 1 0;
#P connect 3 0 1 0;
#P connect 4 1 2 0;
#P connect 2 0 6 0;
#P connect 4 0 5 1;
#P connect 5 1 3 0;
#P pop;
#P newobj 234 177 31 9109513 p pad;
#N vpatcher 136 538 293 778;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 14 157 51 9109513 sprintf :%i;
#P window linecount 0;
#P newex 31 85 27 9109513 + 1;
#P newex 14 113 42 9109513 gate 2 1;
#P newex 14 42 27 9109513 t i i;
#P newex 46 136 56 9109513 sprintf :0%i;
#P newex 31 64 27 9109513 < 10;
#N comlet (symbol) padded number;
#P outlet 14 181 15 0;
#N comlet (int) number to pad;
#P inlet 14 24 15 0;
#P connect 0 0 4 0;
#P connect 6 0 5 0;
#P connect 5 0 7 0;
#P connect 3 0 1 0;
#P connect 7 0 1 0;
#P connect 4 1 2 0;
#P connect 2 0 6 0;
#P connect 4 0 5 1;
#P connect 5 1 3 0;
#P pop;
#P newobj 196 177 31 9109513 p pad;
#N vpatcher 136 538 293 778;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 14 157 51 9109513 sprintf :%i;
#P window linecount 0;
#P newex 31 85 27 9109513 + 1;
#P newex 14 113 42 9109513 gate 2 1;
#P newex 14 42 27 9109513 t i i;
#P newex 46 136 56 9109513 sprintf :0%i;
#P newex 31 64 27 9109513 < 10;
#N comlet (symbol) padded number;
#P outlet 14 181 15 0;
#N comlet (int) number to pad;
#P inlet 14 24 15 0;
#P connect 0 0 4 0;
#P connect 6 0 5 0;
#P connect 5 0 7 0;
#P connect 3 0 1 0;
#P connect 7 0 1 0;
#P connect 4 1 2 0;
#P connect 2 0 6 0;
#P connect 4 0 5 1;
#P connect 5 1 3 0;
#P pop;
#P newobj 158 177 31 9109513 p pad;
#P window setfont “Sans Serif” 36.;
#P message 120 249 323 9109540 0:00:01:623;
#P window setfont “Sans Serif” 9.;
#P newex 199 200 27 9109513 t b s;
#P newex 167 200 27 9109513 t b s;
#P newex 135 200 27 9109513 t b s;
#P newex 120 226 106 9109513 sprintf set %s%s%s%s;
#P newex 158 155 32 9109513 % 24.;
#P newex 196 133 32 9109513 % 60.;
#P newex 234 108 42 9109513 % 1000.;
#P newex 120 155 27 9109513 / 24;
#P newex 158 133 27 9109513 / 60;
#P newex 119 108 34 9109513 / 1000;
#P button 119 64 15 0;
#P comment 136 64 24 9109513 end;
#P button 119 45 15 0;
#P newex 119 87 29 9109513 timer;
#P comment 136 45 24 9109513 start;
#P hidden connect 2 0 1 0;
#P connect 1 0 5 0;
#P connect 6 0 7 0;
#P connect 7 0 11 0;
#P connect 14 0 11 0;
#P connect 13 0 11 0;
#P connect 12 0 11 0;
#P connect 11 0 15 0;
#P connect 16 0 12 0;
#P hidden connect 4 0 1 1;
#P connect 12 1 11 1;
#P fasten 5 0 6 0 124 129 163 129;
#P connect 6 0 10 0;
#P connect 10 0 16 0;
#P connect 17 0 13 0;
#P connect 13 1 11 2;
#P fasten 5 0 9 0 124 129 201 129;
#P connect 9 0 17 0;
#P connect 18 0 14 0;
#P connect 14 1 11 3;
#P connect 1 0 8 0;
#P connect 8 0 18 0;

#92089
Jan 3, 2007 at 1:52am

A 9 month render, that should be interesting… good luck with it all!

—–Original Message—–
From: maxmsp-bounces@cycling74.com
[mailto:maxmsp-bounces@cycling74.com]On Behalf Of Michael Hastings
Sent: Wednesday, January 03, 2007 5:32 AM
Subject: [maxmsp] Re: Re: Re: “00″?

Now I feel bad for stirring up this hornets nest. I was just trying to make a display clock for a Contraction Timer I’m trying to build for my wife (she’s 9 months pregnant). The ability to display a time such as 09:00:37 was my only desire, and now I feel that the work to obtain such a minor victory in this situation isn’t worth my time. I am very impressed at the level of debate this has started, and I thank everyone for sharing their insight opinion, frustration in this thread.

#92090
Jan 3, 2007 at 1:52am

Quote: Dj_ICN wrote on Tue, 02 January 2007 13:31
—————————————————-
> Now I feel bad for stirring up this hornets nest. I was just trying to make a display clock for a Contraction Timer I’m trying to build for my wife (she’s 9 months pregnant).

I think David Zicarelli has already built a patch for this purpose. Maybe he’ll share it on the list. :-)

Best to you and your wife (and your child),

mz

#92091
Jan 3, 2007 at 2:31am

On Jan 2, 2007, at 5:52 PM, mzed wrote:

> I think David Zicarelli has already built a patch for this purpose.
> Maybe he’ll share it on the list. :-)

Um, IIRC, that was actually a different kind of egg timer–i.e. for
cooking chicken eggs, not hatching human eggs :)

For those of you still struggling with using a variety of sprintf
objects, I thought I’d point out the ever useful symout arg which
bypasses atom parsing of sprintf’s output, and keeping it as a
symbol, rather than considering it a parsed atom list. Patch at bottom.

People can talk all day about what’s consistent or correct behavior,
but keep in mind that backward compatibility is often more useful
than conceptual clarity, and Max has a relatively long history that
we can’t just ignore (without breaking many useful patches). On the
subject of symbols, conceptual clarity, programming languages, real
world software development, and communication within a disparate
community, an article I like is this one by Larry Wall, principle
author of the wonderfully useful, oft maligned programming language,
PERL.

http://www.oreilly.com/catalog/opensources/book/larry.html

-Joshua

#P button 313 77 15 0;
#P window setfont “Sans Serif” 9.;
#P number 445 97 35 9 0 59 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 313 97 35 9 0 12 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 338 176 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 313 239 187 196617 12 : 32;
#P newex 313 200 62 196617 prepend set;
#P newex 338 150 34 196617 zl len;
#P newex 313 122 142 196617 sprintf %02d : %02d;
#B color 5;
#P button 47 78 15 0;
#P number 179 98 35 9 0 59 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 47 98 35 9 0 12 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 72 177 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 47 240 187 196617 “05 : 33″;
#P newex 47 201 62 196617 prepend set;
#P newex 72 151 34 196617 zl len;
#P newex 47 123 142 196617 sprintf symout %02d : %02d;
#B color 5;
#P connect 14 0 15 0;
#P connect 14 0 8 1;
#P connect 8 0 10 0;
#P connect 8 0 9 0;
#P connect 5 0 0 0;
#P connect 7 0 5 0;
#P connect 15 0 13 0;
#P connect 13 0 8 0;
#P connect 6 0 0 1;
#P connect 6 0 7 0;
#P connect 10 0 11 0;
#P connect 9 0 12 0;
#P connect 0 0 2 0;
#P connect 0 0 1 0;
#P connect 1 0 4 0;
#P connect 2 0 3 0;
#P window clipboard copycount 16;

#92092
Jan 3, 2007 at 3:25am

#92093
Jan 3, 2007 at 4:27am

#92094
Jan 3, 2007 at 4:58am

#92095
Jan 3, 2007 at 5:19am

Thank you all, I have taken some very helpful parts from the posted examples, and I think I’ve got the route that I will use to get the job done.
And, yes this is my first child, and no, I probably won’t get this done before we are done with contractions, no matter what!
I’ll post what I come up with in the end (if that ever happens).

Thanks Cycling ’74 Community, you have come through for me yet again!

#92096
Jan 3, 2007 at 5:32am

#92097
Jan 3, 2007 at 6:02am

here is a little “with 0-prefix converter” as
bpatcher.

bpatchers are the best way of making custom
“GUI objects” anyway, i am so sick of [lcd]!

#92098
Jan 3, 2007 at 6:26am

dont get too attached to bpatchers. I fell under their spell, and
ended up having my heart broken.

fucking overhead for those things. *cries*

On Jan 3, 2007, at 1:02 AM, Roman Thilenius wrote:
> are the best way of making custom
> “GUI objects” anyway, i am so sick of [lcd]!

v a d e //

http://www.vade.info
abstrakt.vade.info

#92099
Jan 3, 2007 at 6:31am

Ha ha, i see what you mean. Thanks for the sample.

—–Original Message—–
From: maxmsp-bounces@cycling74.com
[mailto:maxmsp-bounces@cycling74.com]On Behalf Of Roman Thilenius
Sent: Wednesday, January 03, 2007 2:02 PM
Subject: [maxmsp] Re: RE: Re: Re: Re: “00″?

here is a little “with 0-prefix converter” as
bpatcher.

bpatchers are the best way of making custom
“GUI objects” anyway, i am so sick of [lcd]!

http://vst-mac.info/

#92100
Jan 3, 2007 at 8:52am

On 3 Jan 2007, at 04:58, Roman Thilenius wrote:

> you could also use images for the numbers, like done
> in that one forum thread 14 days ago.

Oh, of course – I completely forgot – for that classic look, use Nixies:

http://www.loadbang.net/space/Software/Nixies

#92101
Jan 4, 2007 at 10:18am

Roman Thilenius wrote:
> it should not be more than 5 minutes work to do a
> 00:00:00 display using numberboxes.

Why easy if you can have it complicated…

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N vpatcher 389 132 670 345;
#P window setfont “Sans Serif” 9.;
#N vpatcher 10 59 610 459;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 50 123 50 196617 tosymbol;
#P window linecount 3;
#P message 158 72 51 196617 $1 remaining days and;
#P window linecount 1;
#P message 104 72 51 196617 remaining;
#P window linecount 3;
#P message 50 72 51 196617 1 remaining day and;
#P window linecount 1;
#P newex 50 50 119 196617 sel 1 0;
#P inlet 50 30 15 0;
#P outlet 50 145 15 0;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 6 0;
#P fasten 4 0 6 0 109 114 55 114;
#P fasten 5 0 6 0 163 117 55 117;
#P connect 6 0 0 0;
#P connect 2 1 4 0;
#P connect 2 2 5 0;
#P pop;
#P newobj 50 73 39 196617 p days;
#P window linecount 1;
#P newex 50 51 32 196617 / 24;
#P newex 97 73 32 196617 % 24;
#P newex 144 73 32 196617 % 60;
#P newex 97 50 33 196617 / 60;
#P newex 191 73 32 196617 % 60;
#P newex 144 50 29 196617 / 60;
#P newex 50 118 62 196617 prepend set;
#P window linecount 2;
#P newex 50 96 151 196617 sprintf %s %02d:%02d:%02d;
#B color 5;
#P outlet 50 140 15 0;
#P inlet 191 27 15 0;
#P fasten 6 0 9 0 102 70 88 70 88 47 55 47;
#P connect 9 0 10 0;
#P connect 10 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 1 0;
#P fasten 4 0 6 0 149 70 135 70 135 46 102 46;
#P connect 6 0 8 0;
#P connect 8 0 2 1;
#P fasten 0 0 4 0 196 46 149 46;
#P connect 4 0 7 0;
#P connect 7 0 2 2;
#P connect 0 0 5 0;
#P connect 5 0 2 3;
#P pop;
#P newobj 37 159 60 196617 p display;
#N vpatcher 331 76 931 476;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 50 161 62 196617 + 0.;
#P newex 50 100 50 196617 * 86400.;
#P newex 96 50 27 196617 t b f;
#P newex 102 100 46 196617 * 3600.;
#P newex 133 50 27 196617 t b f;
#P newex 170 50 27 196617 t b f;
#P newex 102 141 58 196617 + 0.;
#P newex 150 121 47 196617 + 0.;
#P newex 150 100 34 196617 * 60.;
#P inlet 50 30 15 0;
#P inlet 170 30 15 0;
#P inlet 96 30 15 0;
#P inlet 133 30 15 0;
#P outlet 50 183 15 0;
#P connect 11 0 12 0;
#P connect 8 0 12 0;
#P connect 9 0 12 0;
#P connect 4 0 12 0;
#P connect 12 0 13 0;
#P connect 13 0 0 0;
#P connect 2 0 11 0;
#P connect 11 1 10 0;
#P connect 8 0 10 0;
#P connect 9 0 10 0;
#P connect 10 0 7 0;
#P connect 7 0 13 1;
#P connect 1 0 9 0;
#P connect 9 1 5 0;
#P connect 8 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 7 1;
#P connect 3 0 8 0;
#P connect 8 1 6 1;
#P pop;
#P newobj 181 114 123 196617 p days to seconds;
#P comment 183 67 30 196617 days;
#P number 292 84 35 9 0 59 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 255 84 35 9 0 59 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 218 84 35 9 0 23 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 181 84 35 9 0 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Sans Serif” 96.;
#P window linecount 2;
#P message 37 180 809 196704 ;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 37 138 154 196617 !-;
#P newex 103 92 23 196617 t 0;
#N counter;
#X flags 0 0;
#P newobj 37 114 142 196617 counter;
#P toggle 37 66 15 0;
#P newex 37 92 64 196617 metro 1000;
#P comment 296 67 21 196617 sec;
#P comment 259 67 23 196617 min;
#P comment 219 67 30 196617 hours;
#P comment 56 67 80 196617 start countdown;
#P connect 5 0 4 0;
#P fasten 5 0 7 0 42 87 108 87;
#P connect 8 0 16 0;
#P connect 16 0 9 0;
#P connect 15 0 8 1;
#P connect 6 0 8 0;
#P connect 10 0 15 0;
#P connect 13 0 15 3;
#P connect 11 0 15 1;
#P connect 12 0 15 2;
#P connect 7 0 6 2;
#P connect 4 0 6 0;
#P window clipboard copycount 17;


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#92102
Jan 4, 2007 at 10:34am

Roman Thilenius wrote:
> here is a little “with 0-prefix converter” as
> bpatcher.
>
> bpatchers are the best way of making custom
> “GUI objects” anyway, i am so sick of [lcd]!

Can someone tell me why I can never ever open an .mxb attachment???

Sorry please either post as text, attach in text format (.mxt) or zip
it… anything else seems not to get through on the list…
(Though obviously others don’t have this problem)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#92103
Jan 4, 2007 at 10:57am

04/01/07, kl. 11:34 +0100 , skrev Stefan Tiedje:

>Roman Thilenius wrote:
>> here is a little “with 0-prefix converter” as
>> bpatcher.
>>
>> bpatchers are the best way of making custom
>> “GUI objects” anyway, i am so sick of [lcd]!
>
>Can someone tell me why I can never ever open an .mxb attachment???
>
>Sorry please either post as text, attach in text format (.mxt) or zip
>it… anything else seems not to get through on the list…
>(Though obviously others don’t have this problem)

Same problem here:
? error: 00_display.mxb: can’t open, bad header.

/J

#92104
Jan 4, 2007 at 11:11am

stefan,
like i said in other post, it seems to be with firefox and thunderbird.
works fine with mail, and safari.

silly question maybe, how do you do to have font size more than 36 for message box ?
thx.

#92105
Jan 4, 2007 at 6:01pm

Quote: jkc wrote on Wed, 03 January 2007 03:31
—————————————————-
On the
> subject of symbols, conceptual clarity, programming languages, real
> world software development, and communication within a disparate
> community, an article I like is this one by Larry Wall, principle
> author of the wonderfully useful, oft maligned programming language,
> PERL.
>
> http://www.oreilly.com/catalog/opensources/book/larry.html
>
> -Joshua

Thanks for the link, nice article, lot of fuzzy truths in it :) The current urge to simplify max’ symbolism probably arises from the desire to use max to solve increasingly realistic (and therefore complex) problems. Undoubtedly you guys will find a way not to let backwards compatibility limit this process too much.

Mattijs

#92106
Jan 4, 2007 at 6:09pm

Just saying that I have the same problem with attachments (bad header…)
since I updated to Firefox v2 (on windows though) …
_y.

#92107
Jan 5, 2007 at 1:13am

On 4-Jan-2007, at 5:18, Stefan Tiedje wrote:

> Why easy if you can have it complicated…

The nice thing, btw, about [sprintf %02d:%02d:%02d] is that what it
spits out *is* a symbol (one devoid of white space, to boot) and
hence free of any further reformatting by the Max parser.

It seems that about 99.44% of the complaints to the list about Max’
handling of text and numbers are caused by people not being aware of
the right tool for the right job. Yes, Max has a number of
idiosyncracies that take getting used to. But if you use the right
object in the right context, you *can* get what you want. Or, as Mr.
Jagger reminds us, what we need.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

#92108
Jan 5, 2007 at 1:20am

On 2-Jan-2007, at 7:52, Mattijs Kneppers wrote:

> I see more resemblance with the days when a typical car wasn’t
> likely to start without pushing it manually for 50 metres.

Those were the days when anyone who could afford a car was legally
permitted to drive it. The minimum driver education in contemporary
Germany is something like 16 hours in class and at least another 20
on the road with a qualified teacher. If people went through that
kind of training before they were allowed to use Max, we wouldn’t
have the mass of misguided expectations about the language.

And in that sense I agree with you.-

> I think we’re not talking about how max currently works

As long as the release date for Max 5 is not even the vague ‘real
soon’ but just a ‘no announced date’, I tend to talk about what we’ve
got for the foreseeable future. Which is how Max currently works. So
there’s one misunderstanding hopefully cleared up.

> (although while on that subject, I am still in favor of good
> documentation, how about your course materials, Peter?)

I may do written lecture notes some day if ever I have a full time
teaching gig. Adjunct contracts don’t pay for luxuries like that,
leastaways not at the UdKB.-(

Cheers,
P.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

#92109
Jan 5, 2007 at 1:20am

I believe your interpretation of Jagger fails to take into account that
you can’t *always* get what you want.

Peter Castine wrote:
> On 4-Jan-2007, at 5:18, Stefan Tiedje wrote:
>
>> Why easy if you can have it complicated…
>
> The nice thing, btw, about [sprintf %02d:%02d:%02d] is that what it
> spits out *is* a symbol (one devoid of white space, to boot) and hence
> free of any further reformatting by the Max parser.
>
> It seems that about 99.44% of the complaints to the list about Max’
> handling of text and numbers are caused by people not being aware of the
> right tool for the right job. Yes, Max has a number of idiosyncracies
> that take getting used to. But if you use the right object in the right
> context, you *can* get what you want. Or, as Mr. Jagger reminds us, what
> we need.
>
> ————– http://www.bek.no/~pcastine/Litter/ ————-
> Peter Castine +–> Litter Power & Litter Bundle for Jitter
> Universal Binaries on the way
> iCE: Sequencing, Recording &
> Interface Building for |home | chez nous|
> Max/MSP Extremely cool |bei uns | i nostri|
> http://www.dspaudio.com/ http://www.castine.de
>
>
>


barry threw
composition : sound : programming
http://www.barrythrew.com
bthrew(at)gmail(dot)com
857-544-3967

(if you would see the stars clearly,
look hard at the surrounding darkness)
-Ooka Makoto

#92110
Jan 5, 2007 at 5:11am

Quote: vade wrote on Tue, 02 January 2007 23:26
—————————————————-
> dont get too attached to bpatchers. I fell under their spell, and
> ended up having my heart broken.
>
> fucking overhead for those things. *cries*
—————————————————-

What do mean by overhead, CPU usage? What other techniques do you prefer?

#92111
Jan 5, 2007 at 8:41am

On 5 Jan 2007, at 05:12, Michael Hastings wrote:

> What do mean by overhead, CPU usage?

Bpatchers have some overhead while loading, but I’m not aware of any
significant performance penalty.

If you want to see some *real* overhead (specifically in RAM usage),
try loading a few dozen jsui’s…

– N.

#92112
Jan 5, 2007 at 10:44am

#92113
Jan 5, 2007 at 11:16am

nice trick. thx. :)

#92114
Jan 5, 2007 at 7:45pm

Quote: nick rothwell / cassiel wrote on Fri, 05 January 2007 01:41
—————————————————-
> Bpatchers have some overhead while loading, but I’m not aware of any
> significant performance penalty.
>
> If you want to see some *real* overhead (specifically in RAM usage),
> try loading a few dozen jsui’s…

—————————————————-
Thanks for the info, I haven’t had a whole lot of experience with large complex patches yet (just finnished my first class on max) so I’ll make sure to watch the exsesive jsui’s and bpatchers!

#92115
Jan 5, 2007 at 8:36pm

On Jan 5, 2007, at 11:45 AM, Michael Hastings wrote:

>> If you want to see some *real* overhead (specifically in RAM usage),
>> try loading a few dozen jsui’s…
>
> —————————————————-
> Thanks for the info, I haven’t had a whole lot of experience with
> large complex patches yet (just finnished my first class on max) so
> I’ll make sure to watch the exsesive jsui’s and bpatchers!

FWIW, as has been mentioned several times on the list, if you disable
full screen antialiasing, Sketch uses only 1/4 the RAM, though you’ll
get “jaggies”.

-Joshua

#92116
Jan 6, 2007 at 10:12am

On 5 Jan 2007, at 20:36, Joshua Kit Clayton wrote:

> FWIW, as has been mentioned several times on the list, if you
> disable full screen antialiasing, Sketch uses only 1/4 the RAM,
> though you’ll get “jaggies”.

I must have missed that, so thanks for repeating it.

I have noticed that it can take a *long* time to quit a patcher which
has lots of jsui/Sketch instances loaded; longer than the load time.
(Well, on a G4 anyway; it’s obviously less of an issue on my
MacCoreBook2Duo.)

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com

#92117
Jan 7, 2007 at 8:56pm

Quote: Stefan Tiedje wrote on Thu, 04 January 2007 03:34
—————————————————-
> Roman Thilenius wrote:
> > here is a little “with 0-prefix converter” as
> > bpatcher.
> >
> > bpatchers are the best way of making custom
> > “GUI objects” anyway, i am so sick of [lcd]!
>
> Can someone tell me why I can never ever open an .mxb attachment???

this is because i blocked french IP adresses from my .mxb files.

#92118
Jan 7, 2007 at 9:02pm

>> Bpatchers have some overhead while loading, but I’m not aware of any
> significant performance penalty.

the problem is, that bpatchers are theoreticaly offer you
infinite flexibilty when you create GUIs.

but try to nest a multislider 3 levels deep in bpatchers
and move it with the mouse on a 500 MHz G3 computer – not
to speak of initialisation order confusions.

#92119
Jan 7, 2007 at 10:20pm

Exactly.

On Jan 7, 2007, at 4:02 PM, Roman Thilenius wrote:

>
>
>>> Bpatchers have some overhead while loading, but I’m not aware of any
>> significant performance penalty.
>
>
> the problem is, that bpatchers are theoreticaly offer you
> infinite flexibilty when you create GUIs.
>
> but try to nest a multislider 3 levels deep in bpatchers
> and move it with the mouse on a 500 MHz G3 computer – not
> to speak of initialisation order confusions.

v a d e //

http://www.vade.info
abstrakt.vade.info

#92120

You must be logged in to reply to this topic.