~ubuntu-branches/ubuntu/precise/puredata/precise

« back to all changes in this revision

Viewing changes to doc/5.reference/samphold~-help.pd

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier
  • Date: 2009-12-22 21:29:31 UTC
  • mfrom: (1.2.6 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091222212931-nhwkzapjwsmjao1l
Tags: 0.42.5-3
* debian/control:
  - add community site to homepage field
  - improve long description
  - remove Replaces and Conflicts fields
  - add Suggests on pd-csound, pd-pdp, pd-zexy, pd-aubio
* debian/rules: add per-arch configuration flags
* debian/patches/02_kfreebsd.diff:
  - also define pd_tilde_dllextent on FreeBSD
  - fix typo (really closing #414414 this time)
  - also add hurd glue
* debian/patches/04_hurd.diff:
  - add hurd glue and s_midi_dummy.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#N canvas 430 114 568 497 12;
 
2
#X obj 24 451 snapshot~;
 
3
#X floatatom 24 476 5 0 0 0 - - -;
 
4
#X obj 33 425 metro 100;
 
5
#X obj 19 7 samphold~;
 
6
#X text 96 6 - sample and hold unit;
 
7
#X obj 24 376 samphold~;
 
8
#X text 14 32 The samphold~ object samples its left input whenever
 
9
its right input decreases in value (as a phasor~ does each period \,
 
10
for example.) Both inputs are audio signals.;
 
11
#X obj 59 340 sig~;
 
12
#X obj 116 376 sig~;
 
13
#X floatatom 59 315 3 0 0 0 - - -;
 
14
#X floatatom 116 355 3 0 0 0 - - -;
 
15
#X msg 24 212 set 34;
 
16
#X msg 37 281 reset;
 
17
#X text 89 210 set output to a number;
 
18
#X text 97 315 sample signal;
 
19
#X text 159 353 control signal;
 
20
#X msg 32 244 reset 10;
 
21
#X text 111 242 reset previous value;
 
22
#X text 100 292 to force the next sample;
 
23
#X obj 33 403 loadbang;
 
24
#X text 320 472 updated for version 0.39;
 
25
#X text 111 256 for control inlet;
 
26
#X text 99 278 reset to default 1e+20;
 
27
#X text 14 82 The "set" message sets the output value (which continues
 
28
to be updated as normal afterward.) The "reset" message causes samphold~
 
29
to act as if the specified value were the most recent value of the
 
30
control input. Use this \, for example \, if you reset the incoming
 
31
phasor but don't want the jump reflected in the output. Plain "reset"
 
32
is equivalent to "reset infinity" which forces the next input to be
 
33
sampled.;
 
34
#X msg 122 422 \; pd dsp 1;
 
35
#X connect 0 0 1 0;
 
36
#X connect 2 0 0 0;
 
37
#X connect 5 0 0 0;
 
38
#X connect 7 0 5 0;
 
39
#X connect 8 0 5 1;
 
40
#X connect 9 0 7 0;
 
41
#X connect 10 0 8 0;
 
42
#X connect 11 0 5 0;
 
43
#X connect 12 0 5 0;
 
44
#X connect 16 0 5 0;
 
45
#X connect 19 0 2 0;
 
46
#X connect 19 0 24 0;