Subject: MAX Digest - 21 Jul 1999 to 22 Jul 1999 (#1999-219)
Date: Fri, 23 Jul 1999 00:00:01 -0400
From:
Automatic digest processor <LISTSERV@LISTS.MCGILL.CA>
Reply-To: chris@MUSIC.MCGILL.CA
To: Recipients of MAX digests <MAX@LISTS.MCGILL.CA>


There are 7 messages totalling 283 lines in this issue.

Topics of the day:

  1. Three smallest of 165 (2)
  2. MIDI/seq
  3. apology
  4. flushing a timeline
  5. lcd patch to make mouse controller
  6. variation

----------------------------------------------------------------------

Date:Thu, 22 Jul 1999 09:17:34 -0400
From:Jocelyn Robert <avatar@meduse.org>
Subject: Three smallest of 165

Hello all

I have series of 165 numbers. They are indexed (from 1 to 165) and their
values are between 0 and 20,000. I need to find the 3 smallest ones and be
able to say : ok, number #12, #67 and #101. The process has to be redone
every 2 seconds. Any idea how to identify these 3 ?

Jocelyn Robert

Avatar
541 Saint-Vallier Est #4
Quebec, Qc
CanadaG1K 3P9
tel (418) 522-8918
fax (418) 522-6412
avatar@meduse.org
http://www.meduse.org/avatar

------------------------------

Date:Thu, 22 Jul 1999 10:39:40 -0400
From:Jeffrey Burns <jeff@berlin.snafu.de>
Subject: MIDI/seq

After the recent question MIDI control, I noticed that neither seq nor
detonate allow a sequence to start from any desired point. So here's a
simple sequencer which does that:

max v2;
#N vpatcher 50 40 504 425;
#P newex 334 199 50 196617 delay 50;
#P button 194 102 15 0;
#P message 173 50 28 196617 stop;
#P newex 334 223 24 196617 1;
#P newex 334 169 50 196617 loadbang;
#P number 221 50 55 9 0 0 64 3;
#P newex 286 143 50 196617 * 16.;
#P button 301 102 15 0;
#P number 286 74 23 9 0 0 0 3;
#P newex 286 123 39 196617 / 0.;
#P flonum 315 50 35 9 0 4 3 3;
#P newex 11 249 90 196617 noteout 1;


#P newex 11 223 50 196617 unpack;
#N vpreset 1;
#X append 1 2 19 50 315 number float 1. \; 21 74 286 number int 1 \; 24 50
221 number int 0 \;;
#P preset 334 249 17 17;
#P newex 173 169 109 196617 counter;
#P newex 173 136 50 196617 metro 16;
#P message 130 74 33 196617 clear;
#P button 38 79 15 0;
#P newex 11 128 34 196617 >> 4;
#P newex 11 161 106 196617 pack 0 0 0;
#P newex 11 102 37 196617 timer;
#P button 11 50 15 0;
#N coll ;
#P newobj 11 199 50 196617 coll;
#P newex 59 128 58 196617 notein 1;
#P comment 0 30 46 196617 record:;
#P comment 315 30 38 196617 speed:;
#P comment 222 30 54 196617 play from:;
#P comment 277 51 24 196617 ms.;
#P comment 26 275 130 196617 Variable Start Sequencer: 1. Record some MIDI
music. 2. Drag on "play from" box for immediate start from anywhere in the
sequence. 3. Drag on "speed" box to change speed \, if desired.;
#P comment 266 339 100 196617 by Jeff Burns;
#P fasten 6 0 12 0 64 151 56 151 56 74 43 74;
#P connect 6 0 10 1;
#P connect 6 1 10 2;
#P connect 7 0 17 0;
#P fasten 8 0 13 0 16 69 135 69;
#P connect 8 0 9 0;
#P connect 9 0 11 0;
#P connect 10 0 7 0;
#P connect 11 0 10 0;
#P connect 12 0 9 1;
#P connect 14 0 15 0;
#P connect 19 0 20 1;
#P fasten 19 0 22 0 320 95 306 95;
#P fasten 22 0 20 0 306 120 291 120;
#P fasten 15 0 7 0 178 191 16 191;
#P connect 17 0 18 0;
#P connect 17 1 18 1;
#P fasten 23 0 14 1 291 164 243 164 243 134 218 134;
#P connect 21 0 20 0;
#P connect 20 0 23 0;
#P fasten 28 0 14 0 199 123 178 123;
#P fasten 13 0 7 0 135 184 16 184;
#P connect 27 0 14 0;
#P connect 29 0 26 0;
#P connect 25 0 29 0;
#P fasten 24 0 28 0 226 94 199 94;
#P connect 26 0 16 0;
#P connect 24 0 15 2;
#P pop;

http://www.snafu.de/~jeff

------------------------------

Date:Thu, 22 Jul 1999 10:26:15 -0700
From:David Zicarelli <zicarell@CYCLING74.COM>
Subject: apology

I wanted to apologize in advance for a small piece of C74 spam
you may be receiving sometime in the next few days or weeks if your
e-mail address is in the Opcode user database.

David Z.


------------------------------

Date:Thu, 22 Jul 1999 17:33:01 +0000
From:andy g <adg@PODCENTRE.DEMON.CO.UK>
Subject: flushing a timeline

hi all

thanks to those that responded to my midi file question.
it looks like timeline + marker tracks is the way to do it
can't afford nato yet (!)

when switching from one marker (seq) to another i can't seem to get the
previously playing one to stop. i'm using a pop-up menu to select the
markers and this sends to midiflush objects in the action patch. no
flushing seems to occur......


????????????????


andy

------------------------------

Date:Thu, 22 Jul 1999 10:37:06 -0700
From:Alex Stahl <alex@PIXAR.COM>
Subject: Re: lcd patch to make mouse controller

At 2:44 PM -0700 7/20/99, Richard Dudas wrote:

>It's interesting that you mention LCD at this moment, because one of the
>recurring themes of the MaxMSP nightschool this past week was the use of
>the LCD object as a cool user interface. My favorite LCD patch was Alex
>Stahl's totally tubular circular volume display. The patch behind it must
>have been sheer and utter spaghetti, although I didn't dare ask to see it!!!

Gee, thanks. Tubular spaghetti? Gosh, I should have called it macaroni.

In fact, I spent some long evenings detangling "radar", fearing that
someone would want to
see its al dente innards. It boils down to a bunch of expr's full of trig
functions, plus a few tricks for erasing the last cycle and so forth. Quite
a few people expressed interest in it, so I'll put together a help file and
maybe it can be included as part of the night school examples distribution.

Speaking of detangling, another thread in the class was the commonality
between hairstyling and waveform analysis. For a long time I have noticed
that both conditioners and plug-ins promise "volumizing treatments",
"instant style enhancement", and "controlled placement all around your
head". It was interesting to learn this is not a coincidence!

-Alex Stahl

------------------------------

Date:Thu, 22 Jul 1999 15:17:31 -0400
From:Don Malone <dmalone@ROOSEVELT.EDU>
Subject: variation

>for a project i need to finish with real soon i planned to implement some
>kind >of pattern-sequencer, pattern-variation-tool. since i am running out
>of time >and i remember a thread on that issue on the list a while ago i
>was just >wondering if somebody could point out some resources i could
>use.


>cheers
>volkmar

check out TV (theme varier complete with pdf manual)
http://faculty.roosevelt.edu/malone/software

happy tunes
Don

downloads & events http://faculty.roosevelt.edu/malone
312)341-6477


it takes all of us

------------------------------

Date:Thu, 22 Jul 1999 23:01:27 +0200
From:Roby Steinmetzer <roby@ARTS.LU>
Subject: Re: Three smallest of 165

>
>I have series of 165 numbers. They are indexed (from 1 to 165) and their
>values are between 0 and 20,000. I need to find the 3 smallest ones and be
>able to say : ok, number #12, #67 and #101. The process has to be redone
>every 2 seconds. Any idea how to identify these 3 ?
>

Here is a small patch to give you some ideas:

max v2;
#N vpatcher 25 55 623 579;
#P newex 111 167 28 196617 t b b;
#P newex 111 205 42 196617 int;
#P newex 328 369 31 196617 pack;
#N coll ;
#P newobj 111 347 40 196617 coll;
#P newex 328 419 30 196617 print;
#P newex 328 240 40 196617 Uzi 3;
#P newex 366 274 70 196617 pack 0 20000;
#P button 111 89 31 0;
#P newex 111 259 28 196617 pack;
#P newex 129 232 74 196617 random 20000;
#P newex 111 140 43 196617 Uzi 165;
#P message 328 275 24 196617 min;
#N coll ;
#P newobj 328 305 52 196617 coll;
#P comment 44 375 199 196617 you may use this coll to verify the results;
#P comment 106 59 205 196617 Uzi gives 165 random numbers from
0-20000 which are stored in the coll;
#P comment 383 206 162 196617 with the <min> message search for the
minimum value. When it's found it is replaced by the value 20000.
Repeat this 2 times;
#P comment 376 402 132 196617 the 3 minimum values followed by their
positions in the coll;
#P connect 9 0 6 0;
#P connect 6 0 16 0;
#P connect 16 0 15 0;
#P connect 15 0 8 0;
#P connect 8 0 13 0;
#P connect 16 1 7 0;
#P connect 7 0 8 1;
#P connect 6 2 15 1;
#P connect 6 1 11 0;
#P connect 11 0 5 0;
#P connect 10 0 4 0;


#P connect 5 0 4 0;
#P connect 8 0 4 0;
#P connect 4 0 14 0;
#P connect 14 0 12 0;
#P connect 4 1 14 1;
#P fasten 4 1 10 0 354 327 441 327 441 268 371 268;
#P pop;


For all those of you who are concerned about censorship
http://www.indexoncensorship.org/about.html


Roby Steinmetzer
Luxembourg, Europe

------------------------------

End of MAX Digest - 21 Jul 1999 to 22 Jul 1999 (#1999-219)
**********************************************************