Subject: MAX Digest - 1 May 1999 to 2 May 1999 (#1999-133)
Date: Mon, 3 May 1999 00:00:09 -0400
From: Automatic digest processor 
Reply-To: MAX - Interactive Music/Multimedia Standard Environments
     
To: Recipients of MAX digests 

There are 2 messages totalling 126 lines in this issue.

Topics of the day:

  1. groove with crossfade?
  2. Squaring the wheel

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

Date:    Sun, 2 May 1999 11:58:40 +0200
From:    Manfred Karrer 
Subject: groove with crossfade?

hallo all outthere

i want to use the groove object for looping and would like to have
crossfade at the looppoints to avoid cracks.
has anyone written a patch or an external for this task?
i have just written a patch for fade out and fade in the sample but i
would prefer a crossfade (with different fade curves) and got certain
problems to do this because of the overlap of the fades.
has anyone suggestions

thank you

kao-li



the patch:
max v2;
#N vpatcher 147 55 476 466;
#P comment 49 373 100 196617 re:signal with fades;
#P user meter~ 154 294 234 307 100;
#P message 234 86 20 196617 10;
#P newex 248 152 38 196617 / 100.;
#P comment 250 105 50 196617 fadetime in %;
#P newex 173 155 45 196617 loadbang;
#P comment 186 117 50 196617 endpoint;
#P newex 39 323 27 196617 *~;
#P newex 57 301 27 196617 *~;
#P newex 237 196 32 196617 _/ 1.;
#P newex 57 253 27 196617 -~;
#P newex 142 252 27 196617 *~;
#P newex 57 277 27 196617 *~;
#P message 173 175 17 196617 1.;
#P newex 173 200 31 196617 _- 0.;
#P newex 74 229 62 196617 clip~ 0. 1.;
#P newex 49 37 45 196617 loadbang;
#P user ezdac~ 5 346 49 379 0;
#P flonum 248 129 52 9 0 50 3 3;
#P newex 142 230 62 196617 clip~ 0. 1.;
#P message 49 61 14 196617 1;
#P flonum 187 129 52 9 0 0 0 3;
#P flonum 129 129 49 9 0 0 1 3;
#P message 103 96 41 196617 loop \$1;
#P toggle 103 77 15 0;
#P toggle 49 87 15 0;
#P newex 49 113 27 196617 sig~;
#P newex 49 151 79 196617 groove~ sample;
#P message 154 69 28 196617 read;
#P newex 154 89 75 196617 buffer~ sample;
#P comment 129 117 50 196617 startpoint;
#P comment 49 341 100 196617 li:signal without fades;
#P connect 28 0 17 1;
#P connect 28 0 12 2;
#P connect 28 0 22 1;
#P connect 26 0 18 0;
#P connect 24 0 14 1;
#P connect 29 0 13 0;
#P connect 23 0 24 1;
#P fasten 22 0 19 1 242 273 79 273;
#P fasten 22 0 20 1 242 249 164 249;
#P connect 21 0 19 0;
#P connect 20 0 23 1;
#P connect 19 0 23 0;
#P fasten 18 0 21 0 178 195 62 195;
#P connect 18 0 22 0;
#P connect 18 0 17 0;
#P connect 17 0 16 1;
#P connect 16 0 21 1;
#P connect 15 0 11 0;
#P fasten 15 0 29 0 54 56 239 56;
#P connect 13 0 28 0;
#P connect 12 0 20 0;
#P connect 11 0 6 0;
#P connect 10 0 4 2;
#P connect 11 0 7 0;
#P connect 9 0 4 1;
#P connect 8 0 4 0;
#P connect 7 0 8 0;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P fasten 4 0 14 0 54 176 10 176;
#P fasten 4 0 24 0 54 177 44 177;
#P connect 4 1 16 0;
#P connect 4 1 12 0;
#P connect 4 0 30 0;
#P connect 3 0 2 0;
#P pop;

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

Date:    Sun, 2 May 1999 03:37:23 -0700
From:    Charles Lyons 
Subject: Squaring the wheel

Stephen Kay  remarked with some erudition:

>I may not totally understand what you want to do, but this sounds way
>more complicated than it needs to be.
>
>You could store *all* of the patterns in a single coll, and use an address
>offset to change patterns.

Hmmm. You know, I'd originally considered and discarded that approach
because it would fix the length of each pattern, but it occurred to me
after reading your suggestion that I could just make the offset multiplier
a really high number, thereby "reserving" room to make individual patterns
longer if need be. Don't know why I didn't see that sooner - maybe I just
needed a good kick in the pants.

Off to check out your collX. Thanks for the help,

Charles.

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

End of MAX Digest - 1 May 1999 to 2 May 1999 (#1999-133)
********************************************************