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

« back to all changes in this revision

Viewing changes to doc/7.stuff/tools/latency.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 37 0 825 630 12;
 
2
#X obj 132 166 metro 500;
 
3
#X msg 91 217 0.5;
 
4
#X obj 130 192 del 3;
 
5
#X msg 130 217 0;
 
6
#X obj 34 323 dac~;
 
7
#X obj 286 216 adc~;
 
8
#X obj 291 310 timer;
 
9
#X obj 93 333 env~ 65536;
 
10
#X floatatom 93 360 4 0 0 0 - - -;
 
11
#X floatatom 339 170 4 0 0 0 - - -;
 
12
#X obj 339 193 + 100;
 
13
#X obj 339 218 dbtorms;
 
14
#X obj 181 333 env~ 65536;
 
15
#X floatatom 181 362 4 0 0 0 - - -;
 
16
#X floatatom 291 347 4 0 0 0 - - -;
 
17
#X obj 312 245 *~ 1;
 
18
#X obj 348 278 threshold~ 0.1 5 0.05 5;
 
19
#X obj 634 160 bonk~;
 
20
#X obj 634 188 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
 
21
-1;
 
22
#X obj 508 188 osc~ 440;
 
23
#X obj 530 214 *~ 0;
 
24
#X obj 582 189 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
 
25
1;
 
26
#X obj 571 211 * 0.1;
 
27
#X obj 79 25 vdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1
 
28
0;
 
29
#X msg 17 138 \; pd dsp 1;
 
30
#X obj 634 132 *~;
 
31
#X obj 16 113 sel 0;
 
32
#X text 100 20 off;
 
33
#X obj 132 142 == 1;
 
34
#X obj 80 78 t f;
 
35
#X text 102 36 measure latency;
 
36
#X text 100 53 test continuity;
 
37
#X obj 582 97 == 2;
 
38
#X text 90 379 level out;
 
39
#X text 182 380 level in;
 
40
#X obj 530 244 dac~;
 
41
#X text 292 368 latency in;
 
42
#X text 293 384 msec;
 
43
#X text 656 188 this flashes when;
 
44
#X text 656 207 a discontinuity is;
 
45
#X text 657 226 detected;
 
46
#X obj 642 105 adc~;
 
47
#X text 328 131 you can;
 
48
#X text 324 147 adjust gain here;
 
49
#X text 538 66 --- continuity check ---;
 
50
#X text 169 105 --- latency measurement ---;
 
51
#X text 67 420 To use this patch \, connect your audio output back
 
52
to the audio input (channel 1 should suffice.) The latency measurement
 
53
assumes the feedback gain is at least about -14 dB - you can increase
 
54
the input sensitivity if need be.;
 
55
#X text 70 491 If you select "measure latency" a series of pulses are
 
56
timed using the "threshold~" object - note that it has an uncertainty
 
57
of 1.45 msec (at 44K1) \, so you might see the number jitter even if
 
58
the latency is constant.;
 
59
#X text 70 564 Select "test continuity' to see if there are interruptions
 
60
in the sound \, either at the input or output stage. If there are \,
 
61
the button will flash.;
 
62
#X obj 94 243 vline~;
 
63
#X obj 133 279 threshold~ 0.1 5 0.05 5;
 
64
#X connect 0 0 1 0;
 
65
#X connect 0 0 2 0;
 
66
#X connect 1 0 49 0;
 
67
#X connect 2 0 3 0;
 
68
#X connect 3 0 49 0;
 
69
#X connect 5 0 15 0;
 
70
#X connect 6 0 14 0;
 
71
#X connect 7 0 8 0;
 
72
#X connect 9 0 10 0;
 
73
#X connect 10 0 11 0;
 
74
#X connect 11 0 15 1;
 
75
#X connect 12 0 13 0;
 
76
#X connect 15 0 12 0;
 
77
#X connect 15 0 16 0;
 
78
#X connect 16 0 6 1;
 
79
#X connect 17 0 18 0;
 
80
#X connect 19 0 20 0;
 
81
#X connect 20 0 35 0;
 
82
#X connect 20 0 35 1;
 
83
#X connect 21 0 22 0;
 
84
#X connect 22 0 20 1;
 
85
#X connect 23 0 29 0;
 
86
#X connect 25 0 17 0;
 
87
#X connect 26 1 24 0;
 
88
#X connect 28 0 0 0;
 
89
#X connect 29 0 26 0;
 
90
#X connect 29 0 28 0;
 
91
#X connect 29 0 32 0;
 
92
#X connect 32 0 21 0;
 
93
#X connect 32 0 25 1;
 
94
#X connect 41 0 25 0;
 
95
#X connect 49 0 7 0;
 
96
#X connect 49 0 4 0;
 
97
#X connect 49 0 4 1;
 
98
#X connect 49 0 50 0;
 
99
#X connect 50 0 6 0;