Change attack and decay of envelope in a synth?
Hi, how i can easy change "300" (attack) and 20 (decay) without editing also 0 and 0, $1???

use pack/pak/list instead of the messageboxes to store values?
[list 0. 300.]
[list 777. 20.]
[t l 0.]
can you please send me a photo or a patch? i'm new using this program
copy this into your existing patch. [list] is a bit easier to write than this $1 stuff. plus it allows more than 9 variables where messagebox is limited to 9.
#P window setfont "Sans Serif" 9.;
#P flonum 268 219 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 232 190 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 188 180 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 31 209 15 0;
#P window linecount 1;
#P newex 44 261 189 9109513 list 0 20 0 500 300 777 0;
#P newex 128 83 82 9109513 t l 0;
#P newex 128 53 82 9109513 list 777 20;
#P newex 30 53 82 9109513 list 0 300;
#P newex 69 132 50 9109513 line~;
#P connect 8 0 4 6;
#P connect 7 0 4 5;
#P connect 6 0 4 2;
#P connect 5 0 4 0;
#P connect 3 1 0 0;
#P connect 3 0 0 0;
#P connect 2 0 3 0;
#P connect 1 0 0 0;
#P window clipboard copycount 9;
ah ok i have done, can you explain me how it's work? Because i see 2 dsifferent piece in the patch, but i don't know how to link them to my patch
My problem is how i can chance attack anc decay live, so i need to link a pair of slyders, but don't know how...
For Attack
connect slider to message set 0 \, \$1 $1
connect that message to another message
connect that another message to line~
Then connect velocity value divided by 127. to that another message
For decay
connect slider to message set 0 $1
connect that message to another message
connect that another message to line~
Then connect select 0 to that another message.
As you seem to like screenshots, here is one :

Thanks so much, i connect slider to message set 0 \, \$1 $1 , but when i use it the message message set 0 \, \$1 $1 changes into an only number, is that correct?
do you know what messasge is ?
the grey stripe with letters, numbers etc
Connect the sliders you want to use instead of int boxes on the screenshot.
int box is that white thing showing 300 and 20.
If you manage that, then think about range of the sliders.
Ok i understend, now it's working, but can you explain me these funcions in a symple way?
I am sorry, but you have to use your brain a bit.
Try to read help file and reference file for objects you use.
I am willing to spend some time helping people out,
but this is not my full time job.
check backslash in a message
set message
and so on
Ok, i appreciate your help, thanks so much.