~ubuntu-branches/ubuntu/raring/pd-smlib/raring

« back to all changes in this revision

Viewing changes to unittests/threshold-unittest.pd

  • Committer: Package Import Robot
  • Author(s): Hans-Christoph Steiner
  • Date: 2012-09-25 12:20:08 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120925122008-jhr5hyl3juh91eyv
Tags: 0.12.2-1
* updated to upstream version v0.12.2
* removed patches since they are in new upstream release
* bumped standards version to 3.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#N canvas 136 22 740 495 10;
 
2
#X obj 49 186 testtools/unit-test-frame;
 
3
#X obj 49 121 loadbang;
 
4
#X msg 370 152 1;
 
5
#X msg 529 152 0;
 
6
#X obj 370 120 smlib/threshold 0.9 0 0.1 0;
 
7
#X obj 370 58 line 0 1;
 
8
#X obj 370 88 & 1;
 
9
#X msg 370 31 0 \, 512 600;
 
10
#X msg 49 154 threshold 700;
 
11
#X text 3 18 threshold monitors its input float stream and outputs
 
12
bangs when the signal exceeds a specified "trigger" value \, and also
 
13
when the input value recedes below a "rest" value. You can specify
 
14
debounce in number of floats received \, for the threshold~ to wait
 
15
after the two event types before triggering again.;
 
16
#X connect 0 3 7 0;
 
17
#X connect 1 0 8 0;
 
18
#X connect 2 0 0 1;
 
19
#X connect 3 0 0 1;
 
20
#X connect 4 0 2 0;
 
21
#X connect 4 1 3 0;
 
22
#X connect 5 0 6 0;
 
23
#X connect 6 0 4 0;
 
24
#X connect 7 0 5 0;
 
25
#X connect 8 0 0 0;