This is what i use, nothing fancy:
#N canvas 155 277 424 284 10; #X obj 174 232 *~; #X obj 188 116 vline~; #X msg 188 94 1 $1 , 0 0 $1; #X obj 188 75 f; #X obj 188 54 metro 2000; #X obj 188 12 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 201 33 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 500 256; #X obj 187 180 tabread4~ envelope1; #N canvas 0 0 450 300 graph1 0; #X array envelope1 21 float 0; #X coords 0 1 20 -1 50 50 1; #X restore 113 91 graph; #X obj 174 201 osc~ 400; #X obj 174 257 dac~ 1; #X text 13 54 metro linked to readsf~ in original; #X obj 187 135 *~ 18; #X text 226 136 array size -3; #X text 226 148 sometimes clicks with full array size; #X connect 0 0 10 0; #X connect 1 0 12 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 6 0 4 1; #X connect 6 0 3 1; #X connect 7 0 0 1; #X connect 9 0 0 0; #X connect 12 0 7 0;