#N canvas 384 34 782 432 10;
#X obj 245 86 inlet;
#X obj 115 249 metro 100;
#X obj 115 69 inlet;
#N canvas 0 0 720 312 activity-monitor 0;
#X obj 108 74 inlet;
#X obj 108 103 b;
#X obj 108 160 delay 100;
#X obj 168 73 inlet;
#X obj 108 198 outlet;
#X text 198 132 if no activity for X msec \, then bang outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 2 1;
#X restore 161 192 pd activity-monitor;
#X msg 161 218 0;
#X msg 115 218 1;
#X obj 115 288 list append;
#X text 291 87 speed limit (ms);
#X obj 115 315 outlet;
#X obj 115 126 spigot 1;
#X obj 183 126 == 0;
#X obj 115 93 t a b a;
#X text 359 220 1) store data;
#X text 339 190 If data comes in:;
#X text 360 240 2) start activity monitor;
#X obj 420 55 loadbang;
#X obj 420 80 f \$1;
#X obj 420 108 select 0;
#X msg 420 130 100;
#X obj 245 160 f;
#X text 359 282 4) block system;
#X text 341 315 While blocked \, incoming data is sampled at metro
rate as long as there's activity.;
#X text 340 361 If there's no activity for a metro period \, stop the
metro and unblock the system to accept new data.;
#X text 359 261 3) start metro and output data;
#N canvas 172 83 586 377 LICENSE-GPL 0;
#X text 57 88 This program is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation \, either version 3 of
the License \, or (at your option) any later version.;
#X text 58 168 This program is distributed in the hope that it will
be useful \, but WITHOUT ANY WARRANTY \; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.;
#X text 57 261 You should have received a copy of the GNU General Public
License along with this program. If not \, see <http://www.gnu.org/licenses/>.
;
#X text 61 54 Copyright (C) 2009 \, Reality Jockey Ltd.;
#X text 60 325 See the file LICENSE.txt for the full license text.
;
#X restore 502 19 pd LICENSE-GPL;
#X connect 0 0 19 0;
#X connect 1 0 6 0;
#X connect 2 0 11 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 0 10 0;
#X connect 5 0 1 0;
#X connect 5 0 10 0;
#X connect 6 0 8 0;
#X connect 9 0 5 0;
#X connect 10 0 9 1;
#X connect 11 0 9 0;
#X connect 11 1 3 0;
#X connect 11 2 6 1;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 17 1 19 0;
#X connect 18 0 19 0;
#X connect 19 0 3 1;
#X connect 19 0 1 1;
