File: env~-help.pd

package info (click to toggle)
puredata 0.43.2-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,860 kB
  • sloc: ansic: 88,872; tcl: 5,346; cpp: 3,010; makefile: 1,172; sh: 203
file content (31 lines) | stat: -rw-r--r-- 1,219 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#N canvas 134 127 625 411 12;
#X floatatom 11 332 0 0 0 0 - - -;
#X obj 74 14 env~;
#X text 120 16 - envelope follower;
#X obj 11 209 osc~ 400;
#X obj 11 236 *~;
#X floatatom 103 211 3 -99 300 0 - - -;
#X obj 103 235 dbtorms;
#X text 9 46 The env~ object takes a signal and outputs its RMS amplitude
in dB (with 1 normalized to 100 dB.) Output is bounded below by zero.
;
#X text 141 209 <- set peak-to-peak amplitude here in dB.;
#X text 57 333 <- the output is RMS amplitude which (for a sinusoid)
is about 3 dB below peak-to-peak amplitude.;
#X text 359 380 updated for Pd version 0.40.;
#X obj 11 269 env~ 16384 8192;
#X text 160 259 creation arguments:;
#X text 158 277 1 window size in samples (1024 default);
#X text 158 296 2 period in samples per analysis (window/2 default)
;
#X text 9 102 The analysis is "Hanning" (raised cosine) windowed.;
#X text 9 125 The optional creation arguments are the analysis window
size in samples \, and the period (the number of samples between analyses).
The latter should normally be a multiple of the DSP block size \, although
this isn't enforced.;
#X connect 3 0 4 0;
#X connect 4 0 11 0;
#X connect 5 0 6 0;
#X connect 6 0 4 1;
#X connect 11 0 0 0;
#X connect 11 0 0 0;