staccato synth

Mr. Banshee's icon

Trying to build a synth that can switch back and forth from
legato to staccato. i am new at making synths, so i am
not exactly sure what to call what i am looking for (or
what to look for on forum archives). i geuss the best
way i can describe it, is that i am looking to make a gate
to get my desired affect. Below is what i have to work
with. Any insight would be appreciated! Thanks for your
time!
-chuck

Max Patch
Copy patch and select New From Clipboard in Max.

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658

Roman Thilenius's icon

legato = infinite decay in the volume envelope

Chris Muir's icon

I have a couple of examples that may be of interest, StupidSynth and
NoiseBlip. Both can be found at http://www.xfade.com/max/examples

-C

--
Chris Muir | "There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue." - Brian Eno

Adam Murray's icon

Use an envelope (the function object) and change the duration of the envelope. Here's a simple example.

Max Patch
Copy patch and select New From Clipboard in Max.

Samuel Freeman's icon

could have attack and decay times separate
(added to the patch above):

Max Patch
Copy patch and select New From Clipboard in Max.

On 23/09/2007, Adam Murray wrote:
>
> Use an envelope (the function object) and change the duration of the envelope. Here's a simple example.
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 497 271 113 196617 rampsmooth~ 500 500;
> #P newex 488 32 48 196617 loadbang;
> #P comment 593 55 46 196617 legato;
> #P message 557 55 34 196617 1000;
> #P message 488 57 26 196617 100;
> #P newex 74 124 27 196617 t b i;
> #P newex 295 231 31 196617 mtof;
> #P user kslider 46 61 54 0 48 48 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;
> #P newex 386 305 27 196617 *~;
> #P newex 497 248 32 196617 line~;
> #P newex 506 108 93 196617 prepend setdomain;
> #P number 506 86 35 9 10 4000 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P user function 434 139 634 239 1 1 0 1;
> #X frgb 82 82 82;
> #X brgb 204 204 204;
> #X rgb2 85 85 85;
> #X rgb3 255 255 255;
> #X rgb4 0 0 0;
> #X rgb5 0 0 0;
> #X add 0. 0. 0;
> #X add 143.61705 1. 0;
> #X add 239.36174 0.666667 0;
> #X add 1000. 0. 0;
> #X domain 1000.;
> #X range 0. 1.;
> #X done;
> #P user meter~ 410 334 430 392 50 0 168 0 17 70 83 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
> #P user gain~ 386 334 24 36 158 10 1.071519 7.94321 10.;
> #P user ezdac~ 386 390 430 423 1;
> #P newex 295 257 40 196617 cycle~;
> #P comment 413 88 90 196617 Envelope Duration;
> #P comment 544 86 24 196617 ms;
> #P comment 440 58 46 196617 staccato;
> #P window linecount 2;
> #P comment 615 269 112 196617 prevents clicks when the envelope retriggers;
> #P connect 11 0 20 0;
> #P connect 20 0 12 1;
> #P hidden connect 6 0 5 0;
> #P hidden connect 6 0 7 0;
> #P hidden connect 6 0 5 1;
> #P connect 19 0 16 0;
> #P connect 9 0 10 0;
> #P connect 10 0 8 0;
> #P fasten 15 0 8 0 79 151 417 151 417 128 439 128;
> #P connect 4 0 12 0;
> #P connect 14 0 4 0;
> #P connect 13 0 15 0;
> #P connect 15 1 14 0;
> #P connect 16 0 9 0;
> #P connect 17 0 9 0;
> #P connect 8 1 11 0;
> #P connect 12 0 6 0;
> #P window clipboard copycount 21;
>
>
>