#N canvas 491 42 582 370 12;
#X floatatom 59 120 6 0 0 0 - - - 0;
#X floatatom 59 284 7 0 0 0 - - - 0;
#X obj 75 197 loadbang;
#X obj 59 251 snapshot~;
#X obj 59 146 sig~;
#X obj 35 15 wrap~;
#X text 39 66 wrap~ gives the difference between the input and the largest integer not exceeding it (for positive numbers this is the fractional part)., f 69;
#X obj 59 170 wrap~;
#X text 320 331 updated for Pd version 0.48;
#X msg 345 249 \; pd compatibility 0.47;
#X text 315 122 COMPATIBILITY NOTE: in Pd versions before 0.48 \, wrap~ with an input of 0 output 1 (but now correctly outputs 0). To get the old behavior \, set "compatibility" to 0.47 or below in Pd's command line or by a message:, f 28;
#X text 107 120 <= shift-drag here to get non-integers to try, f 24;
#X text 42 334 see also:;
#X obj 117 335 wrap;
#X text 89 15 - remainder modulo 1 for signals;
#X obj 160 335 expr~;
#X msg 161 209 \; pd dsp \$1;
#X obj 161 182 tgl 19 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000 0 1;
#X text 184 182 On/off;
#X obj 75 221 metro 200;
#N canvas 817 164 442 195 reference 0;
#X obj 9 49 cnv 5 410 5 empty empty INLET: 8 18 0 13 #202020 #000000 0;
#X obj 9 94 cnv 2 410 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 9 131 cnv 2 410 2 empty empty ARGUMENTS: 8 12 0 13 #202020 #000000 0;
#X obj 8 166 cnv 5 410 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X text 125 140 NONE, f 36;
#X obj 35 15 wrap~;
#X text 83 15 - remainder modulo 1 for signals;
#X text 105 64 signal - input to 'modulo 1' function.;
#X text 105 104 signal - output of 'modulo 1' function.;
#X restore 378 16 pd reference;
#X text 475 16 <= click;
#X obj 10 49 cnv 1 550 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 10 319 cnv 1 550 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X connect 0 0 4 0;
#X connect 2 0 19 0;
#X connect 3 0 1 0;
#X connect 4 0 7 0;
#X connect 7 0 3 0;
#X connect 17 0 16 0;
#X connect 19 0 3 0;
