-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpqpeak~-help.pd
25 lines (25 loc) · 1021 Bytes
/
pqpeak~-help.pd
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
#N canvas 78 78 558 489 12;
#X declare -path pulqui;
#X obj 89 85 osc~ 440;
#X obj 95 175 pqpeak~;
#X obj 96 234 vu 19 200 empty empty -1 -10 0 12 #404040 #000000 1 0;
#X floatatom 190 105 5 0 0 0 - - - 0;
#X msg 418 65 \; pd dsp 1 \;;
#X obj 418 34 loadbang;
#X obj 97 147 *~ 0.99;
#X text 193 178 this object has an internal buffer of 2048 samples and reports the max peak at the end of each buffer. all values of the buffer are positive. output is converted to dBFS to be used with [vu~], f 42;
#X obj 27 22 cnv 10 300 6 empty empty pqpeak~ 0 0 0 28 #dfdfdf #404040 0;
#N canvas 525 236 427 275 reference 0;
#X text 44 75 inlet:;
#X text 60 97 <signal>: input;
#X text 42 135 outlet:;
#X text 59 171 <float>: max value of the buffer in dBFS;
#X text 108 21 --- pqpeak~ reference ---;
#X restore 408 320 pd reference;
#X obj 347 415 declare -path pulqui;
#X text 345 380 use this in your patch to use the object, f 22;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 3 0 6 1;
#X connect 5 0 4 0;
#X connect 6 0 1 0;