max v2; #N vpatcher 158 140 813 450; #P origin 0 10; #P message 435 237 61 196617 vasp bufabs; #N vpatcher 40 55 218 175; #P newex 45 79 61 196617 vasp.update; #P newex 45 56 45 196617 vasp.= 0; #N comlet vasp to clear in; #P inlet 45 26 15 0; #P connect 0 0 1 0; #P connect 1 0 2 0; #P pop; #P newobj 435 255 78 196617 p clear_buffers; #P comment 146 190 107 196617 get the absolute values; #P button 128 188 15 0; #P newex 64 188 60 196617 prepend set; #P newex 64 252 61 196617 vasp.update; #P comment 133 136 99 196617 generate a sinewave; #P message 64 135 61 196617 vasp bufabs; #P newex 64 156 80 196617 vasp.osc 22050; #P comment 59 63 137 196617 get absolute values of a vasp; #P comment 59 40 89 196622 vasp.abs; #P hidden message 310 114 54 196617 set bufabs; #P hidden newex 310 94 45 196617 loadbang; #P user waveform~ 310 133 312 99 3 9; #W mode select; #W mouseoutput continuous; #W unit ms; #W grid 1000.; #W ticks 8.; #W labels 1; #W vlabels 1; #W vticks 1; #W vzoom 1.; #W voffset 0.; #W bpm 120. 4.; #W frgb 0 0 0; #W brgb 255 255 255; #W rgb2 132 132 132; #W rgb3 0 0 0; #W rgb4 0 0 0; #W rgb5 255 255 255; #W rgb6 100 100 100; #W rgb7 100 100 100; #P newex 521 255 101 196617 buffer~ bufabs 2000; #P newex 64 213 45 196617 vasp.abs; #P comment 59 79 402 196617 see also vasp.*.help for an example using vasp.abs to generate an envelope from a vasp; #P connect 9 0 8 0; #P connect 8 0 12 0; #P connect 12 0 1 0; #P fasten 13 0 1 0 133 208 69 208; #P connect 1 0 11 0; #P hidden connect 4 0 5 0; #P hidden connect 5 0 3 0; #P connect 16 0 15 0; #P pop;